X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fcss%2Fblerg.css;h=7abf7e77053a0b869da6f7779af882c589df6042;hb=6778ec81726c7c5dc04ceef2ca68b410df890470;hp=f9c36eded7d4b7fcd1d810b67d7c2a82bbc443dc;hpb=aaf68d34233c00efc95426cdf35f6cb088f24d20;p=blerg.git diff --git a/www/css/blerg.css b/www/css/blerg.css index f9c36ed..7abf7e7 100644 --- a/www/css/blerg.css +++ b/www/css/blerg.css @@ -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; } @@ -241,6 +233,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;