X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/e308ec385a4969eb4a95beac68bd52a141f6db5a..32f1e5e6ca927cfbb8b69e87ba456db2b5eb5f89:/edumed/static/css/base.css?ds=inline diff --git a/edumed/static/css/base.css b/edumed/static/css/base.css index 463057b..07cf233 100644 --- a/edumed/static/css/base.css +++ b/edumed/static/css/base.css @@ -16,15 +16,16 @@ body { .clr { clear: both; } -#ads { - display: inline-block; - width: 100%; } - #ads > a { +#banners { + margin: 0 auto; + width: 58.75em; } + #banners > a { display: block; width: 100%; } - #ads img { + #banners img { display: block; - margin: 0 auto; } + margin: 0 auto; + width: 100%; } #header-wrapper { background-image: url(../img/header-bar.png); @@ -73,47 +74,41 @@ header.main { text-align: center; margin: auto; margin-bottom: .8em; } - header.main nav .menu-lekcje:before { - background: url(../img/menu/lekcje.png) no-repeat 0 0; - background-size: 100%; } - header.main nav .menu-kompetencje:before { - background: url(../img/menu/katalog.png) no-repeat 0 0; - background-size: 100%; } - header.main nav .menu-wspolpraca:before { - background: url(../img/menu/wspolpraca.png) no-repeat 0 0; + header.main nav .menu-oc-program:before { + background: url(../img/menu/olimpiada/program.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-szkolenia:before { - background: url(../img/menu/szkolenia.png) no-repeat 0 0; + header.main nav .menu-oc-harmonogram:before { + background: url(../img/menu/olimpiada/harmonogram.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-wesprzyj:before { - background: url(../img/menu/wesprzyj.png) no-repeat 0 0; + header.main nav .menu-oc-regulamin:before { + background: url(../img/menu/olimpiada/regulamin.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-o-nas:before { - background: url(../img/menu/o-nas.png) no-repeat 0 0; + header.main nav .menu-oc-literatura:before { + background: url(../img/menu/olimpiada/literatura.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-kontakt:before { - background: url(../img/menu/kontakt.png) no-repeat 0 0; + header.main nav .menu-oc-komitet:before { + background: url(../img/menu/olimpiada/komitet.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-lekcje:hover:before { - background: url(../img/menu/lekcje_active.png) no-repeat 0 0; + header.main nav .menu-oc-kontakt:before { + background: url(../img/menu/olimpiada/kontakt.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-kompetencje:hover:before { - background: url(../img/menu/katalog_active.png) no-repeat 0 0; + header.main nav .menu-oc-program:hover:before { + background: url(../img/menu/olimpiada/program_active.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-wspolpraca:hover:before { - background: url(../img/menu/wspolpraca_active.png) no-repeat 0 0; + header.main nav .menu-oc-harmonogram:hover:before { + background: url(../img/menu/olimpiada/harmonogram_active.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-szkolenia:hover:before { - background: url(../img/menu/szkolenia_active.png) no-repeat 0 0; + header.main nav .menu-oc-regulamin:hover:before { + background: url(../img/menu/olimpiada/regulamin_active.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-wesprzyj:hover:before { - background: url(../img/menu/wesprzyj_active.png) no-repeat 0 0; + header.main nav .menu-oc-literatura:hover:before { + background: url(../img/menu/olimpiada/literatura_active.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-o-nas:hover:before { - background: url(../img/menu/o-nas_active.png) no-repeat 0 0; + header.main nav .menu-oc-komitet:hover:before { + background: url(../img/menu/olimpiada/komitet_active.png) no-repeat 0 0; background-size: 100%; } - header.main nav .menu-kontakt:hover:before { - background: url(../img/menu/kontakt_active.png) no-repeat 0 0; + header.main nav .menu-oc-kontakt:hover:before { + background: url(../img/menu/olimpiada/kontakt_active.png) no-repeat 0 0; background-size: 100%; } header.main #tagline { clear: both; @@ -150,12 +145,18 @@ footer.main { float: left; margin-right: 1.25em; width: 13.75em; } + footer.main .sponsors-page { + margin-bottom: 1.25em; } footer.main .sponsors-column { float: left; - margin-left: 1.25em; - width: 6.25em; } + margin-right: 1.25em; + width: 9.1875em; } footer.main .sponsors-column p { font-size: .75em; } + footer.main .sponsors-column:first-child { + margin-left: 0; } + footer.main .sponsors-column:nth-last-child(2) { + width: 6.25em; } footer.main .footer-extra p { margin-top: 0; } @@ -213,5 +214,25 @@ footer.main { margin: 1em 0; } .flatpage img { - border: 0.3125em solid #eeeeee; + border: 0.3125em solid #eee; margin: 1.3em; } + +ul.messages { + list-style: none; } + +.messages li { + top: 20px; + left: 20px; + border-radius: 0.938em; + padding: 5px 2px; + color: white; + text-align: center; + font-weight: bold; } + .messages li.error { + background: red; + border: 1px solid black; } + .messages li.info { + background: #ed7831; + border: none; } + +/*# sourceMappingURL=base.css.map */