X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fcss%2Fblerg.css;h=aa28664be5ec0386f037d43c494602006302ba0a;hb=b97aaf62ec7989362d563df202d5a62db68e3e0a;hp=6624bc2bb15209f8651fcca95f41ef7fb3277a2e;hpb=7ebd65e63357a169e932216ed2150e7977bcfa38;p=blerg.git diff --git a/www/css/blerg.css b/www/css/blerg.css index 6624bc2..aa28664 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; @@ -152,7 +144,7 @@ h1, h2, h3 { } .blerg-main { - padding: 15pt 15pt 20pt 15pt; + padding: 15pt 15pt 0 15pt; } .signup-button { @@ -179,39 +171,111 @@ h1, h2, h3 { } .blerg-post { - padding: 20pt 20pt 16pt 20pt; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #1E1E1E; } .blerg-post h2 { font-size: 14pt; - margin: 0; + margin: 12pt 12pt 8pt 12pt; +} + +.blerg-post .content-decorator { + display: block; + border-color: #999; + margin: 8pt 12pt 12pt; + height: 35%; +} + +.blerg-post .content { + display: block; + width: 100%; + height: 100%; + font-size: 14pt; + font-family: sans-serif; +} + +.blerg-post .toolbar { + height: 54px; + overflow: hidden; } -.blerg-post .buttons { +.blerg-post .toolbar .switcher { + color: black; + background-color: white; + padding: 12pt 8pt 2px 12pt; +} + +.blerg-post .toolbar .buttons { + 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; + background-size: auto 100%; } -.blerg-post .buttons .onyx-button { +.blerg-post .toolbar .buttons .onyx-button { margin-left: 4pt; height: 0.4in; width: 1in; } -.blerg-post .onyx-input-decorator { - display: block; - border-color: #999; - margin: 4pt 0; +.blerg-post .bottom-panel { + height: 45%; + color: black; + background-color: white; } -.blerg-post .onyx-textarea { - display: block; - width: 100%; +.blerg-post .bottom-panel > div { + padding: 0 12pt; } -.blerg-post .content { - font-size: 14pt; - font-family: sans-serif; - height: 51pt; +.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 { @@ -291,27 +355,118 @@ h1, h2, h3 { margin: 1em 0; } +.latest { + display: table; + margin: 0 auto; + border-spacing: 10px; +} + .latest h2 { font-size: 16pt; + margin-top: 0; +} + +.latest-scroller { + height: 600px; + padding: 12px; + overflow-y: auto; +} + +.latest-posts { + display: table-cell; + border: 2px solid #E6E6E6; + color: #4C4C4C; + width: 850px; +} + +.latest-posts .record { + font-size: 12pt; + margin: 10px 0; } .latest-tags { - text-align: center; + display: table-cell; + border: 2px solid #E6E6E6; + background-color: #FAE3FC; line-height: 2em; + width: 480px; } .latest-tags a { margin: 0 0.75em; } -.latest-posts { - height: 184pt; - overflow: hidden; +@media screen and (min-width: 1400px) { + .latest { width: 1340px; } } -.latest-posts .record { - font-size: 12pt; - margin: 8pt 0; +@media screen and (max-width: 1100px) { + .latest { + display: block; + margin-top: 15px; + } + .latest-posts { + display: block; + width: auto; + margin-right: 0; + overflow: auto; + } + .latest-tags { + display: block; + width: auto; + margin-top: 10px; + } + .latest-tags .latest-scroller { + height: auto; + } +} + +@media screen and (max-width: 800px) { + .latest-posts, .latest-tags { + 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 { @@ -325,6 +480,7 @@ h1, h2, h3 { } .blerg-dialog { + position: fixed; width: 300px; padding: 8px; } @@ -361,3 +517,16 @@ h1, h2, h3 { table.help td { padding: 2pt 8pt; } + +footer { + clear: both; + margin: 15pt; + font-size: small; + color: #333; + text-align: right; +} + +footer a { + color: #333; + margin-left: 1em; +}