@t8/docsgen 0.1.29 → 0.1.31

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.
@@ -43,10 +43,12 @@ main {
43
43
  --max-content-width: 32em;
44
44
 
45
45
  display: flex;
46
+ width: 100%;
46
47
  align-items: flex-start;
47
48
  justify-content: center;
48
49
  padding: 0;
49
50
  margin: 6vh 0;
51
+ box-sizing: border-box;
50
52
  }
51
53
  @media (max-width: 840px) {
52
54
  main {
@@ -68,22 +70,24 @@ h1 {
68
70
  }
69
71
  }
70
72
  h1 a {
73
+ display: inline-block;
71
74
  position: relative;
72
75
  }
73
76
  h1 a::before {
74
77
  content: "";
75
78
  background-color: color(from var(--link-color) srgb r g b / 0.3);
76
- transform: skew(-15deg, -3deg);
77
79
  border-radius: 0.4em;
78
80
  position: absolute;
79
- inset: 0.45em -0.25em 0.35em;
80
- transition: inset 0.3s;
81
+ inset: 0.25em -0.25em 0.15em;
82
+ transform: skew(-15deg, -3deg);
83
+ transition: inset 0.3s, transform 0.3s;
81
84
  }
82
85
  h1 a:hover {
83
86
  text-decoration: none;
84
87
  }
85
88
  h1 a:hover::before {
86
- inset: 0.35em -0.25em 0.25em;
89
+ inset: 0.15em -0.25em 0.05em;
90
+ transform: skew(-3deg, -3deg);
87
91
  }
88
92
  header {
89
93
  display: block;
@@ -124,6 +128,7 @@ header {
124
128
  }
125
129
 
126
130
  section {
131
+ width: 50%;
127
132
  max-width: var(--max-content-width);
128
133
  padding: 0 2.5em;
129
134
  box-sizing: border-box;
@@ -142,6 +147,7 @@ section.intro-title {
142
147
  }
143
148
  @media (max-width: 840px) {
144
149
  section {
150
+ width: auto;
145
151
  max-width: 100%;
146
152
  padding: var(--content-padding-y) var(--content-padding-x);
147
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
package/src/css/index.css CHANGED
@@ -43,10 +43,12 @@ main {
43
43
  --max-content-width: 32em;
44
44
 
45
45
  display: flex;
46
+ width: 100%;
46
47
  align-items: flex-start;
47
48
  justify-content: center;
48
49
  padding: 0;
49
50
  margin: 6vh 0;
51
+ box-sizing: border-box;
50
52
  }
51
53
  @media (max-width: 840px) {
52
54
  main {
@@ -68,22 +70,24 @@ h1 {
68
70
  }
69
71
  }
70
72
  h1 a {
73
+ display: inline-block;
71
74
  position: relative;
72
75
  }
73
76
  h1 a::before {
74
77
  content: "";
75
78
  background-color: color(from var(--link-color) srgb r g b / 0.3);
76
- transform: skew(-15deg, -3deg);
77
79
  border-radius: 0.4em;
78
80
  position: absolute;
79
- inset: 0.45em -0.25em 0.35em;
80
- transition: inset 0.3s;
81
+ inset: 0.25em -0.25em 0.15em;
82
+ transform: skew(-15deg, -3deg);
83
+ transition: inset 0.3s, transform 0.3s;
81
84
  }
82
85
  h1 a:hover {
83
86
  text-decoration: none;
84
87
  }
85
88
  h1 a:hover::before {
86
- inset: 0.35em -0.25em 0.25em;
89
+ inset: 0.15em -0.25em 0.05em;
90
+ transform: skew(-3deg, -3deg);
87
91
  }
88
92
  header {
89
93
  display: block;
@@ -124,6 +128,7 @@ header {
124
128
  }
125
129
 
126
130
  section {
131
+ width: 50%;
127
132
  max-width: var(--max-content-width);
128
133
  padding: 0 2.5em;
129
134
  box-sizing: border-box;
@@ -142,6 +147,7 @@ section.intro-title {
142
147
  }
143
148
  @media (max-width: 840px) {
144
149
  section {
150
+ width: auto;
145
151
  max-width: 100%;
146
152
  padding: var(--content-padding-y) var(--content-padding-x);
147
153
  }