-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
141 lines (114 loc) · 2.66 KB
/
custom.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
table {
width: 100%;
}
table thead th {
padding: .75rem;
text-align: left;
font-weight: 500;
line-height: 1.5;
width: auto;
}
table td {
padding: .75rem;
border: none;
}
table thead tr {
border: none;
border-bottom: 2px var(--table-border-color) solid;
}
table tbody tr {
border-bottom: 1px var(--table-border-line) solid;
}
table tbody tr:nth-child(2n) {
background: unset;
}
.content h1,
.content h2,
.content h3,
.content h4 {
font-weight: 600;
margin-top: 1.275em;
margin-bottom: .875em;
}
.ferra {
--bg: #2b292d;
--fg: #fecdb2;
--heading-fg: #fff;
--sidebar-bg: #383539;
--sidebar-fg: #fecdb2;
--sidebar-non-existant: #feceb454;
--sidebar-active: #ffa07a;
--scrollbar: var(--sidebar-fg);
--icons: #f6b6c9ba;
--icons-hover: #b7b9cc;
--links: #ffa07a;
--inline-code-color: #f6b6c9ba;
--theme-popup-bg: #383539;
--theme-popup-border: #5f5a60;
--theme-hover: rgba(0, 0, 0, .2);
--quote-bg: #222124;
--quote-border: #2b292d;
--table-border-color: #383539;
--table-header-bg: hsla(226, 23%, 31%, 0);
--table-alternate-bg: hsl(226, 23%, 14%);
--table-border-line: #383539;
--searchbar-border-color: #222124;
--searchbar-bg: #222124;
--searchbar-fg: #fecdb2;
--searchbar-shadow-color: #aaa;
--searchresults-header-fg: #fce2d4;
--searchresults-border-color: #feceb454;
--search-mark-bg: #f6b6c9ba;
}
.ferra .content .header {
color: #fce2d4;
}
/* highlight.js theme, :where() is used to avoid increasing specificity */
:where(.ferra) .hljs {
background: #222124;
color: #feceb4e1;
}
:where(.ferra) .hljs-comment,
:where(.ferra) .hljs-quote {
color: #6F5D63;
}
:where(.ferra) .hljs-link,
:where(.ferra) .hljs-meta,
:where(.ferra) .hljs-name,
:where(.ferra) .hljs-regexp,
:where(.ferra) .hljs-selector-class,
:where(.ferra) .hljs-selector-id,
:where(.ferra) .hljs-tag,
:where(.ferra) .hljs-template-variable,
:where(.ferra) .hljs-variable {
color: #fecdb2;
}
:where(.ferra) .hljs-built_in,
:where(.ferra) .hljs-deletion,
:where(.ferra) .hljs-literal,
:where(.ferra) .hljs-number,
:where(.ferra) .hljs-params,
:where(.ferra) .hljs-type {
color: #f6b6c9;
}
:where(.ferra) .hljs-attribute,
:where(.ferra) .hljs-section,
:where(.ferra) .hljs-title {
color: #ffa07a;
}
:where(.ferra) .hljs-addition,
:where(.ferra) .hljs-bullet,
:where(.ferra) .hljs-string,
:where(.ferra) .hljs-symbol {
color: #b1b695;
}
:where(.ferra) .hljs-keyword,
:where(.ferra) .hljs-selector-tag {
color: #d1d1e0;
}
:where(.ferra) .hljs-emphasis {
font-style: italic;
}
:where(.ferra) .hljs-strong {
font-weight: 700;
}