[Web] fix broken test
[mygpo.git] / htdocs / media / screen.css
blobb3a34bc33894028e3adfb5ba01b1a2365bc3466f
2 /* Landscape phones and down */
3 @media (min-width: 980px)
6 #inline_logo
8 display: none;
13 /****************
14 General
15 *****************/
17 body
19 font-family: 'Source Sans Pro', sans-serif;
22 #logo
24 position: fixed;
25 left: 20px;
26 top: -2px;
27 z-index: 4000;
30 body h1
32 font-size: 3em;
33 font-family: 'Source Sans Pro';
34 font-weight: 200;
35 margin-bottom: 0;
40 font-size: 14pt;
41 padding-top: .5em;
46 font-size: 12pt;
49 .brand img
51 display: inline;
54 .logo-group
56 padding: .5em 0 1em 0;
61 /*******************
62 "List" Tables
63 ********************/
66 table.list
68 border-collapse: collapse;
69 width: 100%;
70 margin-bottom: 2em;
73 table.list tr td
75 padding: .3em;
76 border-top: thin dotted #ccc;
77 border-bottom: thin dotted #ccc;
78 vertical-align: middle;
81 table.list tr:hover td {
82 background-color: #eeeeee;
85 table.list tr.nohighlight:hover td {
86 background-color: inherit;
89 table.list th
91 text-align: left;
92 padding: 5px;
93 font-weight: bold;
96 table.list th,
97 table.list td
99 padding-right: 1em;
102 table.list td
104 height: 40px;
107 table td.numeric,
108 table th.numeric
110 text-align: right;
113 table.list td.empty
115 text-align: center;
116 font-size: .8em;
119 table.list tr.group
121 font-weight: bold;
122 height: 3em;
123 vertical-align: bottom;
126 table.list tr.group:hover td
128 /* don't show hover effect for group rows */
129 background-color: inherit;
132 td.logo
134 width: 32px;
137 table form
139 display: inline;
142 /* used for headers above a group of table rows */
144 table.list th.group
146 background-color: #999;
147 color: white;
148 text-align: center;
151 table.list th.group a
153 color: white;
156 table.list th.group i
158 font-size: .7em;
161 .description,
162 .summary
164 color: #222;
165 hypens: auto;
166 -webkit-hyphens: auto;
167 -moz-hyphens: auto;
168 -ms-hyphens: auto;
169 -o-hyphens: auto;
170 text-align: justify;
174 div.description,
175 div.summary
177 margin-top: 1em;
180 .summary img
182 display: none;
185 /* don't show images in the description of the podcast page */
186 .first-episode img
188 display: none;
191 .first-episode div.description
193 margin-top: .5em;
196 .first-episode h2
198 margin-bottom: 0;
199 line-height: 1em;
202 div#podcastlogo
204 float: right;
205 padding-left: 20px;
206 padding-bottom: 10px;
210 .short
212 height: 1.3em;
213 overflow: hidden;
214 text-overflow: ellipsis;
217 .URL
219 text-decoration: none;
220 color: black;
223 .URL:hover
225 text-decoration: underline;
228 img.device_icon
230 padding: 3px;
231 vertical-align: middle;
234 ul.devices li.desktop
236 list-style-image: url('16x16/computer.png');
239 ul.devices li.laptop
241 list-style-image: url('16x16/stock_notebook.png');
244 ul.devices li.mobile
246 list-style-image: url('16x16/stock_cell-phone.png');
249 ul.devices li.server
251 list-style-image: url('16x16/server.png');
254 ul.devices li.other
256 list-style-image: url('16x16/audio-x-generic.png');
260 /******************
261 Searching
262 *******************/
264 form.search input[type="text"]
266 width: 300px;
267 display: inline;
270 form.search ul
272 display: inline;
273 margin: 0px;
274 padding: 0px;
277 form.search ul li
279 list-style: none;
280 display: inline;
283 form.search input[type="submit"]
285 margin-top: 20px;
286 display: inline;
289 form.internal
291 display: none;
294 div.result img
296 float: left;
299 div.result a.podcast
301 font-size: 1.2em;
302 color: black;
303 padding-top: 2em;
304 font-weight: bold;
305 display: block;
308 div.result span.episode
310 display: list-item;
311 margin-left: 2em;
314 div.result span.episode a
316 color: black;
320 input.url
322 width: 80%;
325 .bar
327 background-color: #777;
328 color: white;
329 float: left;
330 text-align: left;
333 .bar span, .barbg span
335 padding-left: 5px;
336 padding-right: 5px;
339 .barbg
341 background-color: #aaa;
342 text-align: right;
343 color: black;
344 float: left;
345 width: 100%;
349 span.from_podcast, span.latest_episode {
350 font-size: x-small;
351 color: #666;
354 span.from_podcast a, span.latest_episode a {
355 color: #333;
358 .time
360 width: 5em;
364 .own-chapter
366 font-weight: bold;
369 div.related-podcasts
371 float: right;
375 .toplist-pos
377 padding-left: 1em;
380 #tagcloud
382 text-align: justify;
385 .sponsoring-podcast
387 padding-top: 1em;
388 padding-bottom: 1em;
391 .sponsoring-podcast img
393 float: left;
398 iframe.results
400 width: 100%;
401 border: none;
404 .by-user
406 font-size: 50%;
411 /*****************
412 Footer
413 *******************/
415 footer, footer a
417 color: #777;
420 footer ul
422 list-style-type: none;
425 div.first-episode
427 margin-bottom: 2em;
432 /************************
433 Episode Lists
434 *************************/
436 div.episodes div.episode
438 clear: left;
441 div.episode span.title
443 font-size: 1.5em;
444 font-family: 'Source Sans Pro';
445 font-weight: 200;
448 div.episodes div.episode
450 margin: 1.5em 0 1.5em 0;
453 div.episode div.description
455 font-family: 'Source Sans Pro';
456 font-weight: 300;
459 div.episodes div.description
461 margin-top: 0;
462 max-height: 2.9em;
463 overflow: hidden;
464 text-overflow: ellipsis; /* why doesn't this work?! */
468 div.episode span.number
470 display: inline;
471 font-size: 1.5em;
472 font-weight: 300;
473 font-family: 'Source Sans Pro';
477 div.episode div.listeners
479 width: 8em;
480 float: right;
481 font-size: .7em;
484 div.episode span.released,
485 div.episode span.status
487 font-size: .7em;
488 font-weight: normal;
491 div.first-episode
493 margin-top: 1.5em;
496 div.first-episode div.header
498 font-size: 1.5em;
502 div.first-episode div.episode div.header a
504 text-decoration: none;
505 color: black;
512 /* Sidebar Navigation */
514 .sidebar-nav
516 text-align: right;
517 border-right: thin solid #222;
518 margin-right: 1em;
521 .sidebar-nav a
523 color: #222;
526 .nav-list > .active > a,
527 .nav-list > .active > a:hover,
528 .nav-list > .active > a:focus {
529 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
530 background-color: #888;
531 color: #eee;
534 #content
536 padding-top: 1em;
539 #tag-box form
541 display: inline-block;
545 div.podcasts
547 padding-top: 2em;
551 div.podcasts div.podcast
553 overflow: hidden;
554 margin-bottom: 2em;
555 padding: .2em;
559 div.podcasts div.podcast div.logo
561 float: left;
562 padding-right: .5em;
565 div.podcasts div.podcast div.actions
567 float: right;
568 padding-left: .5em;
569 display: box;
572 div.podcasts div.podcast div.title
574 white-space: nowrap;
575 text-overflow: ellipsis;
576 overflow: hidden;
579 div.podcasts div.podcast div.title a
581 font-family: 'Source Sans Pro';
582 font-weight: 300;
583 font-size: 1.9em;
586 div.podcasts div.podcast div.description
588 text-overflow: ellipsis;
589 overflow: hidden;
590 margin-top: .5em;
591 height: 7em;
594 div.podcasts div.podcast div.actions a.btn,
595 div.podcasts div.podcast div.actions button.btn
598 display: none;
599 margin-bottom: 1em;
600 box-flex: 1;
604 div.podcasts div.podcast:hover div.actions a.btn,
605 div.podcasts div.podcast:hover div.actions button.btn
607 display: block;
610 /* http://stackoverflow.com/a/18330040/693140 */
611 .nav > li.disabled.nav-header > a {
612 cursor: default;
613 font-size: 12px;
614 font-weight: bold;
615 text-transform: uppercase;
618 .tab-pane
620 padding-top: 1em;
623 .centered {
624 float: none;
625 margin: 0 auto;