Let the annoying commence.
[edumed.git] / edumed / static / css / base.scss
index b21a555..567c0fb 100644 (file)
@@ -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,10 +14,8 @@ a {
 }
 
 body {
-    font-family: Dosis;
+    @include base-font;
     margin: 0;
-    background: white;
-    color: $ciemny;
 }
 .clr {
     clear: both;
@@ -88,6 +84,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 +136,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 +155,9 @@ footer.main {
             font-size: .75em;
         }
     }
+    .footer-extra p {
+        margin-top: 0;
+    }
 }
 
 
@@ -223,6 +223,13 @@ footer.main {
         color: $oranji;
     }
 }
+.link-list-colored {
+    a {
+        color: $oranji;
+    }
+}
+
+
 .plain {
     margin: 0;
     padding: 0;
@@ -231,3 +238,10 @@ footer.main {
         margin: 1em 0;
     }
 }
+
+.flatpage {
+    img {
+        border: 5*$px solid #eee;
+        margin: 1.3em;
+    }
+}