-
Notifications
You must be signed in to change notification settings - Fork 0
/
sunya.css
115 lines (91 loc) · 2.3 KB
/
sunya.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/* Sunya extension, https://github.com/nevillepark/yellow-sunya */
/*
Water.css (https://watercss.kognise.dev/) is included here by default, but you
can easily swap in your favourite classless (or class-light) stylesheet.
Preview some in action:
- https://www.cssbed.com
- https://dohliam.github.io/dropin-minimal-css/
*/
@import url("water.css");
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url('sunya-fonts/OpenSans-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: url('sunya-fonts/OpenSans-Italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: url('sunya-fonts/OpenSans-Semibold.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
src: url('sunya-fonts/OpenSans-SemiboldItalic.woff2') format('woff2');
}
/* Variables */
:root {
--font-sans: 'Open Sans', 'Segoe UI', sans-serif;
--font-serif: Charter, 'Bitstream Charter', Georgia, Cambria, serif;
--font-mono: 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
--font: var(--font-sans);
--reg-weight: 400;
--bold-weight: 600;
--transition: 0.2s;
}
/* Fonts */
body {
font-family: var(--font);
font-weight: var(--reg-weight);
}
h1,h2,h3,h4,h5,h6,b,strong,th {
font-weight: var(--bold-weight);
}
code,pre,tt {
font-family: var(--font-mono);
font-size: 0.9em;
font-weight: 400;
}
/* Lists */
ul, ol {padding: 0 1em;}
/* Images */
figcaption {font-size: smaller;}
/* Navbar */
header nav ul {
list-style-type: none;
padding-left: 0px;
}
header nav ul li {
display: inline-block;
padding-right: 10px;
}
/* Footer */
footer {font-size: 0.9em;}
/* Extension classes */
/* Anchor */
.anchor-link {opacity: 0;}
:hover > .anchor-link {opacity: 0.9;}
/* Wiki */
.layout-wiki .entry header p {font-size: 0.9em;}
/* Previous/next */
.previousnext {margin-bottom: 15px;}
.previous + .next {float: right; display: inline-block;}
/* Breadcrumbs */
.breadcrumb {
background-color: var(--background);
border-radius: 1em;
display: inline-block;
font-size: smaller;
padding: 0.25em 0.5em;
margin-bottom: 1em;
}
/* Table of contents */
.toc {list-style-type: none; padding-left: 0;}