source: public/css/custom.css@ 98fbfa4

Last change on this file since 98fbfa4 was 98fbfa4, checked in by Mikhail Kirillov <w96k@…>, on Jan 2, 2020 at 6:30:56 AM

Add 404 page

  • Property mode set to 100644
File size: 2.2 KB
Line 
1body {
2 padding: 1em;
3}
4
5article {
6 max-width: calc(80ch + 4em);
7 border-radius: 0.em;
8 margin: 0 var(--universal-padding);
9 padding: 1em;
10 background: #fefefe;
11 box-shadow: 0 1px 3px rgba(0,0,0,.1);
12 position: relative;
13}
14
15article h1:first-child,
16article h2:first-child,
17article h3:first-child,
18article h4:first-child,
19article h5:first-child,
20article h6:first-child {
21 margin-top: 0;
22 padding: 0;
23}
24
25.navbar {
26 background: #fefefe;
27 border: 0;
28}
29
30.navbar .button {
31 background: #fefefe;
32 text-transform: none;
33}
34
35/* 16:9 */
36.video {
37 padding-top: 56.25%;
38 position: relative;
39 width: calc(100% - 1em);
40}
41
42iframe {
43 width: 100%;
44 height: 100%;
45 position: absolute;
46 top: 0;
47 left: 0;
48 bottom: 0;
49 right: 0;
50}
51
52.cover {
53 margin: 0.5em 0;
54 border: 1px solid rgba(0,0,0,.3);
55 border-radius: 0.1em;
56}
57
58#youmu {
59 position: relative;
60 top: 1em;
61 margin-bottom: -0.5em;
62 max-width: 400px;
63 filter: drop-shadow(0 12px 4px rgba(0,0,0,.25));
64}
65
66#preamble {
67 margin: var(--universal-margin);
68 box-shadow: 0 1px 3px rgba(0,0,0,.1);
69}
70
71#postamble {
72 margin: var(--universal-margin);
73 max-width: calc(80ch + 6em);
74}
75
76hr {
77 background: rgba(0,0,0,.05) !important;
78 height: 0.5rem !important;
79 margin: 1px !important;
80}
81
82#table-of-contents {
83 z-index: 1050;
84 font-size: 9pt;
85 position: fixed;
86 right: calc(var(--universal-margin) + 0.5em);
87 top: 79px;
88 background: #fefefe;
89 line-height: 12pt;
90 box-shadow: 0 1px 3px rgba(0,0,0,.1);
91 max-height: 80%;
92 overflow: auto;
93}
94
95#table-of-contents * {
96 padding: none;
97}
98
99#table-of-contents h2 {
100 font-size: 13pt;
101 border: 0;
102 font-weight: 400;
103 padding: .05em .5em;
104}
105
106#text-table-of-contents ul {
107 margin: 0 1em;
108}
109
110#text-table-of-contents ul li {
111 font-size: 11pt;
112 width: 100%;
113}
114
115#table-of-contents #text-table-of-contents {
116 display: none;
117 text-align: left;
118}
119
120#table-of-contents:hover #text-table-of-contents {
121 display:block;
122 padding: none;
123 margin: 0;
124 padding: 0;
125}
126
127#table-of-contents li {
128 clear:both
129}
130
131.licenses {
132 margin-top: 0.75em !important;
133}
134
135.licenses a:not(:first-child) {
136 margin-left: 0.5em;
137}
138
139.inline li {
140 display: inline-flex;
141}
Note: See TracBrowser for help on using the repository browser.