]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/css/style.scss
templates: add contact email in footer
[chloro.git] / chloro / phyll / static / css / style.scss
index b46a441be72329c73314be02580e4135cd66c89f..5e2f05b53e4303d344bac1a79d52d1cc87b481c6 100644 (file)
@@ -47,35 +47,62 @@ header {
 
 div.actions {
        position: absolute;
-       top: 1rem;
-       right: 1rem;
+       top: 0.5rem;
+       left: 1rem;
+       z-index: 100;
        a {
-               margin-left: 1rem;
+               margin-right: 1rem;
        }
 }
 
-main {
+main, footer {
        margin: 0 4em;
        padding: 1em;
-       background: #fafaff;
        max-width: 70em;
+}
+
+main {
+       background: #fafaff;
        min-height: 70vh;
        clip-path: polygon(0px 0px, 96.35% -24px, 101.99% 7.86%, 100.61% 103.56%, 10% 100%, 0% 100%, 0px 0px);
 }
 
 .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 +115,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;
@@ -117,5 +157,27 @@ main {
                        font-size: 60%;
                }
        }
+}
+
+.older.post-list {
+       margin: 5em 0 2em 0;
+       padding: 1em 0;
+       border-top: 0.1em dotted $link-color;
+       border-bottom: 0.1em dotted $link-color;
+       line-height: 200%;
+       li {
+               display: inline;
+               a {
+                       padding-top: 0;
+                       display: inline;
+                       font-size: 120%;
+               }
+       }
+}
 
+footer {
+       p {
+               text-align: right;
+               font-size: 100%;
+       }
 }