aboutsummaryrefslogtreecommitdiff
path: root/theme/custom/custom.css
blob: 73f879be9e4315f1f00646da51240ef9ccd59ee2 (plain)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
html[data-theme="dark"] {
  --main-text-color: #d8dee9;
  --main-background-color: #2e3440;
  --side-background-color: #222;
  --border-color: #4c566a;
  --link-color: #88c0d0;
  --link-hover-color: #d8dee9;

}

html[data-theme="light"] {
  --main-text-color: #2e3440;
  --main-background-color: #fff;
  --side-background-color: #2e3440;
  --border-color: #eee;
  --link-color: #5e81ac;
  --link-hover-color: #5e81ac;
}

main article h1, main article h2 {
 color: #5e81ac;
}

main {
 font-size: 1.5em;
 line-height: 1.5em;
 /* Reduce the sidebar with to 20% */
 left: 20vw;
 width: 80vw;
}


body {
 color: var(--main-text-color);
 background-color: var(--main-background-color);
}
a {
 color: var(--link-color);
}
aside {
 background-color: var(--side-background-color);
}

aside,
aside a {
 color:#eceff4
}

@media screen and (min-width:768px) {
 aside {
    /* Reduce the sidebar with to 20% */
    width:20vw;
  }
}

a.btn,
.tag-cloud a,
section#isso-thread section.auth-section p.post-action input {
 background-color: #4c566a;
 color:#fff;
}
a.btn:hover,
.tag-cloud a:hover {
 background-color:#5e81ac;
 color:#fff;
}
a:hover {
 color: var(--link-hover-color);
 text-decoration:underline
}
aside a:hover {
 color:#d8dee9;
 text-decoration:none;
}
hr {
 background-color: var(--border-color);
}

div.related-posts {
 margin:15px 0;
 padding-bottom:20px;
 border-top:1px solid var(--border-color);
 border-bottom:1px solid var(--border-color);
}


main nav {
 border-bottom: 1px solid #d8dee9;
}
ul.social a.sc-medium {
 background-color:#00ab6b
}
ul.social a.sc-rss {
 background-color:#f26109
}
ul.social a.sc-github,
ul.social a.sc-github-alt {
 background-color:#111010
}
ul.social a.sc-envelope {
 background-color:#578ad6
}
main article table {
 width: 100%;
}
.theme-switch {
  color: unset;
  background-color: unset;
  border: 0px;
}
@media screen and (max-width: 768px) {
 .theme-switch {
  position: absolute;
  top: 25px;
  right: 25px;
 }
}
@media screen and (min-width: 768px) {
 .theme-switch {
  position: fixed;
  bottom: 10px;
 }
}
main footer {
 border-top: var(--border-color);
}
main footer p {
 margin:2px;
 text-align:center;
 padding:0 40px;
 color:#999;
 font-size:11px
}
div.admonition div,
div.admonition p,
div.admonition pre {
 margin-bottom:0
}
div.admonition {
 color:#242121;
 background-color:#ccc
}
div.admonition.attention {
 color:#856404;
 background-color:#fff3cd
}
div.admonition.caution {
 color:#856404;
 background-color:#fff3cd
}
div.admonition.danger {
 color:#721c24;
 background-color:#f8d7da
}
div.admonition.error {
 color:#721c24;
 background-color:#f8d7da
}
div.admonition.hint {
 color:#004085;
 background-color:#cce5ff
}
div.admonition.important {
 color:#155724;
 background-color:#d4edda
}
div.admonition.tip {
 color:#004085;
 background-color:#cce5ff
}
div.admonition.warning {
 color:#856404;
 background-color:#fff3cd
}
div.figure {
 font-size:90%;
 color:#6c757d
}
main article table th.field-name {
    width: 10em;
    text-align: right;
    border-top: 0px;
    word-wrap:break-word;
}
main article table td.field-body {
    border-top: 0px;
}
main article :not(pre)>code {
 font-size:.8em;
 white-space:nowrap;
 color:#c25;
 padding:1px 3px;
 background-color:#f7f7f9;
 border:1px solid #e1e1e8;
 border-radius:3px
}