X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a50ddc685551384615e95785eb01d4505412df5e..14425cbf8199fa9edbad4fab49eb8a79b7eeadd0:/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..feddf60 --- a/prawokultury/static/css/base.css +++ b/prawokultury/static/css/base.css @@ -1,171 +1,64 @@ +@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: 0; + padding: 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; } +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: #01519a; + 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; -} +h2 { + font-size: 1.2em; + color: #01519a; } -.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; -} +.warning { + border: 1px solid #ddd; + padding: 1em; + background: #ffd; + 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; -} +.notice { + font-size: 1.3em; } -#sidebar-box-categories .category-taxonomy-types a { - color: #ff6100; -} +.normal { + font-size: 1.3em; } +.entry-wrapped .gallery { + clear: both; } +.entry-wrapped .gallery-item { + float: left; + width: 300px; + text-align: center; + margin-top: 2em; } + .entry-wrapped .gallery-item p { + min-height: 1.25em; } +.entry-wrapped .gallery-image { + height: 240px; + width: 300px; + display: table-cell; + vertical-align: middle; } +.entry-wrapped .gallery-image img { + margin: 0 auto; + display: block; } -sdiv { - border: #ddd 1px solid; -} \ No newline at end of file +.questions li { + margin-bottom: 1em; }