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}
27hr {
28 margin: 15px 0;
29 border: 1px solid $dark;
30}
31code {
32 background: $button-background;
33 border-radius: 3px;
34 padding: 0 4px;
35}
36code,
37pre {
38 font-size: 16px;
39 font-family: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
40 color: $dark;
41}
42input {
43 font-family: inherit;
44 text-align: center;
45 width: 100%;
46 height: 35px;
47 box-sizing: border-box;
48 box-shadow: 0 1px 1px rgba(12, 13, 14, 0.15), inset 0 1px 0 0 #fff;
49 transition: 0.15s ease-out;
50}
51input[type="text"] {
52 font-size: inherit;
53 color: $dark;
54 text-decoration: italic;
55 border: 1px solid #9fa6ad;
56 border-radius: 3px;
57}
58input[type="text"]:focus {
59}
60.wrapper {
61 max-width: 600px;
62 margin: 0 auto;
63 font-size: 18px;
64 line-height: 30px;
65 overflow-wrap: break-word;
66 word-wrap: break-word;
67 word-break: break-word;
68 -moz-hyphens: auto;
69 hyphens: auto;
70 text-align: left;
71}
72
73.content {
74 h2,
75 p,
76 li,
77 td {
78 a {
79 color: $dark;
80 text-decoration: none;
81 background-image: linear-gradient(
82 120deg,
83 $gradient-right 0%,
84 $gradient-left 100%
85 );
86 background-repeat: no-repeat;
87 background-size: 0 0;
88 background-position: 100% 21%;
89 transition: 0.15s ease-out;
90 &:hover {
91 background-size: 100% 100%;
92 color: $light;
93 &:after {
94 color: $gradient-right;
95 }
96 }
97 &::after {
98 position: relative;
99 content: "\FEFF°";
100 margin-left: 0.1em;
101 font-size: 90%;
102 top: -0.1em;
103 color: $light-highlight;
104 font-feature-settings: "caps";
105 font-variant-numeric: normal;
106 }
107 }
108 }
109 .anchor-tag {
110 font-size: 70%;
111 position: relative;
112 bottom: 2.6px;
113 background-size: 100% 0;
114 background-position: 0 150%;
115 &::after {
116 content: "";
117 }
118 }
119 .footnote-ref {
120 background-size: 100% 1.5px;
121 background-position: 0 90%;
122 &::after {
123 content: "";
124 }
125 &:hover {
126 background-size: 100% 100%;
127 color: #fff;
128 }
129 }
130 .footnote-backref {
131 background-size: 100% 1.5px;
132 background-position: 0 90%;
133 &::after {
134 content: "";
135 }
136 &:hover {
137 background-size: 100% 100%;
138 color: #fff;
139 }
140 }
141 .highlight {
142 code {
143 padding: 0px !important;
144 }
145 pre {
146 overflow: auto;
147 border-radius: 5px;
148 padding: 12px;
149 background: $button-background !important;
150 }
151 a {
152 background-image: none;
153 &::after {
154 content: "";
155 }
156 }
157 }
158}
159
160.button {
161 font-family: inherit;
162 font-style: normal !important;
163 text-decoration: none !important;
164 height: 25px;
165 box-shadow: 0 1px 1px rgba(12, 13, 14, 0.15), inset 0 1px 0 0 #fff;
166 display: inline-block;
167 color: $dark;
168 text-shadow: 0 1px 0 #fff;
169 background-color: #e4e6e8;
170 border: 1px solid #9fa6ad;
171 border-radius: 3px;
172 padding: 0px 4px 4px;
173}
174
175footer {
176 padding: 20px 0 20px 0;
177 text-align: center;
178 line-height: 30px;
179 margin-top: auto;
180 margin-bottom: 25px;
181 a {
182 color: $dark;
183 }
184 a:visited {
185 color: $dark;
186 }
187 .ring {
188 font-size: 20px;
189 }
190 .boring_stuff {
191 font-style: italic;
192 }
193}
194
195@media (max-width: 55em) {
196 html {
197 max-width: 650px;
198 }
199}