]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/css/style.scss
style: add rules for figure captions
[chloro.git] / chloro / phyll / static / css / style.scss
index b46a441be72329c73314be02580e4135cd66c89f..4354edb73917e0d73567caacbd4a9678a86a8b03 100644 (file)
@@ -64,18 +64,41 @@ main {
 }
 
 .home {
-       a {
+       nav a {
                text-transform: uppercase;
-               display: block;
+               display: inline-block;
                text-decoration: none;
                font-size: 500%;
                font-weight: bold;
                padding-top: 0.5em;
                line-height: 50%;
+               width: 100%;
                span {
                        font-size: 30%;
                }
-               margin-bottom: 2rem;
+               margin-bottom: 1rem;
+               &.divers {
+                       width: 49%;
+               }
+               &.vrac {
+                       width: 49%;
+                       text-align: right;
+                       float: right;
+               }
+       }
+       .latest {
+               margin-top: 2em;
+               h2 {
+                       margin: 0;
+                       font-size: 400%;
+                       font-weight: bold;
+                       text-transform: uppercase;
+               }
+               .meta {
+                       padding-top: 0.5rem;
+                       padding-left: 0.5rem;
+                       color: lighten($text-color, 40%);
+               }
        }
 }
 
@@ -88,6 +111,10 @@ main {
                        border: 1px solid gray;
                        padding: 3px;
                }
+               .caption {
+                       margin-top: 0;
+                       font-style: italic;
+               }
        }
        div.meta {
                margin-top: 3em;