sakura-vader.css
Raw
1/* $color-text: #dedce5; */
2/* Sakura.css v1.5.0
3 * ================
4 * Minimal css theme.
5 * Project: https://github.com/oxalorg/sakura/
6 */
7/* Body */
8html {
9 font-size: 62.5%;
10 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
11}
12
13body {
14 font-size: 1.8rem;
15 line-height: 1.618;
16 max-width: 38em;
17 margin: auto;
18 color: #d9d8dc;
19 background-color: #120c0e;
20 padding: 13px;
21}
22
23@media (max-width: 684px) {
24 body {
25 font-size: 1.53rem;
26 }
27}
28@media (max-width: 382px) {
29 body {
30 font-size: 1.35rem;
31 }
32}
33h1, h2, h3, h4, h5, h6 {
34 line-height: 1.1;
35 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
36 font-weight: 700;
37 margin-top: 3rem;
38 margin-bottom: 1.5rem;
39 overflow-wrap: break-word;
40 word-wrap: break-word;
41 -ms-word-break: break-all;
42 word-break: break-word;
43}
44
45h1 {
46 font-size: 2.35em;
47}
48
49h2 {
50 font-size: 2em;
51}
52
53h3 {
54 font-size: 1.75em;
55}
56
57h4 {
58 font-size: 1.5em;
59}
60
61h5 {
62 font-size: 1.25em;
63}
64
65h6 {
66 font-size: 1em;
67}
68
69p {
70 margin-top: 0px;
71 margin-bottom: 2.5rem;
72}
73
74small, sub, sup {
75 font-size: 75%;
76}
77
78hr {
79 border-color: #eb99a1;
80}
81
82a {
83 text-decoration: none;
84 color: #eb99a1;
85}
86a:visited {
87 color: #e26f7a;
88}
89a:hover {
90 color: #DA4453;
91 border-bottom: 2px solid #d9d8dc;
92}
93
94ul {
95 padding-left: 1.4em;
96 margin-top: 0px;
97 margin-bottom: 2.5rem;
98}
99
100li {
101 margin-bottom: 0.4em;
102}
103
104blockquote {
105 margin-left: 0px;
106 margin-right: 0px;
107 padding-left: 1em;
108 padding-top: 0.8em;
109 padding-bottom: 0.8em;
110 padding-right: 0.8em;
111 border-left: 5px solid #eb99a1;
112 margin-bottom: 2.5rem;
113 background-color: #40363a;
114}
115
116blockquote p {
117 margin-bottom: 0;
118}
119
120img, video {
121 height: auto;
122 max-width: 100%;
123 margin-top: 0px;
124 margin-bottom: 2.5rem;
125}
126
127/* Pre and Code */
128pre {
129 background-color: #40363a;
130 display: block;
131 padding: 1em;
132 overflow-x: auto;
133 margin-top: 0px;
134 margin-bottom: 2.5rem;
135 font-size: 0.9em;
136}
137
138code, kbd, samp {
139 font-size: 0.9em;
140 padding: 0 0.5em;
141 background-color: #40363a;
142 white-space: pre-wrap;
143}
144
145pre > code {
146 padding: 0;
147 background-color: transparent;
148 white-space: pre;
149 font-size: 1em;
150}
151
152/* Tables */
153table {
154 text-align: justify;
155 width: 100%;
156 border-collapse: collapse;
157 margin-bottom: 2rem;
158}
159
160td, th {
161 padding: 0.5em;
162 border-bottom: 1px solid #40363a;
163}
164
165/* Buttons, forms and input */
166input, textarea {
167 border: 1px solid #d9d8dc;
168}
169input:focus, textarea:focus {
170 border: 1px solid #eb99a1;
171}
172
173textarea {
174 width: 100%;
175}
176
177.button, button, input[type=submit], input[type=reset], input[type=button], input[type=file]::file-selector-button {
178 display: inline-block;
179 padding: 5px 10px;
180 text-align: center;
181 text-decoration: none;
182 white-space: nowrap;
183 background-color: #eb99a1;
184 color: #120c0e;
185 border-radius: 1px;
186 border: 1px solid #eb99a1;
187 cursor: pointer;
188 box-sizing: border-box;
189}
190.button[disabled], button[disabled], input[type=submit][disabled], input[type=reset][disabled], input[type=button][disabled], input[type=file]::file-selector-button[disabled] {
191 cursor: default;
192 opacity: 0.5;
193}
194.button:hover, button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, input[type=file]::file-selector-button:hover {
195 background-color: #DA4453;
196 color: #120c0e;
197 outline: 0;
198}
199.button:focus-visible, button:focus-visible, input[type=submit]:focus-visible, input[type=reset]:focus-visible, input[type=button]:focus-visible, input[type=file]::file-selector-button:focus-visible {
200 outline-style: solid;
201 outline-width: 2px;
202}
203
204textarea, select, input {
205 color: #d9d8dc;
206 padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
207 margin-bottom: 10px;
208 background-color: #40363a;
209 border: 1px solid #40363a;
210 border-radius: 4px;
211 box-shadow: none;
212 box-sizing: border-box;
213}
214textarea:focus, select:focus, input:focus {
215 border: 1px solid #eb99a1;
216 outline: 0;
217}
218
219input[type=checkbox]:focus {
220 outline: 1px dotted #eb99a1;
221}
222
223label, legend, fieldset {
224 display: block;
225 margin-bottom: 0.5rem;
226 font-weight: 600;
227}
228