cec236f4ee34c6b51a1bb519730030b4e0dfc11c
[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 }
100
101 .mediagoblin_footer {
102 height: 30px;
103 border-top: 1px solid #333;
104 bottom: 0px;
105 padding-top: 8px;
106 text-align: center;
107 font-size: 0.875em;
108 }
109
110 .mediagoblin_content {
111 padding-bottom: 74px;
112 }
113
114 .mediagoblin_header_right {
115 float: right;
116 }
117
118 /* common website elements */
119
120 .button_action, .button_action_highlight{
121 color: #c3c3c3;
122 background-color: #363636;
123 border: 1px solid;
124 border-color: #464646 #2B2B2B #252525;
125 border-radius: 4px;
126 margin: 8px;
127 padding: 3px 8px;
128 text-decoration: none;
129 font-style: normal;
130 font-weight: bold;
131 font-size: 1em;
132 }
133
134 .button_action_highlight{
135 background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109, 173, 144));
136 }
137
138
139 .button_form, .cancel_link {
140 height: 32px;
141 min-width: 99px;
142 background-color: #86d4b1;
143 background-image: -webkit-gradient(linear, left top, left bottom, from(#86d4b1), to(#62caa2));
144 background-image: -webkit-linear-gradient(top, #86d4b1, #62caa2);
145 background-image: -moz-linear-gradient(top, #86d4b1, #62caa2);
146 background-image: -ms-linear-gradient(top, #86d4b1, #62caa2);
147 background-image: -o-linear-gradient(top, #86d4b1, #62caa2);
148 background-image: linear-gradient(top, #86d4b1, #62caa2);
149 box-shadow: 0px 0px 4px #000;
150 border-radius: 3px;
151 border: none;
152 color: #272727;
153 margin: 10px 0px 10px 15px;
154 text-align: center;
155 padding-left: 11px;
156 padding-right: 11px;
157 text-decoration: none;
158 font-family: 'Lato', sans-serif;
159 font-weight: bold;
160 }
161
162 .cancel_link {
163 background-color: #aaa;
164 background-image: -webkit-gradient(linear, left top, left bottom, from(##D2D2D2), to(#aaa));
165 background-image: -webkit-linear-gradient(top, #D2D2D2, #aaa);
166 background-image: -moz-linear-gradient(top, #D2D2D2, #aaa);
167 background-image: -ms-linear-gradient(top, #D2D2D2, #aaa);
168 background-image: -o-linear-gradient(top, #D2D2D2, #aaa);
169 background-image: linear-gradient(top, #D2D2D2, #aaa);
170 }
171
172 .pagination{
173 text-align: center;
174 }
175
176 .pagination_arrow{
177 margin: 5px;
178 }
179
180 .empty_space{
181 background-image: url("../images/empty_back.png");
182 font-style: italic;
183 text-align: center;
184 height: 160px;
185 padding-top: 70px;
186 }
187
188 /* forms */
189
190 .form_box {
191 background-color: #222;
192 background-image: url("../images/background_lines.png");
193 background-repeat: repeat-x;
194 padding-bottom: 30px;
195 padding-top: 30px;
196 margin-left: auto;
197 margin-right: auto;
198 display: block;
199 float: none;
200 }
201
202 .edit_box {
203 background-image: url("../images/background_edit.png");
204 }
205
206 .form_field_input input, .form_field_input textarea {
207 width: 100%;
208 }
209
210 .form_field_input {
211 margin-bottom: 10px;
212 }
213
214 .form_field_label {
215 margin-bottom: 4px;
216 }
217
218 .form_field_label {
219 font-size:1.125em;
220 }
221
222 .form_field_description {
223 font-style: italic;
224 }
225
226 .form_field_error {
227 background-color: #87453b;
228 color: #fff;
229 border: none;
230 padding: 9px;
231 margin-top: 8px;
232 margin-bottom: 8px;
233 }
234
235 .form_submit_buttons {
236 text-align: right;
237 }
238
239 /* comments */
240
241 .comment_author {
242 margin-bottom: 40px;
243 padding-top: 4px;
244 font-size: 0.9em;
245 }
246
247 .comment_content {
248 margin-bottom: 30px;
249 }
250
251 .comment_content p {
252 margin-bottom: 0px;
253 }
254
255 /* media galleries */
256
257 .media_thumbnail {
258 padding: 0px;
259 width: 180px;
260 overflow: hidden;
261 float: left;
262 margin: 0px 4px 10px 4px;
263 text-align: center;
264 font-size: 0.875em;
265 }
266
267 .media_thumbnail a {
268 color: #eee;
269 text-decoration: none;
270 }
271
272 /* media detail */
273
274 h2.media_title{
275 margin-bottom: 0px;
276 }
277
278 p.media_uploader{
279 font-size: 0.9em;
280 }
281
282 /* icons */
283
284 img.media_icon{
285 margin: 0 4px;
286 vertical-align: sub;
287 }
288
289 /* navigation */
290
291 .navigation_button{
292 width: 135px;
293 display: block;
294 float: left;
295 text-align: center;
296 background-color: #1d1d1d;
297 border: 1px solid;
298 border-color: #2c2c2c #232323 #1a1a1a;
299 border-radius: 4px;
300 text-decoration: none;
301 padding: 8px 0px 14px;
302 font-size: 2em;
303 margin: 0 0 20px
304 }
305
306 p.navigation_button{
307 color: #272727;
308 }
309
310 .navigation_left{
311 margin-right: 6px;
312 }
313
314 /* messages */
315
316 ul.mediagoblin_messages {
317 list-style: none inside;
318 color: #f7f7f7;
319 }
320
321 .mediagoblin_messages li {
322 margin: 5px 0;
323 padding: 8px;
324 text-align: center;
325 }
326
327 .message_success {
328 background-color: #378566;
329 }
330
331 .message_warning {
332 background-color: #87453b;
333 }
334
335 .message_error {
336 background-color: #87453b;
337 }
338
339 .message_info {
340 background-color: #378566;
341 }
342
343 .message_debug {
344 background-color: #f7f7f7;
345 color: #272727;
346 }
347
348 ul.mediaentry_tags {
349 list-style-type: none;
350 }
351
352 ul.mediaentry_tags li {
353 display: inline;
354 margin: 0px 5px 0px 0px;
355 padding: 0px;
356 }
357
358
359 /* media processing panel */
360
361 table.media_panel {
362 width: 100%;
363 }
364
365 table.media_panel th {
366 font-weight: bold;
367 padding-bottom: 4px;
368 }
369
370
371 /* Delete panel */
372
373 .delete_checkbox_box {
374 margin-top: 10px;
375 margin-left: 10px;
376 }