@eox/pages-theme-eox 0.4.11 → 0.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/pages-theme-eox",
3
- "version": "0.4.11",
3
+ "version": "0.4.13",
4
4
  "type": "module",
5
5
  "description": "Vitepress Theme with EOX branding",
6
6
  "main": "src/index.js",
@@ -26,7 +26,7 @@ const featuresExcerpts = features.map((f) => {
26
26
  <a
27
27
  v-for="(feature, index) in featuresExcerpts.filter((f) => f)"
28
28
  class="feature s12 m3"
29
- :href="feature.link"
29
+ :href="withBase(feature.link)"
30
30
  >
31
31
  <article class="no-padding">
32
32
  <img
@@ -38,7 +38,7 @@ const featuresExcerpts = features.map((f) => {
38
38
  <h5 class="small">{{ feature.title }}</h5>
39
39
  <p>{{ feature.description }}</p>
40
40
  <nav>
41
- <a class="button" :href="feature.link">
41
+ <a class="button" :href="withBase(feature.link)">
42
42
  <span>Read more</span>
43
43
  <i class="mdi mdi-arrow-right"></i>
44
44
  </a>
package/src/style.css CHANGED
@@ -16,18 +16,13 @@ body {
16
16
  display: none;
17
17
  }
18
18
 
19
- .VPContent.is-home {
20
- padding-top: 0;
21
- margin-top: 0;
22
- }
23
-
24
- .vp-doc a.button {
19
+ .VPContent a.button {
25
20
  text-decoration: none;
26
21
  }
27
22
 
28
- .vp-doc h1.large,
29
- .vp-doc h2.large,
30
- .vp-doc h3.large {
23
+ .VPContent h1.large,
24
+ .VPContent h2.large,
25
+ .VPContent h3.large {
31
26
  font-size: normal;
32
27
  font-weight: normal;
33
28
  line-height: normal;
@@ -39,6 +34,7 @@ body {
39
34
  }
40
35
 
41
36
  @media (min-width: 960px) {
37
+ .VPHome,
42
38
  .VPPage {
43
39
  width: 100%;
44
40
  padding: 48px 64px;
@@ -46,11 +42,13 @@ body {
46
42
  }
47
43
 
48
44
  @media (min-width: 640px) {
45
+ .VPHome,
49
46
  .VPPage {
50
47
  padding: 48px 48px;
51
48
  }
52
49
  }
53
50
 
51
+ .VPHome,
54
52
  .VPPage {
55
53
  margin: auto;
56
54
  width: 100%;