summaryrefslogtreecommitdiff
path: root/site/site.css
diff options
context:
space:
mode:
Diffstat (limited to 'site/site.css')
-rw-r--r--site/site.css205
1 files changed, 205 insertions, 0 deletions
diff --git a/site/site.css b/site/site.css
new file mode 100644
index 0000000..c0aec5b
--- /dev/null
+++ b/site/site.css
@@ -0,0 +1,205 @@
1html {
2 background-color: #eee;
3 background-image: url("https://av.trans.chat/common/flag.png");
4 background-attachment:fixed;
5 padding-bottom:7em;
6 text-align:left;
7}
8
9p.title-logo {
10display:none;
11}
12
13div.title {
14 background:url("https://av.trans.chat/logo/logo.svg");
15 background-repeat:no-repeat;
16 background-size: auto 100%;
17 background-attachment:absolute;
18 background-position: right;
19}
20
21h1.title {
22 text-shadow: 0px 0px 5px #FFFFFF;
23 text-align:center;
24 background:url("https://av.trans.chat/logo/logo.svg");
25 background-size: auto 100%;
26 background-repeat:no-repeat;
27 min-height:3.5em;
28 margin:0;
29 display:block;
30 padding-left:4em;
31 padding-right:4em;
32}
33
34
35body {
36 line-height: 1.6;
37 font-family: Cantarell, sans-serif;
38 font-size: 1em;
39 color: #222;
40}
41
42div.page {
43 box-shadow: 0 0 6px;
44 background-color:#fff;
45 max-width:70em;
46 margin:0 auto;
47 padding: 0.2em 1em;
48}
49
50div.warning{
51 background:#fcc;
52 font-size:1.1em;
53 border:solid 1px #666;
54 padding-left:1em;
55 padding-right:1em;
56}
57
58pre {
59 padding: 0.3em;
60}
61
62pre,table {
63 overflow-x: auto;
64 display: block;
65}
66
67table {
68 border-collapse: collapse;
69 width:100%;
70}
71th{
72 background:#cdcdcd;
73}
74th, td {
75 border: solid 1px #888;
76}
77tr:nth-child(even) {
78 background-color: #eee;
79}
80
81code, pre, nav#TOC {
82 background-color: #ececec;
83}
84
85img {
86 max-width: 100%;
87}
88
89a {
90 text-decoration: none;
91 color: #22D;
92}
93
94a.uri {
95 word-wrap: break-word;
96}
97
98a:hover {
99 color: #008;
100}
101
102.date {
103 display: block;
104}
105
106h1, h2, h3, .h:hover a {
107 display: inline;
108}
109
110.h a {
111 display: none;
112}
113
114p.author, p.date {
115 display:none;
116}
117div.nav {
118 text-align:center;
119 clear:right;
120}
121header ul:first-of-type,
122div.nav ul:first-of-type,
123div#footer ul:last-of-type {
124 padding:0;
125 margin:0;
126 text-align:center;
127}
128header ul:first-of-type > li,
129div.nav ul:first-of-type > li,
130div#footer ul:last-of-type li {
131 padding:0;
132 margin:0;
133 display:inline;
134 padding-left:0.5em;
135 padding-right:0.5em;
136 border-right:solid 1px #000;
137}
138header ul:first-of-type > li:first-child,
139div.nav ul:first-of-type > li:first-child,
140div#footer ul:last-of-type > li:first-child {
141 padding-left:0;
142}
143header ul:first-of-type > li:last-child,
144div.nav ul:first-of-type > li:last-child,
145div#footer ul:last-of-type > li:last-child {
146 padding-right:0;
147 border:none;
148}
149
150nav#TOC {
151 min-width:25%;
152 max-width:100%;
153 float:left;
154 margin:1em;
155 padding: 0.2em 1em;
156}
157nav#TOC h1 {
158 font-size:1em;
159}
160nav#TOC li > ul {
161 margin-left:0;
162 padding-left:0.5em;
163}
164
165img.imgleft, img.imgright {
166 max-width: 25%;
167 height: auto;
168 padding: 2em;
169 padding-top:0.5em;
170 padding-bottom:0.5em;
171}
172
173img.imgright {
174 float: right;
175 padding-right:0;
176}
177
178img.imgleft {
179 float: left;
180 padding-left:0;
181}
182
183@media (max-width: 50em) {
184 div.title, h1.title {background:none;}
185 nav#TOC {width:100% !important; padding:0; margin:0;}
186 h1.title{min-height:0em; padding-left:0; padding-right:0;}
187 p.title-logo {
188 display:block;
189 text-align:center;
190 }
191 img.title-logo {
192 max-width: 20%;
193 height: auto;
194 }
195}
196@media (max-width: 49em) {
197 img.title-logo {
198 max-width: 25%;
199 }
200}
201@media (max-width: 30em) {
202 img.title-logo {
203 max-width: 33%;
204 }
205}