aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-06-27 11:47:58 +0000
committerng0 <ng0@n0.is>2019-06-27 11:47:58 +0000
commitfc300d1e256032ceea197f196b8d0281baa5d20f (patch)
tree6e9078ce2734b1d2d7d2c1a29c0e5b553891f91d /static
parent45d0b0364129481f518eebb0e6d97fdf82499959 (diff)
parent0eb332372d64ace1092b65e9e9df88441d91b2b1 (diff)
downloadwww-fc300d1e256032ceea197f196b8d0281baa5d20f.tar.gz
www-fc300d1e256032ceea197f196b8d0281baa5d20f.zip
Merge branch 'master' of gnunet.org:www into stage
Diffstat (limited to 'static')
-rw-r--r--static/styles.css83
-rw-r--r--static/styles.css.diff347
-rw-r--r--static/styles.sass3
3 files changed, 415 insertions, 18 deletions
diff --git a/static/styles.css b/static/styles.css
index 199dd9eb..9eae100d 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -58,8 +58,32 @@ a.btn {
58 color: white !important; } 58 color: white !important; }
59 a.btn:link, a.btn:visited { 59 a.btn:link, a.btn:visited {
60 text-decoration: none !important; 60 text-decoration: none !important;
61 color: white !important; } 61 color: white !important;
62 62}
63/* For reference if bootstrap does not cover the main-Element issue in IE9-11 */
64/*
65main {
66 display:block;
67}
68*/
69/* There's a fixed navbar that is 3.5rem tall */
70body {
71 padding-top: 3.5rem;
72 background-color: #baddef;
73}
74
75/*
76 Hover effects with this color don't work out!
77 See https://gnunet.org/bugs/view.php?id=5570
78*/
79/*
80#body_content a:hover {
81 transition: background-color 0.7s;
82 background-color: #d00;
83 border-color: #fff;
84 color: white !important;
85}
86*/
63.team { 87.team {
64 padding: 75px 0; } 88 padding: 75px 0; }
65 89
@@ -155,9 +179,16 @@ i.red {
155 color: #BC0213; } 179 color: #BC0213; }
156 180
157.btn-primary { 181.btn-primary {
158 color: #fff; 182 color: #fff;
159 background-color: #678; 183 background-color: #678;
160 border-color: #68a; } 184 border-color: #68a;
185}
186a.btn:hover {
187 transition: background-color 0.7s;
188 background-color: #419edb;
189 border-color: #fff;
190 color: white !important;
191}
161 192
162a.btn:hover { 193a.btn:hover {
163 transition: background-color 0.7s; 194 transition: background-color 0.7s;
@@ -184,17 +215,17 @@ html {
184 overflow-y: scroll; } 215 overflow-y: scroll; }
185 216
186.dark { 217.dark {
187 background-color: #333; 218 background-color: #cccccc;
188 color: white; } 219}
189 220
190.c_acronym { 221.c_acronym {
191 background-color: #68a; 222 background-color: #217fae;
192 color: white; } 223 color: white;
224}
193 225
194footer a { 226footer a,
195 text-decoration: underline; 227footer a:link,
196 color: white; } 228footer a:visited {
197 footer a:link, footer a:visited {
198 text-decoration: underline; 229 text-decoration: underline;
199 color: white; } 230 color: white; }
200 footer a:hover { 231 footer a:hover {
@@ -241,9 +272,20 @@ footer {
241 padding-bottom: 1em; 272 padding-bottom: 1em;
242 padding-left: 2em; 273 padding-left: 2em;
243 padding-right: 2em; 274 padding-right: 2em;
244 max-width: 80em; } 275 max-width: 80em;
245 #body_content .jumbotron { 276}
246 margin-bottom: 0px; } 277
278#body_content {
279 /* push footer down */
280 min-height: 80vh;
281 /* space for the nav */
282 padding-top: 70px;
283}
284#body_content .jumbotron {
285 /* background-color: #cccccc;*/
286 background-image: radial-gradient(circle, #baddef, #baddef, #349fd7);
287 margin-bottom: 0px;
288}
247 289
248.adorn_h3_bracket h3::before { 290.adorn_h3_bracket h3::before {
249 content: "#"; 291 content: "#";
@@ -260,5 +302,10 @@ footer {
260 padding-bottom: 2em; } 302 padding-bottom: 2em; }
261 303
262.invert { 304.invert {
263 -webkit-filter: invert(100%); 305 -webkit-filter: invert(100%);
264 filter: invert(100%); } 306 filter: invert(100%);
307}
308
309.row {
310 min-widht: 50%;
311}
diff --git a/static/styles.css.diff b/static/styles.css.diff
new file mode 100644
index 00000000..64e283dd
--- /dev/null
+++ b/static/styles.css.diff
@@ -0,0 +1,347 @@
1.static-top {
2 position: fixed;
3 top: 0;
4 right: 0;
5 left: 0;
6 z-index: 3; }
7
8.skip {
9 display: none !important;
10 position: absolute;
11 top: 0;
12 left: 0;
13 width: 100%;
14 font-size: .857143em; }
15 .skip li {
16 position: absolute;
17 z-index: 1;
18 margin: 0; }
19 .skip a {
20 position: absolute;
21 left: -9999px; }
22 .skip a:active, .skip a:focus {
23 display: block;
24 position: static;
25 left: 0;
26 padding: .25em 1em; }
27
28.near-white {
29 color: #f4f4f4; }
30
31.near-black {
32 color: #111; }
33
34.dark-grey {
35 color: #333; }
36
37.blue {
38 color: #357edd; }
39
40.bg-near-white {
41 background-color: #f4f4f4; }
42
43.bg-near-black {
44 background-color: #111; }
45
46code {
47 margin-bottom: 1em; }
48
49#body_content a {
50 text-decoration: underline;
51 color: #357edd; }
52 #body_content a:link, #body_content a:visited {
53 text-decoration: underline;
54 color: #357edd; }
55
56a.btn {
57 text-decoration: none !important;
58 color: white !important; }
59 a.btn:link, a.btn:visited {
60 text-decoration: none !important;
61<<<<<<< HEAD
62 color: white !important; }
63
64=======
65 color: white !important;
66}
67/* For reference if bootstrap does not cover the main-Element issue in IE9-11 */
68/*
69main {
70 display:block;
71}
72*/
73/* There's a fixed navbar that is 3.5rem tall */
74body {
75 padding-top: 3.5rem;
76 background-color: #baddef;
77}
78
79/*
80 Hover effects with this color don't work out!
81 See https://gnunet.org/bugs/view.php?id=5570
82*/
83/*
84#body_content a:hover {
85 transition: background-color 0.7s;
86 background-color: #d00;
87 border-color: #fff;
88 color: white !important;
89}
90*/
91>>>>>>> 0eb332372d64ace1092b65e9e9df88441d91b2b1
92.team {
93 padding: 75px 0; }
94
95h6.description {
96 font-weight: bold;
97 letter-spacing: 2px;
98 color: #999;
99 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
100 padding-bottom: 5px; }
101
102.profile {
103 margin-top: 25px; }
104 .profile h1 {
105 font-weight: normal;
106 font-size: 20px;
107 margin: 10px 0 0 0; }
108 .profile h2 {
109 font-size: 14px;
110 font-weight: lighter;
111 margin-top: 5px; }
112 .profile .img-box {
113 opacity: 1;
114 display: block;
115 position: relative;
116 min-height: 160px; }
117 .profile .img-box:after {
118 content: "";
119 opacity: 0;
120 background-color: rgba(0, 0, 0, 0.75);
121 position: absolute;
122 right: 0;
123 left: 0;
124 top: 0;
125 bottom: 0; }
126 .profile .img-none {
127 text-align: center; }
128 .profile .img-none i.fa {
129 color: #eee;
130 font-size: 8em; }
131
132.img-box ul {
133 position: absolute;
134 z-index: 2;
135 bottom: 50px;
136 text-align: center;
137 width: 100%;
138 padding-left: 0px;
139 height: 0px;
140 margin: 0px;
141 opacity: 0; }
142
143.profile .img-box:after {
144 -webkit-transition: all 0.5s ease-in-out 0s;
145 -moz-transition: all 0.5s ease-in-out 0s;
146 transition: all 0.5s ease-in-out 0s; }
147
148.img-box ul {
149 -webkit-transition: all 0.5s ease-in-out 0s;
150 -moz-transition: all 0.5s ease-in-out 0s;
151 transition: all 0.5s ease-in-out 0s; }
152 .img-box ul li {
153 -webkit-transition: all 0.5s ease-in-out 0s;
154 -moz-transition: all 0.5s ease-in-out 0s;
155 transition: all 0.5s ease-in-out 0s; }
156 .img-box ul i {
157 font-size: 20px;
158 letter-spacing: 10px; }
159 .img-box ul li {
160 width: 30px;
161 height: 30px;
162 text-align: center;
163 color: #88C425;
164 margin: 2px;
165 padding: 5px;
166 display: inline-block; }
167
168.img-box a {
169 color: #fff; }
170
171.img-box:hover:after, .img-box:hover ul {
172 opacity: 1; }
173
174.img-box ul a {
175 -webkit-transition: all 0.3s ease-in-out 0s;
176 -moz-transition: all 0.3s ease-in-out 0s;
177 transition: all 0.3s ease-in-out 0s; }
178
179.img-box a:hover li {
180 border-color: #fff;
181 color: #88C425; }
182
183i.red {
184 color: #BC0213; }
185
186.btn-primary {
187<<<<<<< HEAD
188 color: #fff;
189 background-color: #678;
190 border-color: #68a; }
191=======
192 color: #fff;
193 background-color: #678;
194 border-color: #68a;
195}
196a.btn:hover {
197 transition: background-color 0.7s;
198 background-color: #419edb;
199 border-color: #fff;
200 color: white !important;
201}
202>>>>>>> 0eb332372d64ace1092b65e9e9df88441d91b2b1
203
204a.btn:hover {
205 transition: background-color 0.7s;
206 background-color: #d00;
207 border-color: #fff;
208 color: white !important; }
209
210body .banner {
211 color: white;
212 padding-top: 20px;
213 padding-bottom: 20px; }
214
215#body_content .banner a {
216 color: white; }
217
218.lang-slector {
219 float: right;
220 padding-top: 2mm;
221 padding-bottom: 4mm;
222 margin-left: 15px;
223 margin-right: 15px; }
224
225html {
226 overflow-y: scroll; }
227
228.dark {
229<<<<<<< HEAD
230 background-color: #333;
231 color: white; }
232
233.c_acronym {
234 background-color: #68a;
235 color: white; }
236
237footer a {
238 text-decoration: underline;
239 color: white; }
240 footer a:link, footer a:visited {
241=======
242 background-color: #cccccc;
243}
244
245.c_acronym {
246 background-color: #217fae;
247 color: white;
248}
249
250footer a,
251footer a:link,
252footer a:visited {
253>>>>>>> 0eb332372d64ace1092b65e9e9df88441d91b2b1
254 text-decoration: underline;
255 color: white; }
256 footer a:hover {
257 transition: background-color 0.3s;
258 background-color: rgba(100, 100, 100, 0.5); }
259
260.c_intro {
261 min-height: 97vh; }
262
263.in .nav-lang {
264 display: none; }
265
266.mobile-lang {
267 margin-left: 5px;
268 margin-top: 8px; }
269
270#mybody {
271 color: black; }
272
273.btn-dark {
274 background-color: #999; }
275
276#mybody nav {
277 border-radius: 0px;
278 padding: 10px; }
279
280.index-logo {
281 text-align: center; }
282
283footer {
284 padding-top: 2em;
285 margin-top: 2em; }
286
287#body_content {
288 min-height: 80vh; }
289 #body_content .container-wide {
290 margin-bottom: 2em;
291 padding-top: 1em;
292 padding-bottom: 1em;
293 padding-left: 2em;
294 padding-right: 2em; }
295 #body_content .container {
296 padding-top: 1em;
297 padding-bottom: 1em;
298 padding-left: 2em;
299 padding-right: 2em;
300<<<<<<< HEAD
301 max-width: 80em; }
302 #body_content .jumbotron {
303 margin-bottom: 0px; }
304=======
305 max-width: 80em;
306}
307
308#body_content {
309 /* push footer down */
310 min-height: 80vh;
311 /* space for the nav */
312 padding-top: 70px;
313}
314#body_content .jumbotron {
315 /* background-color: #cccccc;*/
316 background-image: radial-gradient(circle, #baddef, #baddef, #349fd7);
317 margin-bottom: 0px;
318}
319>>>>>>> 0eb332372d64ace1092b65e9e9df88441d91b2b1
320
321.adorn_h3_bracket h3::before {
322 content: "#";
323 color: #333;
324 margin-right: 0.5em; }
325
326.footer-list {
327 list-style: none; }
328
329.cushion-above {
330 padding-top: 2em; }
331
332.cushion-below {
333 padding-bottom: 2em; }
334
335.invert {
336<<<<<<< HEAD
337 -webkit-filter: invert(100%);
338 filter: invert(100%); }
339=======
340 -webkit-filter: invert(100%);
341 filter: invert(100%);
342}
343
344.row {
345 min-widht: 50%;
346}
347>>>>>>> 0eb332372d64ace1092b65e9e9df88441d91b2b1
diff --git a/static/styles.sass b/static/styles.sass
index a281f4d0..5455b755 100644
--- a/static/styles.sass
+++ b/static/styles.sass
@@ -273,3 +273,6 @@ footer
273.invert 273.invert
274 -webkit-filter: invert(100%) 274 -webkit-filter: invert(100%)
275 filter: invert(100%) 275 filter: invert(100%)
276
277.row
278 min-width: 50%