Add more error checking in auth
[blerg.git] / www / css / blerg.css
index f9c36ed..aa28664 100644 (file)
@@ -134,14 +134,6 @@ a > img {
        font-weight: bold;
 }
 
-.spew-button::after {
-       content: " ▼";
-}
-
-.spew-button.active::after {
-       content: " ▲";
-}
-
 h2 {
        font-size: 20pt;
        margin-bottom: 28pt;
@@ -182,8 +174,8 @@ h1, h2, h3 {
        position: fixed;
        top: 0;
        left: 0;
-       bottom: 0;
-       right: 0;
+       width: 100%;
+       height: 100%;
        background-color: #1E1E1E;
 }
 
@@ -207,18 +199,23 @@ h1, h2, h3 {
        font-family: sans-serif;
 }
 
+.blerg-post .toolbar {
+       height: 54px;
+       overflow: hidden;
+}
+
 .blerg-post .toolbar .switcher {
        color: black;
        background-color: white;
-       height: 53px;
-       padding: 12pt 8pt 4pt 12pt;
+       padding: 12pt 8pt 2px 12pt;
 }
 
 .blerg-post .toolbar .buttons {
-       height: 53px;
-       padding: 0 12pt 0 60px;
+       padding: 0 12pt 12pt 60px;
        text-align: right;
        vertical-align: top;
+       float: right;
+       background-color: #1E1E1E;
        background-image: url(/images/corner.svg);
        background-position: left bottom;
        background-repeat: no-repeat;
@@ -241,6 +238,46 @@ h1, h2, h3 {
        padding: 0 12pt;
 }
 
+.blerg-post.enter {
+       animation: blerg-post-enter 750ms;
+}
+
+@keyframes blerg-post-enter {
+       from {
+               transform: translateY(-100%);
+               animation-timing-function: ease-in;
+       }
+
+       60% {
+               transform: translateY(0);
+               animation-timing-function: ease-out;
+       }
+
+       80% {
+               transform: translateY(-2%);
+               animation-timing-function: ease-in;
+       }
+
+       to {
+               transform: translateY(0);
+       }
+}
+
+.blerg-post.exit {
+       animation: blerg-post-exit 500ms forwards;
+}
+
+@keyframes blerg-post-exit {
+       from {
+               transform: translateY(0);
+               animation-timing-function: ease-in;
+       }
+
+       to {
+               transform: translateY(100%);
+       }
+}
+
 .login {
        display: inline-block;
        width: 200px;
@@ -389,12 +426,49 @@ h1, h2, h3 {
                border: none;
                background-color: inherit;
        }
+
        .latest-scroller {
                height: auto;
                padding: 0;
        }
 }
 
+@media screen and (max-width: 600px) {
+       .blerg-post {
+               position: inherit;
+               height: 550px;
+       }
+
+       .blerg-post .toolbar {
+               height: auto;
+       }
+
+       .blerg-post .toolbar .buttons {
+               float: none;
+               background-image: none;
+       }
+
+       .blerg-post .toolbar .switcher {
+               padding: 4pt 12pt;
+       }
+
+       .blerg-post .record {
+               margin-top: 0;
+       }
+
+       .blerg-post .record p:first-child {
+               margin-top: 0;
+       }
+
+       .blerg-post.enter {
+               animation: none;
+       }
+
+       .blerg-post.exit {
+               animation: none;
+       }
+}
+
 .author {
        font-weight: bold;
 }
@@ -449,4 +523,10 @@ footer {
        margin: 15pt;
        font-size: small;
        color: #333;
+       text-align: right;
+}
+
+footer a {
+       color: #333;
+       margin-left: 1em;
 }