]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/css/style.scss
add link/unlink to quick edit
[chloro.git] / chloro / phyll / static / css / style.scss
index cc3b22433c6a2ed01271695502a63cd05ef401a9..e3fb0af250a9d97b8c95f82f43a7b2cf10d0d841 100644 (file)
@@ -47,18 +47,23 @@ 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 {
+       position: relative;
+       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);
 }
@@ -111,6 +116,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;
@@ -140,5 +158,59 @@ 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%;
+       }
+}
+
+#style-popup {
+       background: white;
+       input {
+               display: none;
+               padding: 3px;
+               border: 1px inset #ccc;
+               background: white;
+               width: 0px;
+               transition: width ease 2s;
+               &.shown {
+                       display: inline-block;
+                       width: 400px;
+               }
+       }
+       button {
+               padding: 0;
+               height: 2em;
+               width: 2em;
+               text-align: center;
+               background: #eee;
+               border: 1px outset #ccc;
+               margin-right: 1px;
+               &:hover {
+                       background: #ccc;
+               }
+               &[data-action=createLink] {
+                       color: blue;
+                       text-decoration: underline;
+               }
+       }
 }