source: at-w96k/public/css/custom.css@ 54dab96

Last change on this file since 54dab96 was 54dab96, checked in by Mikhail Kirillov <w96k@…>, on Jul 27, 2022 at 10:50:37 PM

Fix rss authors

  • Property mode set to 100644
File size: 6.7 KB
Line 
1body {
2 padding: 0 1em 1em 1em;
3 background: #f0f0f0;
4}
5
6article,
7#footnotes {
8 max-width: calc(60ch + 4em);
9 margin: var(--universal-padding);
10 padding: 1em;
11 background: #fefefe;
12 box-shadow: 0 2px 2px rgba(0,0,0,.35);
13 position: relative;
14 border-radius: var(--universal-border-radius);
15 border: 1px solid #cfcfcf;
16}
17
18article p {
19 word-break: break-word;
20 hyphens: auto;
21 /* text-align: justify; */
22}
23
24.footdef {
25 margin-bottom: 0;
26}
27
28article h2 {
29 margin-top: 0;
30 padding: 0;
31}
32
33.navbar {
34 border: 0;
35 padding: 0 calc(var(--universal-padding) * 2.5);
36 position: relative;
37 top: 1em;
38 z-index: 999;
39}
40
41.navbar .button {
42 text-transform: none;
43 background: #fefefe;
44 box-shadow: 0 -3px 0 rgba(0,0,0,.15), 1px -1px 0px rgba(0,0,0,.15), -1px -1px 0px rgba(0,0,0,.15);
45 border-radius: 0.15em 0.15em 0 0;
46 text-decoration: underline;
47 color: var(--a-link-color);
48 padding: 4px 12px;
49 margin: 6px;
50}
51
52/* 16:9 */
53.video {
54 padding-top: 56.25%;
55 position: relative;
56 width: calc(100% - 1em);
57}
58
59iframe {
60 width: 100%;
61 min-height: 445px;
62 top: 0;
63 left: 0;
64 bottom: 0;
65 right: 0;
66}
67
68.cover {
69 margin: 0.5em 0;
70 border: 1px solid rgba(0,0,0,.3);
71 border-radius: 0.1em;
72}
73
74#youmu {
75 position: relative;
76 top: 1em;
77 margin-bottom: -0.5em;
78 max-width: 400px;
79 filter: drop-shadow(0 12px 4px rgba(0,0,0,.25));
80}
81
82#preamble {
83 max-width: calc(60ch + 6em);
84 margin: var(--universal-margin);
85}
86
87#postamble {
88 margin: var(--universal-margin);
89 max-width: calc(60ch + 7em);
90}
91
92#meta p {
93 text-align: right;
94}
95
96#copyright p {
97
98}
99
100@media screen and (max-width: 768px) {
101 #postamble, #meta {
102 text-align: center;
103 }
104}
105
106hr {
107 background: rgba(0,0,0,.05) !important;
108 height: 0.5rem !important;
109 margin: 1px !important;
110}
111
112@media screen and (max-width: 120ch) {
113 #table-of-contents {
114 display: none !important;
115 }
116}
117
118#table-of-contents {
119 display: block;
120 z-index: 1050;
121 font-size: 12pt;
122 position: fixed;
123 left: 75ch;
124 top: calc(var(--universal-margin) + 3.9rem);
125 background: #fefefe;
126 line-height: 12pt;
127 box-shadow: 0 2px 2px rgba(0,0,0,.35);
128 max-height: calc(100% - 2 * (var(--universal-margin) + 0.5em) - 9em);
129 overflow: auto;
130 max-width: 30ch;
131 border-radius: var(--universal-border-radius);
132 border: 1px solid #cfcfcf;
133}
134
135#table-of-contents * {
136 padding: none;
137}
138
139#table-of-contents h2 {
140 font-size: 13pt;
141 margin: var(--universal-margin);
142 margin-top: calc(2 * var(--universal-margin));
143 font-weight: 400;
144 padding: .05em .5em;
145}
146
147#text-table-of-contents ul {
148 margin: 0 0 0 1em;
149}
150
151#text-table-of-contents > ul {
152 margin: 0 1em 0 2em;
153}
154
155#text-table-of-contents ul li {
156 font-size: 11pt;
157 width: 100%;
158}
159
160#table-of-contents #text-table-of-contents {
161 display: block;
162 text-align: left;
163 max-width: 35ch;
164}
165
166#table-of-contents li {
167 clear:both
168}
169
170.licenses {
171 text-align: center;
172 margin-top: 0.3em !important;
173}
174
175.licenses a:not(:first-child) {
176 margin-left: 0.5em;
177}
178
179.inline li {
180 display: inline-flex;
181}
182
183table {
184 overflow-x: hidden !important;
185}
186
187table th, table td {
188 padding: var(--universal-padding);
189}
190
191.org-left {
192 text-align: left !important;
193}
194
195dl {
196 padding: 0 calc(var(--universal-padding) + 1em);
197}
198
199nav * {
200 padding: 0.1em 0;
201}
202
203.abstract {
204 background: var(--nav-hover-back-color);
205 border-radius: 0.05em;
206 margin: 0 -1em;
207 padding: 0.25em 1em;
208}
209
210pre {
211 border: 1px solid #ccc;
212 box-shadow: none;
213 padding: 8pt;
214 overflow: auto;
215 margin: var(--universal-margin);
216 border-radius: var(--universal-border-radius);
217}
218
219figure {
220 text-align: center;
221}
222
223.org-svg {
224 width: auto;
225 max-width: 100%;
226}
227
228.asciicast {
229 text-align: center;
230}
231
232.iuse {
233
234}
235
236.iuse img {
237 height: 3em;
238}
239
240/* Style for WEBRING */
241.org-webring {
242 position: relative;
243}
244
245.org-webring .org-webring-articles {
246 display: flex;
247 flex-flow: row wrap;
248 margin: 0 0.25em;
249}
250.org-webring .org-webring-article-title {
251 font-size: 1em;
252 padding: 0;
253 margin: 0 0.75em 0 0.75em;
254 border-radius: 0.25em;
255 max-height: 40ch;
256}
257.org-webring .org-webring-article {
258 flex: 1 1 auto;
259 position: relative;
260 flex-basis: 40%;
261 display: flex;
262 flex-direction: column;
263 margin: 0 0.5em;
264 transition: 0.3s;
265 opacity: 1;
266 overflow: hidden;
267 /* border-radius: 3px; */
268 /* border-left: 3px solid rgba(0,0,0,.4); */
269}
270
271.org-webring .org-webring-article:before {
272 content: "•";
273 position: absolute;
274 left: 0;
275 top: 0;
276 margin-left: -0.15em;
277 font-size: 1.1em;
278}
279
280.org-webring .org-webring-article:hover {
281 opacity: 1;
282}
283
284.org-webring .org-webring-article-pinned {
285 position: relative;
286 flex: 1 1 auto;
287 flex-basis: 100%;
288 display: flex;
289 flex-direction: column;
290 margin: 0 0.5rem;
291 padding: 0.5rem;
292 border: 0.15rem black solid;
293 border-color: black;
294 transition: 0.3s;
295 opacity: 1;
296}
297.org-webring .org-webring-article-pinned:hover {
298 opacity: 1;
299 background-color: #fefefe;
300}
301.org-webring .org-webring-article-pinned-symbol{
302 position: absolute;
303 top: 0.2rem;
304 right: 0.5rem;
305}
306.org-webring .org-webring-article-summary {
307 font-size: 0.8rem;
308 flex: 1 1 0;
309 display: none;
310}
311.org-webring .org-webring-attribution {
312 text-align: right;
313 font-size: 0.8rem;
314 padding-right: 0.5em;
315 color: #666;
316 display: none;
317}
318.org-webring .org-webring-article-date {
319 text-align: center;
320 display: none;
321}
322.org-webring .org-webring-article-source {
323 text-align: center;
324 display: none;
325}
326.org-webring .org-webring-timestamp {
327 color: #666;
328 display: none;
329}
330@media screen and (max-width: 600px) {
331 .org-webring .org-webring-articles {
332 display: flex;
333 flex-direction: column;
334 }
335}
336@media screen and (max-width: 600px) {
337 .org-webring .org-webring-article {
338 flex: 1 1 auto;
339 flex-basis: 100%;
340 display: flex;
341 flex-direction: column;
342 margin: 0 0.5rem;
343 margin-bottom: 0.5rem;
344 }
345 .org-webring .org-webring-article-pinned {
346 position: relative;
347 flex: 1 1 auto;
348 flex-basis: 100%;
349 display: flex;
350 flex-direction: column;
351 margin: 0 0.5rem;
352 margin-bottom: 0.5rem;
353 border: 0.15rem black solid;
354 border-color: black;
355 transition: 0.3s;
356 opacity: 1;
357 }
358}
359
360.org-webring > h4 {
361 display: none;
362}
363
364video {
365 max-width: 100%;
366 max-height: 40em;
367 display: block;
368 margin: 0 auto;
369}
370
371#content {
372 margin: 0 !important;
373}
374
375audio {
376 display: block;
377 width: calc(100% - var(--universal-padding) * 2);
378 margin: 0 var(--universal-padding);
379}
380
381ul ul {
382 margin: 0;
383}
384
385table tr td:nth-child(1) {
386 width: 20%;
387}
Note: See TracBrowser for help on using the repository browser.