| 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: #161616; |
| 30 | color: #C3C3C3; |
| 31 | padding: 0; |
| 32 | margin: 0px; |
| 33 | height: 100%; |
| 34 | font: 16px 'Lato', 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif; |
| 35 | } |
| 36 | |
| 37 | form { |
| 38 | margin: 0px; |
| 39 | padding: 0px; |
| 40 | } |
| 41 | |
| 42 | /* text styles */ |
| 43 | |
| 44 | h1,h2,h3,p { |
| 45 | margin-bottom: 20px; |
| 46 | } |
| 47 | |
| 48 | h1,h2,h3 { |
| 49 | font-weight: bold; |
| 50 | } |
| 51 | |
| 52 | h1 { |
| 53 | margin-top: 15px; |
| 54 | color: #fff; |
| 55 | font-size: 1.875em; |
| 56 | } |
| 57 | |
| 58 | h2 { |
| 59 | font-size: 1.375em; |
| 60 | margin-top: 20px; |
| 61 | color: #fff; |
| 62 | } |
| 63 | |
| 64 | h3 { |
| 65 | border-bottom: 1px solid #333; |
| 66 | font-size: 1.125em; |
| 67 | } |
| 68 | |
| 69 | p { |
| 70 | margin-top: 0px; |
| 71 | } |
| 72 | |
| 73 | a { |
| 74 | color: #86D4B1; |
| 75 | } |
| 76 | |
| 77 | a.highlight { |
| 78 | color: #fff; |
| 79 | } |
| 80 | |
| 81 | em { |
| 82 | font-style: italic; |
| 83 | } |
| 84 | |
| 85 | strong { |
| 86 | font-weight: bold; |
| 87 | } |
| 88 | |
| 89 | ul { |
| 90 | list-style: disc inside; |
| 91 | } |
| 92 | |
| 93 | ol { |
| 94 | list-style: decimal inside; |
| 95 | } |
| 96 | |
| 97 | label { |
| 98 | font-weight: normal; |
| 99 | } |
| 100 | |
| 101 | input, textarea { |
| 102 | font-size:1em; |
| 103 | font-family:'Lato', sans-serif; |
| 104 | } |
| 105 | |
| 106 | /* website structure */ |
| 107 | |
| 108 | .container { |
| 109 | margin: auto; |
| 110 | width: 96%; |
| 111 | max-width: 940px; |
| 112 | } |
| 113 | |
| 114 | header { |
| 115 | width: 100%; |
| 116 | padding: 0; |
| 117 | margin-bottom: 42px; |
| 118 | background-color: #303030; |
| 119 | border-bottom: 1px solid #252525; |
| 120 | } |
| 121 | |
| 122 | .header_right { |
| 123 | margin: 8px; |
| 124 | display: inline-block; |
| 125 | float: right; |
| 126 | } |
| 127 | |
| 128 | .header_right ul { |
| 129 | display: none; |
| 130 | position: absolute; |
| 131 | top: 42px; |
| 132 | right: 0px; |
| 133 | background: #252525; |
| 134 | padding: 20px; |
| 135 | } |
| 136 | |
| 137 | .header_right li { |
| 138 | list-style: none; |
| 139 | } |
| 140 | |
| 141 | a.logo { |
| 142 | color: #fff; |
| 143 | font-weight: bold; |
| 144 | } |
| 145 | |
| 146 | .logo img { |
| 147 | vertical-align: middle; |
| 148 | margin: 6px 8px; |
| 149 | } |
| 150 | |
| 151 | .mediagoblin_content { |
| 152 | width: 100%; |
| 153 | padding-bottom: 74px; |
| 154 | } |
| 155 | |
| 156 | footer { |
| 157 | width: 100%; |
| 158 | height: 30px; |
| 159 | border-top: 1px solid #333; |
| 160 | bottom: 0px; |
| 161 | padding: 8px 0; |
| 162 | text-align: center; |
| 163 | font-size: 0.875em; |
| 164 | clear: both; |
| 165 | } |
| 166 | |
| 167 | .media_pane { |
| 168 | width: 640px; |
| 169 | margin-left: 0px; |
| 170 | margin-right: 10px; |
| 171 | float: left; |
| 172 | } |
| 173 | |
| 174 | .media_sidebar { |
| 175 | width: 280px; |
| 176 | margin-left: 10px; |
| 177 | float: left; |
| 178 | } |
| 179 | |
| 180 | .profile_sidebar { |
| 181 | width: 340px; |
| 182 | margin-right: 10px; |
| 183 | float: left; |
| 184 | } |
| 185 | |
| 186 | .profile_showcase { |
| 187 | width: 580px; |
| 188 | margin-left: 10px; |
| 189 | float: left; |
| 190 | } |
| 191 | |
| 192 | /* common website elements */ |
| 193 | |
| 194 | .button_action, .button_action_highlight, .button_form { |
| 195 | display: inline-block; |
| 196 | color: #c3c3c3; |
| 197 | background-color: #363636; |
| 198 | border: 1px solid; |
| 199 | border-color: #464646 #2B2B2B #252525; |
| 200 | border-radius: 4px; |
| 201 | padding: 3px 8px; |
| 202 | font-size: 16px; |
| 203 | text-decoration: none; |
| 204 | font-style: normal; |
| 205 | font-weight: bold; |
| 206 | cursor: pointer; |
| 207 | } |
| 208 | |
| 209 | .button_action_highlight, .button_form { |
| 210 | background-color: #86D4B1; |
| 211 | border-color: #A2DEC3 #6CAA8E #5C9179; |
| 212 | color: #283F35; |
| 213 | } |
| 214 | |
| 215 | .button_form { |
| 216 | min-width: 99px; |
| 217 | margin: 10px 0px 10px 15px; |
| 218 | text-align: center; |
| 219 | font-family: 'Lato', sans-serif; |
| 220 | } |
| 221 | |
| 222 | .pagination { |
| 223 | text-align: center; |
| 224 | } |
| 225 | |
| 226 | .pagination_arrow { |
| 227 | margin: 5px; |
| 228 | } |
| 229 | |
| 230 | .empty_space { |
| 231 | background-image: url("../images/empty_back.png"); |
| 232 | font-style: italic; |
| 233 | text-align: center; |
| 234 | height: 160px; |
| 235 | padding-top: 70px; |
| 236 | } |
| 237 | |
| 238 | .right_align { |
| 239 | float: right; |
| 240 | } |
| 241 | |
| 242 | .clear { |
| 243 | clear: both; |
| 244 | display: block; |
| 245 | overflow: hidden; |
| 246 | visibility: hidden; |
| 247 | width: 0; |
| 248 | height: 0; |
| 249 | } |
| 250 | |
| 251 | .hidden { |
| 252 | display: none; |
| 253 | } |
| 254 | |
| 255 | .media_sidebar h3 { |
| 256 | font-size: 1em; |
| 257 | margin: 0 0 5px; |
| 258 | border: none; |
| 259 | } |
| 260 | |
| 261 | .media_sidebar p { |
| 262 | margin-left: 8px; |
| 263 | } |
| 264 | |
| 265 | /* forms */ |
| 266 | |
| 267 | .form_box,.form_box_xl { |
| 268 | background-color: #222; |
| 269 | border-top: 6px solid #D49086; |
| 270 | padding: 3% 5%; |
| 271 | display: block; |
| 272 | float: none; |
| 273 | width: 90%; |
| 274 | max-width: 340px; |
| 275 | margin-left: auto; |
| 276 | margin-right: auto; |
| 277 | } |
| 278 | |
| 279 | .form_box_xl { |
| 280 | max-width: 460px; |
| 281 | } |
| 282 | |
| 283 | .edit_box { |
| 284 | border-top: 6px dashed #D49086 |
| 285 | } |
| 286 | |
| 287 | .form_field_input input, .form_field_input textarea { |
| 288 | width: 100%; |
| 289 | } |
| 290 | |
| 291 | .form_field_input { |
| 292 | margin-bottom: 10px; |
| 293 | } |
| 294 | |
| 295 | .form_field_label { |
| 296 | margin-bottom: 4px; |
| 297 | } |
| 298 | |
| 299 | .form_field_label { |
| 300 | font-size:1.125em; |
| 301 | } |
| 302 | |
| 303 | .form_field_description { |
| 304 | font-style: italic; |
| 305 | } |
| 306 | |
| 307 | .form_field_error { |
| 308 | background-color: #87453b; |
| 309 | color: #fff; |
| 310 | border: none; |
| 311 | padding: 9px; |
| 312 | margin-top: 8px; |
| 313 | margin-bottom: 8px; |
| 314 | } |
| 315 | |
| 316 | .form_submit_buttons { |
| 317 | text-align: right; |
| 318 | } |
| 319 | |
| 320 | .subform { |
| 321 | margin: 2em; |
| 322 | } |
| 323 | |
| 324 | #password_boolean { |
| 325 | margin-top: 4px; |
| 326 | width: 20px; |
| 327 | } |
| 328 | |
| 329 | textarea#description, textarea#bio { |
| 330 | resize: vertical; |
| 331 | height: 100px; |
| 332 | } |
| 333 | |
| 334 | /* comments */ |
| 335 | |
| 336 | .comment_wrapper { |
| 337 | margin-top: 20px; |
| 338 | margin-bottom: 20px; |
| 339 | } |
| 340 | |
| 341 | .comment_wrapper p { |
| 342 | margin-bottom: 2px; |
| 343 | } |
| 344 | |
| 345 | .comment_author { |
| 346 | padding-top: 4px; |
| 347 | font-size: 0.9em; |
| 348 | } |
| 349 | |
| 350 | .comment_content { |
| 351 | margin-left: 8px; |
| 352 | margin-top: 8px; |
| 353 | } |
| 354 | |
| 355 | textarea#comment_content { |
| 356 | resize: vertical; |
| 357 | width: 100%; |
| 358 | height: 90px; |
| 359 | border: none; |
| 360 | background-color: #f1f1f1; |
| 361 | padding: 3px; |
| 362 | } |
| 363 | |
| 364 | #form_comment .form_field_input { |
| 365 | padding-right: 6px; |
| 366 | } |
| 367 | |
| 368 | /* media galleries */ |
| 369 | |
| 370 | .media_thumbnail { |
| 371 | float: left; |
| 372 | padding: 0px; |
| 373 | width: 180px; |
| 374 | overflow: hidden; |
| 375 | margin: 0px 3px 10px; |
| 376 | text-align: center; |
| 377 | font-size: 0.875em; |
| 378 | background-color: #222; |
| 379 | border-radius: 0 0 5px 5px; |
| 380 | padding: 0 0 6px; |
| 381 | text-overflow: ellipsis; |
| 382 | white-space: nowrap; |
| 383 | overflow: hidden; |
| 384 | border-color: #0D0D0D; |
| 385 | border-style: solid; |
| 386 | border-width: 1px 1px 2px; |
| 387 | } |
| 388 | |
| 389 | .media_thumbnail a { |
| 390 | color: #eee; |
| 391 | text-decoration: none; |
| 392 | display: block; |
| 393 | } |
| 394 | |
| 395 | a.thumb_entry_title { |
| 396 | padding: 8px; |
| 397 | } |
| 398 | |
| 399 | .media_thumbnail img { |
| 400 | max-height: 135px; |
| 401 | } |
| 402 | |
| 403 | .thumb_entry_last { |
| 404 | margin-right: 0px; |
| 405 | } |
| 406 | |
| 407 | /* collection media */ |
| 408 | |
| 409 | .collection_thumbnail { |
| 410 | float: left; |
| 411 | padding: 0px; |
| 412 | width: 180px; |
| 413 | margin: 0px 4px 10px; |
| 414 | text-align: left; |
| 415 | font-size: 0.875em; |
| 416 | background-color: #222; |
| 417 | border-radius: 0 0 5px 5px; |
| 418 | padding: 0 0 6px; |
| 419 | text-overflow: ellipsis; |
| 420 | } |
| 421 | |
| 422 | .collection_thumbnail a { |
| 423 | color: #eee; |
| 424 | text-decoration: none; |
| 425 | } |
| 426 | |
| 427 | .collection_thumbnail a.remove { |
| 428 | color: #86D4B1; |
| 429 | } |
| 430 | |
| 431 | .collection_thumbnail img { |
| 432 | max-height: 135px; |
| 433 | } |
| 434 | |
| 435 | /* media detail */ |
| 436 | |
| 437 | h2.media_title { |
| 438 | margin-bottom: 0px; |
| 439 | display: inline-block; |
| 440 | } |
| 441 | |
| 442 | p.context { |
| 443 | display: inline-block; |
| 444 | padding-top: 4px; |
| 445 | } |
| 446 | |
| 447 | p.media_specs { |
| 448 | font-size: 0.9em; |
| 449 | border-top: 1px solid #222; |
| 450 | padding: 10px 0px; |
| 451 | color: #888; |
| 452 | } |
| 453 | |
| 454 | .no_html5 { |
| 455 | background: black; |
| 456 | color: white; |
| 457 | text-align: center; |
| 458 | height: 160px; |
| 459 | padding: 130px 10px 20px 10px; |
| 460 | } |
| 461 | |
| 462 | a img.media_image { |
| 463 | cursor: -webkit-zoom-in; |
| 464 | cursor: -moz-zoom-in; |
| 465 | cursor: zoom-in; |
| 466 | } |
| 467 | |
| 468 | /* icons */ |
| 469 | |
| 470 | img.media_icon { |
| 471 | margin: 0 4px; |
| 472 | vertical-align: sub; |
| 473 | } |
| 474 | |
| 475 | /* navigation */ |
| 476 | |
| 477 | .navigation { |
| 478 | float: right; |
| 479 | } |
| 480 | |
| 481 | .navigation_button { |
| 482 | width: 135px; |
| 483 | display: inline-block; |
| 484 | text-align: center; |
| 485 | background-color: #1d1d1d; |
| 486 | border: 1px solid; |
| 487 | border-color: #2c2c2c #232323 #1a1a1a; |
| 488 | border-radius: 4px; |
| 489 | text-decoration: none; |
| 490 | padding: 4px 0 8px; |
| 491 | margin: 0 0 6px; |
| 492 | } |
| 493 | |
| 494 | .navigation_left { |
| 495 | margin-right: 6px; |
| 496 | } |
| 497 | |
| 498 | /* messages */ |
| 499 | |
| 500 | ul.mediagoblin_messages { |
| 501 | list-style: none inside; |
| 502 | color: #f7f7f7; |
| 503 | padding: 0; |
| 504 | } |
| 505 | |
| 506 | .mediagoblin_messages li { |
| 507 | margin: 5px 0; |
| 508 | padding: 8px; |
| 509 | text-align: center; |
| 510 | } |
| 511 | |
| 512 | .message_success { |
| 513 | background-color: #378566; |
| 514 | } |
| 515 | |
| 516 | .message_warning { |
| 517 | background-color: #87453b; |
| 518 | } |
| 519 | |
| 520 | .message_error { |
| 521 | background-color: #87453b; |
| 522 | } |
| 523 | |
| 524 | .message_info { |
| 525 | background-color: #378566; |
| 526 | } |
| 527 | |
| 528 | .message_debug { |
| 529 | background-color: #f7f7f7; |
| 530 | color: #272727; |
| 531 | } |
| 532 | |
| 533 | ul.mediaentry_tags { |
| 534 | list-style-type: none; |
| 535 | } |
| 536 | |
| 537 | ul.mediaentry_tags li { |
| 538 | display: inline; |
| 539 | margin: 0px 5px 0px 0px; |
| 540 | padding: 0px; |
| 541 | } |
| 542 | |
| 543 | |
| 544 | /* media processing panel */ |
| 545 | |
| 546 | table.media_panel { |
| 547 | width: 100%; |
| 548 | } |
| 549 | |
| 550 | table.media_panel th { |
| 551 | font-weight: bold; |
| 552 | padding-bottom: 4px; |
| 553 | } |
| 554 | |
| 555 | |
| 556 | /* Delete panel */ |
| 557 | |
| 558 | .delete_checkbox_box { |
| 559 | margin-top: 10px; |
| 560 | margin-left: 10px; |
| 561 | } |
| 562 | |
| 563 | /* ASCII art and code */ |
| 564 | |
| 565 | @font-face { |
| 566 | font-family: Inconsolata; |
| 567 | src: local('Inconsolata'), url('../fonts/Inconsolata.otf') format('opentype') |
| 568 | } |
| 569 | |
| 570 | pre, code { |
| 571 | font-family: Inconsolata, monospace; |
| 572 | line-height: 1em; |
| 573 | } |
| 574 | |
| 575 | pre { |
| 576 | overflow: auto; |
| 577 | margin-bottom: 20px; |
| 578 | } |
| 579 | |
| 580 | .comment_wrapper pre { |
| 581 | margin-bottom: 2px; |
| 582 | } |
| 583 | |
| 584 | .ascii-wrapper pre { |
| 585 | /* but it should not affect the ASCII art */ |
| 586 | margin: 0; |
| 587 | } |
| 588 | |
| 589 | /* Media queries and other responsivisivity */ |
| 590 | @media screen and (max-width: 940px) { |
| 591 | .media_pane { |
| 592 | width: 100%; |
| 593 | margin: 0px; |
| 594 | } |
| 595 | |
| 596 | .media_sidebar { |
| 597 | width: 100%; |
| 598 | margin: 0px; |
| 599 | } |
| 600 | |
| 601 | img.media_image { |
| 602 | width: 100%; |
| 603 | display: inline; |
| 604 | } |
| 605 | |
| 606 | .media_thumbnail { |
| 607 | width: 21%; |
| 608 | } |
| 609 | |
| 610 | .profile_sidebar { |
| 611 | width: 100%; |
| 612 | margin: 0px; |
| 613 | } |
| 614 | |
| 615 | .profile_showcase { |
| 616 | width: 100%; |
| 617 | margin: 0px; |
| 618 | } |
| 619 | |
| 620 | .navigation { |
| 621 | float: none; |
| 622 | } |
| 623 | |
| 624 | .navigation_button { |
| 625 | width: 49%; |
| 626 | float: right; |
| 627 | } |
| 628 | |
| 629 | .navigation_left { |
| 630 | margin-right: 0; |
| 631 | float: left; |
| 632 | } |
| 633 | |
| 634 | .navigation { |
| 635 | float: none; |
| 636 | } |
| 637 | |
| 638 | .navigation_button { |
| 639 | width: 49%; |
| 640 | float: right; |
| 641 | padding: 10px 0 14px; |
| 642 | } |
| 643 | |
| 644 | .navigation_left { |
| 645 | margin-right: 0; |
| 646 | float: left; |
| 647 | } |
| 648 | |
| 649 | .button_action, .button_action_highlight, .button_form { |
| 650 | padding: 9px 14px; |
| 651 | } |
| 652 | |
| 653 | header { |
| 654 | text-align: center; |
| 655 | } |
| 656 | |
| 657 | .header_right { |
| 658 | margin-right: 2%; |
| 659 | float: none; |
| 660 | } |
| 661 | |
| 662 | a.logo { |
| 663 | margin-left: 2%; |
| 664 | } |
| 665 | } |
| 666 | |
| 667 | @media screen and (max-width: 570px) { |
| 668 | .media_thumbnail { |
| 669 | width: 29%; |
| 670 | } |
| 671 | } |
| 672 | |
| 673 | @media screen and (max-width: 380px) { |
| 674 | .media_thumbnail { |
| 675 | width: 46%; |
| 676 | } |
| 677 | } |