]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/css/style.scss
style: increase line height in paragraphs
[chloro.git] / chloro / phyll / static / css / style.scss
index c7849251d33e6b03eb64acec9a8cd636fa82db01..63526efcd17a9ea12b162b68f9f199ddfe6844c4 100644 (file)
@@ -47,10 +47,11 @@ header {
 
 div.actions {
        position: absolute;
-       top: 1rem;
-       right: 1rem;
+       top: 0.5rem;
+       left: 1rem;
+       z-index: 100;
        a {
-               margin-left: 1rem;
+               margin-right: 1rem;
        }
 }
 
@@ -64,7 +65,7 @@ main {
 }
 
 .home {
-       a {
+       nav a {
                text-transform: uppercase;
                display: inline-block;
                text-decoration: none;
@@ -76,7 +77,7 @@ main {
                span {
                        font-size: 30%;
                }
-               margin-bottom: 2rem;
+               margin-bottom: 1rem;
                &.divers {
                        width: 49%;
                }
@@ -86,6 +87,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 +112,19 @@ main {
                        border: 1px solid gray;
                        padding: 3px;
                }
+               .caption {
+                       margin-top: 0;
+                       font-style: italic;
+               }
+       }
+       p {
+               line-height: 160%;
+       }
+       code,
+       pre.screen {
+               background: #111;
+               color: white;
+               padding: 2px;
        }
        div.meta {
                margin-top: 3em;