Added a 'you don't have HTML5 so this video will not work' warning using just the...
[mediagoblin.git] / mediagoblin / static / css / base.css
1 /* @font-face */
2
3 @font-face {
4 font-family: 'Lato';
5 font-style: normal;
6 font-weight: 700;
7 src: local('Lato Bold'), local('Lato-Bold'), url('../fonts/Lato-Bold.ttf') format('truetype');
8 }
9 @font-face {
10 font-family: 'Lato';
11 font-style: italic;
12 font-weight: 400;
13 src: local('Lato Italic'), local('Lato-Italic'), url('../fonts/Lato-Italic.ttf') format('truetype');
14 }
15 @font-face {
16 font-family: 'Lato';
17 font-style: italic;
18 font-weight: 700;
19 src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('../fonts/Lato-BoldItalic.ttf') format('truetype');
20 }
21 @font-face {
22 font-family: 'Lato';
23 font-style: normal;
24 font-weight: 400;
25 src: local('Lato Regular'), local('Lato-Regular'), url('../fonts/Lato-Regular.ttf') format('truetype');
26 }
27
28 body {
29 background-color: #111;
30 background-image: url("../images/background.png");
31 color: #C3C3C3;
32 font-family: sans-serif;
33 padding: none;
34 margin: 0px;
35 height: 100%;
36 font: 16px "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
37 font-family:'Lato', sans-serif;
38 }
39
40 form {
41 margin: 0px;
42 padding: 0px;
43 }
44
45 /* text styles */
46
47 h1{
48 margin-bottom: 15px;
49 margin-top: 15px;
50 color: #fff;
51 font-size: 1.875em;
52 }
53
54 h2{
55 font-size: 1.375em;
56 margin-top: 20px;
57 color: #fff;
58 }
59
60 h3{
61 border-bottom: 1px solid #333;
62 font-size: 1.125em;
63 }
64
65 a {
66 color: #86D4B1;
67 }
68
69 a.highlight {
70 color: #fff;
71 }
72
73 label {
74 font-weight: normal;
75 }
76
77 input, textarea {
78 font-size:1em;
79 font-family:'Lato', sans-serif;
80 }
81
82 /* website structure */
83
84 .mediagoblin_body {
85 position: relative;
86 min-height: 100%;
87 }
88
89 .mediagoblin_header {
90 height: 36px;
91 padding-top: 14px;
92 margin-bottom: 20px;
93 border-bottom: 1px solid #333;
94 }
95
96 a.mediagoblin_logo{
97 color: #fff;
98 font-weight: bold;
99 margin-right: 8px;
100 }
101
102 .mediagoblin_footer {
103 height: 30px;
104 border-top: 1px solid #333;
105 bottom: 0px;
106 padding-top: 8px;
107 text-align: center;
108 font-size: 0.875em;
109 }
110
111 .mediagoblin_content {
112 padding-bottom: 74px;
113 }
114
115 .mediagoblin_header_right {
116 float: right;
117 }
118
119 /* common website elements */
120
121 .button_action, .button_action_highlight {
122 display: inline-block;
123 color: #c3c3c3;
124 background-color: #363636;
125 border: 1px solid;
126 border-color: #464646 #2B2B2B #252525;
127 border-radius: 4px;
128 padding: 3px 8px;
129 font-size: 16px;
130 text-decoration: none;
131 font-style: normal;
132 font-weight: bold;
133 cursor: pointer;
134 }
135
136 .button_action_highlight {
137 background-color: #86D4B1;
138 border-color: #A2DEC3 #6CAA8E #5C9179;
139 color: #283F35;
140 }
141
142 .button_form, .cancel_link {
143 height: 32px;
144 min-width: 99px;
145 background-color: #86d4b1;
146 background-image: -webkit-gradient(linear, left top, left bottom, from(#86d4b1), to(#62caa2));
147 background-image: -webkit-linear-gradient(top, #86d4b1, #62caa2);
148 background-image: -moz-linear-gradient(top, #86d4b1, #62caa2);
149 background-image: -ms-linear-gradient(top, #86d4b1, #62caa2);
150 background-image: -o-linear-gradient(top, #86d4b1, #62caa2);
151 background-image: linear-gradient(top, #86d4b1, #62caa2);
152 box-shadow: 0px 0px 4px #000;
153 border-radius: 3px;
154 border: none;
155 color: #272727;
156 margin: 10px 0px 10px 15px;
157 text-align: center;
158 padding-left: 11px;
159 padding-right: 11px;
160 text-decoration: none;
161 font-family: 'Lato', sans-serif;
162 font-weight: bold;
163 }
164
165 .cancel_link {
166 background-color: #aaa;
167 background-image: -webkit-gradient(linear, left top, left bottom, from(##D2D2D2), to(#aaa));
168 background-image: -webkit-linear-gradient(top, #D2D2D2, #aaa);
169 background-image: -moz-linear-gradient(top, #D2D2D2, #aaa);
170 background-image: -ms-linear-gradient(top, #D2D2D2, #aaa);
171 background-image: -o-linear-gradient(top, #D2D2D2, #aaa);
172 background-image: linear-gradient(top, #D2D2D2, #aaa);
173 }
174
175 .pagination {
176 text-align: center;
177 }
178
179 .pagination_arrow {
180 margin: 5px;
181 }
182
183 .empty_space {
184 background-image: url("../images/empty_back.png");
185 font-style: italic;
186 text-align: center;
187 height: 160px;
188 padding-top: 70px;
189 }
190
191 .right_align {
192 float: right;
193 }
194
195 textarea#comment_content {
196 width: 634px;
197 height: 90px;
198 border: none;
199 background-color: #f1f1f1;
200 padding: 3px;
201 }
202
203 /* forms */
204
205 .form_box {
206 background-color: #222;
207 background-image: url("../images/background_lines.png");
208 background-repeat: repeat-x;
209 padding-bottom: 30px;
210 padding-top: 30px;
211 margin-left: auto;
212 margin-right: auto;
213 display: block;
214 float: none;
215 }
216
217 .edit_box {
218 background-image: url("../images/background_edit.png");
219 }
220
221 .form_field_input input, .form_field_input textarea {
222 width: 100%;
223 }
224
225 .form_field_input {
226 margin-bottom: 10px;
227 }
228
229 .form_field_label {
230 margin-bottom: 4px;
231 }
232
233 .form_field_label {
234 font-size:1.125em;
235 }
236
237 .form_field_description {
238 font-style: italic;
239 }
240
241 .form_field_error {
242 background-color: #87453b;
243 color: #fff;
244 border: none;
245 padding: 9px;
246 margin-top: 8px;
247 margin-bottom: 8px;
248 }
249
250 .form_submit_buttons {
251 text-align: right;
252 }
253
254 /* comments */
255
256 .comment_author {
257 margin-bottom: 40px;
258 padding-top: 4px;
259 font-size: 0.9em;
260 }
261
262 .comment_content {
263 margin-bottom: 30px;
264 }
265
266 .comment_content p {
267 margin-bottom: 0px;
268 }
269
270 /* media galleries */
271
272 .media_thumbnail {
273 padding: 0px;
274 width: 180px;
275 overflow: hidden;
276 float: left;
277 margin: 0px 4px 10px 4px;
278 text-align: center;
279 font-size: 0.875em;
280 }
281
282 .media_thumbnail a {
283 color: #eee;
284 text-decoration: none;
285 }
286
287 /* media detail */
288
289 h2.media_title {
290 margin-bottom: 0px;
291 }
292
293 p.media_specs {
294 font-size: 0.9em;
295 border-top: 1px solid #222;
296 border-bottom: 1px solid #222;
297 padding: 10px 0px;
298 color: #888;
299 }
300
301 .no_html5 {
302 background: black;
303 color: white;
304 text-align: center;
305 height: 160px;
306 padding: 130px 10px 20px 10px;
307 }
308
309 /* icons */
310
311 img.media_icon {
312 margin: 0 4px;
313 vertical-align: sub;
314 }
315
316 /* navigation */
317
318 .navigation_button {
319 width: 135px;
320 display: block;
321 float: left;
322 text-align: center;
323 background-color: #1d1d1d;
324 border: 1px solid;
325 border-color: #2c2c2c #232323 #1a1a1a;
326 border-radius: 4px;
327 text-decoration: none;
328 padding: 12px 0 16px;
329 font-size: 1.4em;
330 margin: 0 0 20px
331 }
332
333 .navigation_left {
334 margin-right: 6px;
335 }
336
337 /* messages */
338
339 ul.mediagoblin_messages {
340 list-style: none inside;
341 color: #f7f7f7;
342 }
343
344 .mediagoblin_messages li {
345 margin: 5px 0;
346 padding: 8px;
347 text-align: center;
348 }
349
350 .message_success {
351 background-color: #378566;
352 }
353
354 .message_warning {
355 background-color: #87453b;
356 }
357
358 .message_error {
359 background-color: #87453b;
360 }
361
362 .message_info {
363 background-color: #378566;
364 }
365
366 .message_debug {
367 background-color: #f7f7f7;
368 color: #272727;
369 }
370
371 ul.mediaentry_tags {
372 list-style-type: none;
373 }
374
375 ul.mediaentry_tags li {
376 display: inline;
377 margin: 0px 5px 0px 0px;
378 padding: 0px;
379 }
380
381
382 /* media processing panel */
383
384 table.media_panel {
385 width: 100%;
386 }
387
388 table.media_panel th {
389 font-weight: bold;
390 padding-bottom: 4px;
391 }
392
393
394 /* Delete panel */
395
396 .delete_checkbox_box {
397 margin-top: 10px;
398 margin-left: 10px;
399 }