X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a50ddc685551384615e95785eb01d4505412df5e..8dfdf23561fd3566cb066b6939a7234697e231f6:/prawokultury/static/css/base.css diff --git a/prawokultury/static/css/base.css b/prawokultury/static/css/base.css old mode 100755 new mode 100644 index 82be08d..275e498 --- a/prawokultury/static/css/base.css +++ b/prawokultury/static/css/base.css @@ -1,171 +1,52 @@ +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Regular.css); +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Bold.css); +@import url(//static.mdrn.pl/fonts/Lato-2.010/Lato-Italic.css); body { - font-family: sans-serif; - font-size: .625em; - background: #edece7; -} + font-family: 'Lato', sans-serif; + font-size: .625em; + background-color: #edece7; + background-image: url("/static/img/bg.png"); + background-repeat: no-repeat; + color: #363a3b; + margin-top: 0; + background-position: 50% 0; } a { - text-decoration: none; -} -a:hover { - text-decoration: underline; -} - -#menu { - list-style: none; - padding-left: 0; - margin-left: 0; - text-transform: uppercase; - margin: 0; -} -#menu #item-lang a { - color: #0050a2; -} -#menu li { - display: inline-block; - position: relative; - list-style: none; - padding-left: 0; - margin-right: 5em; -} -#menu li a { - color: black; -} -#menu li.active { - font-weight: bold; -} -#menu li.active:before { - color: #004e98; - content: "("; - position: absolute; - left: -.7em; - font-size: 2em; - top: -.25em; -} -#menu li.active:after { - color: #004e98; - content: ")"; - position: absolute; - right: -.7em; - font-size: 2em; - top: -.25em; -} - -.avatar { - float: left; - margin-left: -60px; -} -.entry { - margin-left: 60px; -} -.entry h2 { - margin: 0; -} -.entry-data { - font-size: .8em; -} - + text-decoration: none; + color: #ed7f00; } +a:hover { + text-decoration: underline; } -.bar-right { - width: 25em; - float: right; -} -.bar-left { - width: 70em; - float: left; -} -#body { - width: 96em; - margin: auto; - padding: 1em; -} -#footer-bar { - color: #4b4c47; - border-top: 1px solid #acacaa; - padding-top: 1.5em; - margin-top: 4em; -} -.footer-item { - width: 24em; - float: left; -} -#search-form input { - font-size: 1.1em; - width: 18em; - border: none; - border-radius: 1.5em 0 0 1.5em; - background: white; - color: black; - height: 2em; -} -#search-form button { - font-size: 1.1em; - width: 3em; - height: 2em; - border: none; - background: #3bb0a8; - color: white; - border-radius: 0 1em 1em 0; -} +img { + border: 0; } -.sidebar-box { - border-top: 1px solid #8a8b85; - padding-top: 1.5em; - padding-bottom: 1.5em; - clear: both; -} +h1 { + margin: 0 0 .5em 0; + color: #ed7f00; + font-size: 2em; } -.sidebar-box .event-list { - list-style: none; - padding-left: 0; -} -.sidebar-box .more { - text-align: right; -} -.sidebar-box .event-list li { - margin-top: .8em; -} +.warning { + border: 1px solid #ddd; + padding: 1em; + background: #ffd; + font-size: 1.3em; } -.sidebar-box .event-list .date { - clear: both; - float: left; - background: #494949; - color: #69efe6; - width: 4em; - height: 3.8em; - border-radius: .5em; - padding: .5em; - text-align: center; - margin-right: 1em; -} -.sidebar-box .event-list a { - display: block; -} -.sidebar-box .event-list .date .day { - font-size: 1.8em; - font-style: italic; -} -.sidebar-box .event-list .date .mon { - text-transform: uppercase; -} +.notice { + font-size: 1.3em; } -#sidebar-box-categories ul { - width: 50%; - display: table-cell; - list-style: none; - padding-left: 0; - padding-right: 4em; -} -#sidebar-box-categories .category-taxonomy-topics a { - color: #31ada3; -} +.normal { + font-size: 1.3em; } -#sidebar-box-categories .category-taxonomy-types a { - color: #ff6100; -} +.sponsor-logos a { + margin-bottom: 1.5em; } +.bios p { + clear: left; + margin-left: 200px; + margin-top: 3em; } -sdiv { - border: #ddd 1px solid; -} \ No newline at end of file +.bios p img { + float: left; + margin: 0 -200px 3em -200px; + box-shadow: 0 0 1em #777; }