]> 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 e25a946a594b21b2a61f5ce2a4a1362351e3586f..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,18 +65,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 +112,23 @@ 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;
+               color: lighten($text-color, 40%);
        }
 }
 
@@ -98,6 +139,9 @@ main {
                list-style: none;
                display: inline-block;
        }
+       li.unpublished {
+               opacity: 0.5;
+       }
        a {
                text-transform: uppercase;
                display: inline-block;