Missing parentheses completion
[mygpo.git] / static / screen.css
blob322ae97b36edefb3cd9501a2274731695f7cab72
1 :root {
2 --color-status-success: 90;
3 --color-status-error: 0;
4 --color-status-neutral: 247;
8 /* Landscape phones and down */
9 @media (min-width: 980px)
12 #inline_logo
14 display: none;
19 /****************
20 General
21 *****************/
23 body
25 font-family: 'Source Sans Pro', sans-serif;
28 #logo
30 position: fixed;
31 left: 20px;
32 top: -2px;
33 z-index: 4000;
36 body h1
38 font-size: 3em;
39 font-family: 'Source Sans Pro';
40 font-weight: 200;
41 margin-bottom: 0;
46 font-size: 14pt;
47 padding-top: .5em;
52 font-size: 12pt;
55 .brand img
57 display: inline;
60 .logo-group
62 padding: .5em 0 1em 0;
67 /*******************
68 "List" Tables
69 ********************/
72 table.list
74 border-collapse: collapse;
75 width: 100%;
76 margin-bottom: 2em;
79 table.list tr td
81 padding: .3em;
82 border-top: thin dotted #ccc;
83 border-bottom: thin dotted #ccc;
84 vertical-align: middle;
87 table.list tr:hover td {
88 background-color: #eeeeee;
91 table.list tr.nohighlight:hover td {
92 background-color: inherit;
95 table.list th
97 text-align: left;
98 padding: 5px;
99 font-weight: bold;
102 table.list th,
103 table.list td
105 padding-right: 1em;
108 table.list td
110 height: 40px;
113 table td.numeric,
114 table th.numeric
116 text-align: right;
119 table.list td.empty
121 text-align: center;
122 font-size: .8em;
125 table.list tr.group
127 font-weight: bold;
128 height: 3em;
129 vertical-align: bottom;
132 table.list tr.group:hover td
134 /* don't show hover effect for group rows */
135 background-color: inherit;
138 td.logo
140 width: 32px;
143 td.logo img
145 max-height: 32px;
146 max-width: 32px;
149 table form
151 display: inline;
154 /* used for headers above a group of table rows */
156 table.list th.group
158 background-color: #999;
159 color: white;
160 text-align: center;
163 table.list th.group a
165 color: white;
168 table.list th.group i
170 font-size: .7em;
173 .description,
174 .summary
176 color: #222;
177 hypens: auto;
178 -webkit-hyphens: auto;
179 -moz-hyphens: auto;
180 -ms-hyphens: auto;
181 -o-hyphens: auto;
182 text-align: justify;
186 div.description,
187 div.summary
189 margin-top: 1em;
192 .summary img
194 display: none;
197 /* don't show images in the description of the podcast page */
198 .first-episode img
200 display: none;
203 .first-episode div.description
205 margin-top: .5em;
208 .first-episode h2
210 margin-bottom: 0;
211 line-height: 1em;
214 div#podcastlogo
216 float: right;
217 padding-left: 20px;
218 padding-bottom: 10px;
221 #podcastlogo img {
222 max-height: 128px;
223 max-width: 128px;
227 .short
229 height: 1.3em;
230 overflow: hidden;
231 text-overflow: ellipsis;
234 .URL
236 text-decoration: none;
237 color: black;
240 .URL:hover
242 text-decoration: underline;
245 img.device_icon
247 padding: 3px;
248 vertical-align: middle;
252 /******************
253 Searching
254 *******************/
256 form.search input[type="text"]
258 width: 300px;
259 display: inline;
262 form.search ul
264 display: inline;
265 margin: 0px;
266 padding: 0px;
269 form.search ul li
271 list-style: none;
272 display: inline;
275 form.search input[type="submit"]
277 margin-top: 20px;
278 display: inline;
281 form.internal
283 display: none;
286 div.result img
288 float: left;
291 div.result a.podcast
293 font-size: 1.2em;
294 color: black;
295 padding-top: 2em;
296 font-weight: bold;
297 display: block;
300 div.result span.episode
302 display: list-item;
303 margin-left: 2em;
306 div.result span.episode a
308 color: black;
312 input.url
314 width: 80%;
317 .bar
319 background-color: #777;
320 color: white;
321 float: left;
322 text-align: left;
325 .bar span, .barbg span
327 padding-left: 5px;
328 padding-right: 5px;
331 .barbg
333 background-color: #aaa;
334 text-align: right;
335 color: black;
336 float: left;
337 width: 100%;
341 span.from_podcast, span.latest_episode {
342 font-size: x-small;
343 color: #666;
346 span.from_podcast a, span.latest_episode a {
347 color: #333;
350 .time
352 width: 5em;
356 .own-chapter
358 font-weight: bold;
361 div.related-podcasts
363 float: right;
367 .toplist-pos
369 padding-left: 1em;
372 #tagcloud
374 text-align: justify;
377 .sponsoring-podcast
379 padding-top: 1em;
380 padding-bottom: 1em;
383 .sponsoring-podcast img
385 float: left;
390 iframe.results
392 width: 100%;
393 border: none;
396 .by-user
398 font-size: 50%;
403 /*****************
404 Footer
405 *******************/
407 footer, footer a
409 color: #777;
412 footer ul
414 list-style-type: none;
417 div.first-episode
419 margin-bottom: 2em;
424 /************************
425 Episode Lists
426 *************************/
428 div.episodes div.episode
430 clear: left;
433 div.episode span.title
435 font-size: 1.5em;
436 font-family: 'Source Sans Pro';
437 font-weight: 200;
440 div.episodes div.episode
442 margin: 1.5em 0 1.5em 0;
445 div.episode div.description
447 font-family: 'Source Sans Pro';
448 font-weight: 300;
451 div.episodes div.description
453 margin-top: 0;
454 max-height: 2.9em;
455 overflow: hidden;
456 text-overflow: ellipsis; /* why doesn't this work?! */
460 div.episode span.number
462 display: inline;
463 font-size: 1.5em;
464 font-weight: 300;
465 font-family: 'Source Sans Pro';
469 div.episode div.listeners
471 width: 8em;
472 float: right;
473 font-size: .7em;
476 div.episode span.released,
477 div.episode span.status
479 font-size: .7em;
480 font-weight: normal;
483 div.first-episode
485 margin-top: 1.5em;
488 div.first-episode div.header
490 font-size: 1.5em;
494 div.first-episode div.episode div.header a
496 text-decoration: none;
497 color: black;
504 /* Sidebar Navigation */
506 .sidebar-nav
508 text-align: right;
509 border-right: thin solid #222;
510 margin-right: 1em;
513 .sidebar-nav a
515 color: #222;
518 .nav-list > .active > a,
519 .nav-list > .active > a:hover,
520 .nav-list > .active > a:focus {
521 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
522 background-color: #888;
523 color: #eee;
526 #content
528 padding-top: 1em;
531 #tag-box form
533 display: inline-block;
537 div.podcasts
539 padding-top: 2em;
543 div.podcasts div.podcast
545 overflow: hidden;
546 margin-bottom: 2em;
547 padding: .2em;
551 div.podcasts div.podcast div.logo
553 float: left;
554 padding-right: .5em;
557 div.podcasts div.podcast div.actions
559 float: right;
560 padding-left: .5em;
561 display: box;
564 div.podcasts div.podcast div.title
566 white-space: nowrap;
567 text-overflow: ellipsis;
568 overflow: hidden;
571 div.podcasts div.podcast div.title a
573 font-family: 'Source Sans Pro';
574 font-weight: 300;
575 font-size: 1.9em;
578 div.podcasts div.podcast div.description
580 text-overflow: ellipsis;
581 overflow: hidden;
582 margin-top: .5em;
583 height: 7em;
586 div.podcasts div.podcast div.actions a.btn,
587 div.podcasts div.podcast div.actions button.btn
590 display: none;
591 margin-bottom: 1em;
592 box-flex: 1;
596 div.podcasts div.podcast:hover div.actions a.btn,
597 div.podcasts div.podcast:hover div.actions button.btn
599 display: block;
602 /* http://stackoverflow.com/a/18330040/693140 */
603 .nav > li.disabled.nav-header > a {
604 cursor: default;
605 font-size: 12px;
606 font-weight: bold;
607 text-transform: uppercase;
610 .tab-pane
612 padding-top: 1em;
615 .centered {
616 float: none;
617 margin: 0 auto;
620 .hosting {
621 text-align: center;
624 .status-success {
625 background-color: hsla(var(--color-status-success), 100%, 75%, 1);
629 .status-error {
630 background-color: hsla(var(--color-status-error), 100%, 75%, 1);
633 .status-neutral {
634 background-color: hsla(var(--color-status-neutral), 16%, 85%, 1);