1html {
2 scroll-behavior: smooth;
3 padding: 0 15px;
4}
5body {
6 font-family: Heliotrope;
7 color: $dark;
8 background: $light;
9}
10details {
11 margin-left: 3.5%;
12}
13summary {
14 padding: 0 10px;
15 a {
16 color: $dark;
17 }
18 a:visited {
19 color: $dark;
20 }
21}
22summary:hover {
23 cursor: pointer;
24 background-color: #ddd;
25 border-radius: 7px;
26}
27.admonition {
28 margin: 15px -14px;
29 padding: 5px 10px;
30 border: 2px solid;
31 border-radius: 7px;
32 p {
33 margin: 0;
34 }
35
36 &.note {
37 border-color: #b3d1f3;
38 background-color: #e5f1ff;
39 }
40 &.tip {
41 border-color: #b3f3d1;
42 background-color: #e5fff1;
43 }
44 &.warn {
45 border-color: #f3d1b3;
46 background-color: #fff0ce;
47 }
48 &.err {
49 border-color: #f3b3b3;
50 background-color: #ffe5e5;
51 }
52}
53blockquote {
54 margin: 15px -19px;
55 padding: 0 15px;
56 border-left: 3px solid $dark;
57 border-radius: 7px;
58 color: $dark;
59 p {
60 margin: 0;
61 }
62}
63hr {
64 margin: 15px 0;
65 border: 1px solid $dark;
66}
67code {
68 background: $button-background;
69 border-radius: 3px;
70 padding: 0 4px;
71}
72pre {
73 margin: 15px -14px;
74}
75code,
76pre {
77 font-size: 16px;
78 font-family: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
79 color: $dark;
80}
81input {
82 font-family: inherit;
83 text-align: center;
84 width: 100%;
85 height: 35px;
86 box-sizing: border-box;
87 box-shadow: 0 1px 1px rgba(12, 13, 14, 0.15), inset 0 1px 0 0 #fff;
88 transition: 0.15s ease-out;
89}
90input[type="text"] {
91 font-size: inherit;
92 color: $dark;
93 text-decoration: italic;
94 border: 1px solid #9fa6ad;
95 border-radius: 3px;
96}
97input[type="text"]:focus {
98}
99.wrapper {
100 max-width: 600px;
101 margin: 0 auto;
102 font-size: 18px;
103 line-height: 30px;
104 overflow-wrap: break-word;
105 word-wrap: break-word;
106 word-break: break-word;
107 -moz-hyphens: auto;
108 hyphens: auto;
109 text-align: left;
110}
111
112.content {
113 h2,
114 p,
115 li,
116 td {
117 a {
118 color: $dark;
119 text-decoration: none;
120 background-image: linear-gradient(
121 120deg,
122 $gradient-right 0%,
123 $gradient-left 100%
124 );
125 background-repeat: no-repeat;
126 background-size: 0 0;
127 background-position: 100% 21%;
128 transition: 0.15s ease-out;
129 &:hover {
130 background-size: 100% 100%;
131 color: $light;
132 &:after {
133 color: $gradient-right;
134 }
135 }
136 &::after {
137 position: relative;
138 content: "\FEFF°";
139 margin-left: 0.1em;
140 font-size: 90%;
141 top: -0.1em;
142 color: $light-highlight;
143 font-feature-settings: "caps";
144 font-variant-numeric: normal;
145 }
146 }
147 }
148 .anchor-tag {
149 font-size: 70%;
150 position: relative;
151 bottom: 2.6px;
152 background-size: 100% 0;
153 background-position: 0 150%;
154 &::after {
155 content: "";
156 }
157 }
158 .footnote-ref {
159 background-size: 100% 1.5px;
160 background-position: 0 90%;
161 &::after {
162 content: "";
163 }
164 &:hover {
165 background-size: 100% 100%;
166 color: #fff;
167 }
168 }
169 .footnote-backref {
170 background-size: 100% 1.5px;
171 background-position: 0 90%;
172 &::after {
173 content: "";
174 }
175 &:hover {
176 background-size: 100% 100%;
177 color: #fff;
178 }
179 }
180 .highlight {
181 code {
182 padding: 0px !important;
183 }
184 pre {
185 overflow: auto;
186 border-radius: 5px;
187 padding: 12px;
188 background: $button-background !important;
189 }
190 a {
191 background-image: none;
192 &::after {
193 content: "";
194 }
195 }
196 }
197}
198
199.button {
200 font-family: inherit;
201 font-style: normal !important;
202 text-decoration: none !important;
203 height: 25px;
204 box-shadow: 0 1px 1px rgba(12, 13, 14, 0.15), inset 0 1px 0 0 #fff;
205 display: inline-block;
206 color: $dark;
207 text-shadow: 0 1px 0 #fff;
208 background-color: #e4e6e8;
209 border: 1px solid #9fa6ad;
210 border-radius: 3px;
211 padding: 0px 4px 4px;
212}
213
214footer {
215 padding: 20px 0 20px 0;
216 text-align: center;
217 line-height: 30px;
218 margin-top: auto;
219 margin-bottom: 25px;
220 a {
221 color: $dark;
222 }
223 a:visited {
224 color: $dark;
225 }
226 .ring {
227 font-size: 20px;
228 }
229 .boring_stuff {
230 font-style: italic;
231 }
232}
233
234@media (max-width: 55em) {
235 html {
236 max-width: 650px;
237 }
238}