]> 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 c7849251d33e6b03eb64acec9a8cd636fa82db01..4354edb73917e0d73567caacbd4a9678a86a8b03 100644 (file)
@@ -64,7 +64,7 @@ main {
 }
 
 .home {
-       a {
+       nav a {
                text-transform: uppercase;
                display: inline-block;
                text-decoration: none;
@@ -76,7 +76,7 @@ main {
                span {
                        font-size: 30%;
                }
-               margin-bottom: 2rem;
+               margin-bottom: 1rem;
                &.divers {
                        width: 49%;
                }
@@ -86,6 +86,20 @@ main {
                        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%);
+               }
+       }
 }
 
 .post {
@@ -97,6 +111,10 @@ main {
                        border: 1px solid gray;
                        padding: 3px;
                }
+               .caption {
+                       margin-top: 0;
+                       font-style: italic;
+               }
        }
        div.meta {
                margin-top: 3em;