source: at-w96k/public/css/custom.css@ 9eb4deb

Last change on this file since 9eb4deb was 9eb4deb, checked in by Mikhail Kirillov <w96k@…>, on Jul 27, 2022 at 10:25:02 PM

Fix rss authors

  • Property mode set to 100644
File size: 6.4 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 .org-webring-articles {
242 display: flex;
243 flex-flow: row wrap;
244}
245.org-webring .org-webring-article-title {
246 font-size: 1em;
247 padding: 0;
248 margin: 0 1em 0 1em;
249 border-radius: 0.25em;
250 max-height: 40ch;
251}
252.org-webring .org-webring-article {
253 flex: 1 1 auto;
254 flex-basis: 40%;
255 display: flex;
256 flex-direction: column;
257 margin: 0.5em;
258 transition: 0.3s;
259 opacity: 1;
260 overflow: hidden;
261 border-left: 3px solid rgba(0,0,0,.35);
262}
263.org-webring .org-webring-article:hover {
264 opacity: 1;
265}
266
267.org-webring .org-webring-article-pinned {
268 position: relative;
269 flex: 1 1 auto;
270 flex-basis: 100%;
271 display: flex;
272 flex-direction: column;
273 margin: 0 0.5rem;
274 padding: 0.5rem;
275 border: 0.15rem black solid;
276 border-color: black;
277 transition: 0.3s;
278 opacity: 1;
279}
280.org-webring .org-webring-article-pinned:hover {
281 opacity: 1;
282 background-color: #fefefe;
283}
284.org-webring .org-webring-article-pinned-symbol{
285 position: absolute;
286 top: 0.2rem;
287 right: 0.5rem;
288}
289.org-webring .org-webring-article-summary {
290 font-size: 0.8rem;
291 flex: 1 1 0;
292 display: none;
293}
294.org-webring .org-webring-attribution {
295 text-align: right;
296 font-size: 0.8rem;
297 padding-right: 0.5em;
298 color: #666;
299 display: none;
300}
301.org-webring .org-webring-article-date {
302 text-align: center;
303 display: none;
304}
305.org-webring .org-webring-article-source {
306 text-align: center;
307 display: none;
308}
309.org-webring .org-webring-timestamp {
310 color: #666;
311 display: none;
312}
313@media screen and (max-width: 600px) {
314 .org-webring .org-webring-articles {
315 display: flex;
316 flex-direction: column;
317 }
318}
319@media screen and (max-width: 600px) {
320 .org-webring .org-webring-article {
321 flex: 1 1 auto;
322 flex-basis: 100%;
323 display: flex;
324 flex-direction: column;
325 margin: 0 0.5rem;
326 margin-bottom: 0.5rem;
327 }
328 .org-webring .org-webring-article-pinned {
329 position: relative;
330 flex: 1 1 auto;
331 flex-basis: 100%;
332 display: flex;
333 flex-direction: column;
334 margin: 0 0.5rem;
335 margin-bottom: 0.5rem;
336 border: 0.15rem black solid;
337 border-color: black;
338 transition: 0.3s;
339 opacity: 1;
340 }
341}
342
343.org-webring > h4 {
344 display: none;
345}
346
347video {
348 max-width: 100%;
349 max-height: 40em;
350 display: block;
351 margin: 0 auto;
352}
353
354#content {
355 margin: 0 !important;
356}
357
358audio {
359 display: block;
360 width: calc(100% - var(--universal-padding) * 2);
361 margin: 0 var(--universal-padding);
362}
363
364ul ul {
365 margin: 0;
366}
367
368table tr td:nth-child(1) {
369 width: 20%;
370}
Note: See TracBrowser for help on using the repository browser.