source: public/css/custom.css@ 90e0d35

Last change on this file since 90e0d35 was 90e0d35, checked in by Mikhail Kirillov <w96k@…>, on Jan 5, 2020 at 9:26:16 PM

Add cv; Add cc license pic; Add favicon;

  • Property mode set to 100644
File size: 2.3 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 max-width: calc(80ch + 6em);
68 margin: var(--universal-margin);
69 box-shadow: 0 1px 3px rgba(0,0,0,.1);
70}
71
72#postamble {
73 margin: var(--universal-margin);
74 max-width: calc(80ch + 6em);
75}
76
77hr {
78 background: rgba(0,0,0,.05) !important;
79 height: 0.5rem !important;
80 margin: 1px !important;
81}
82
83#table-of-contents {
84 z-index: 1050;
85 font-size: 10pt;
86 position: fixed;
87 right: calc(var(--universal-margin) + 0.5em);
88 top: calc(var(--universal-margin) + 0.5em);
89 background: #fefefe;
90 line-height: 12pt;
91 box-shadow: 0 1px 3px rgba(0,0,0,.1);
92 border: none;
93 max-height: 80%;
94 overflow: auto;
95}
96
97#table-of-contents * {
98 padding: none;
99}
100
101#table-of-contents h2 {
102 font-size: 13pt;
103 border: 0;
104 font-weight: 400;
105 padding: .05em .5em;
106}
107
108#text-table-of-contents ul {
109 margin: 0 1em;
110}
111
112#text-table-of-contents ul li {
113 font-size: 11pt;
114 width: 100%;
115}
116
117#table-of-contents #text-table-of-contents {
118 display: none;
119 text-align: left;
120}
121
122#table-of-contents:hover #text-table-of-contents {
123 display:block;
124 padding: none;
125 margin: 0;
126 padding: 0;
127}
128
129#table-of-contents li {
130 clear:both
131}
132
133.licenses {
134 margin-top: 0.75em !important;
135}
136
137.licenses a:not(:first-child) {
138 margin-left: 0.5em;
139}
140
141.inline li {
142 display: inline-flex;
143}
Note: See TracBrowser for help on using the repository browser.