X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/5ca33d388049e1d2dd7e5fd1a31fdc86ca959e5d..4745d72c4d1baa545b4026463e0dd645d04f5a27:/edumed/static/css/base.scss diff --git a/edumed/static/css/base.scss b/edumed/static/css/base.scss index b21a555..1f6d195 100644 --- a/edumed/static/css/base.scss +++ b/edumed/static/css/base.scss @@ -1,9 +1,7 @@ -@import url(http://fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext); +@import url(//fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext); -$px: .0625em; -$oranji: #ed7831; -$ciemny: #363a3e; -$zielony: #16a487; +@import "vars"; +@import "mixins"; a { @@ -16,14 +14,27 @@ a { } body { - font-family: Dosis; + @include base-font; margin: 0; - background: white; - color: $ciemny; } .clr { clear: both; } + +#ads { + display: inline-block; + width: 100%; + + > a { + display: block; + width: 100%; + } + + img { + display: block; + margin: 0 auto; + } +} #header-wrapper { background-image: url(../img/header-bar.png); background-repeat: repeat-x; @@ -88,6 +99,7 @@ header.main { height: 34*$px; text-align:center; margin: auto; + margin-bottom: .8em; } .menu-lekcje:before { background: url(../img/menu/lekcje.png) no-repeat 0 0; background-size: 100%;} .menu-kompetencje:before { background: url(../img/menu/katalog.png) no-repeat 0 0; background-size: 100%;} @@ -139,16 +151,16 @@ footer.main { border-top: 1px solid #c9ccce; width: 940 * $px; padding: .2em 10 * $px; - margin: 40*$px auto 0 auto; + margin: 40*$px auto 1em auto; color: #9a9c9e; + p { + font-size: .75em; + } .footer-item { float: left; margin-right: 20 * $px; width: 220 * $px; - p { - font-size: .75em; - } } .sponsors-column { float: left; @@ -158,6 +170,9 @@ footer.main { font-size: .75em; } } + .footer-extra p { + margin-top: 0; + } } @@ -223,6 +238,13 @@ footer.main { color: $oranji; } } +.link-list-colored { + a { + color: $oranji; + } +} + + .plain { margin: 0; padding: 0; @@ -231,3 +253,10 @@ footer.main { margin: 1em 0; } } + +.flatpage { + img { + border: 5*$px solid #eee; + margin: 1.3em; + } +}