X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fcss%2Fblerg.css;h=914919477362e0c1bb16e5006254e47c6f3cb343;hb=1a21466c7e3f8c18c4c35df56c270546ae8e6434;hp=cec598b7f54fe52a216f29626f6ebd3b1deacbb0;hpb=73a1174eca9932fa03220d13222b6a62eda2bfa1;p=blerg.git diff --git a/www/css/blerg.css b/www/css/blerg.css index cec598b..9149194 100644 --- a/www/css/blerg.css +++ b/www/css/blerg.css @@ -24,6 +24,7 @@ a > img { background-color: #1E1E1E; color: white; padding: 8px 8px 16px 8px; + position: relative; } .blerg-header .logo { @@ -63,21 +64,25 @@ a > img { color: black; } +.blerg-title { + float: left; + width: 35%; +} + .blerg-controls { float: right; - position: relative; - width: 50%; margin-top: 8px; margin-right: 8px; font-size: large; text-align: right; - height: 114px; } .blerg-controls-toolbar { position: absolute; right: 0; - bottom: 0; + top: 69pt; + margin-bottom: 16px; + margin-right: 16px; } .blerg-controls-toolbar .onyx-button { @@ -85,6 +90,40 @@ a > img { font-size: 14pt; } +@media screen and (max-width: 800px) { + .blerg-title { + float: none; + width: auto; + } + + .blerg-controls { + float: none; + text-align: left; + margin: 1em 0 0 0; + } + + .blerg-controls-greeting { + margin: 1em 8px; + } + + .blerg-controls-toolbar { + position: static; + margin: 1em 8px; + } + + .blerg-controls-toolbar .onyx-button { + display: block; + width: 100%; + margin: 8px 0; + } + + .blerg-controls .login { + display: block; + width: auto; + margin: 1em 0; + } +} + .feed-button.new { background-color: #E4C010; } @@ -113,7 +152,26 @@ h1, h2, h3 { } .blerg-main { - padding: 15pt 15pt 20pt 15pt; + padding: 15pt 15pt 0 15pt; +} + +.signup-button { + font-size: 40pt; + padding: 1em; + background-color: #C0F; + color: #F88; +} + +@media screen and (max-width: 800px) { + .signup-button { + font-size: 20pt; + } +} + +@media screen and (max-width: 400px) { + .signup-button { + font-size: 14pt; + } } .blerg-main h2 { @@ -233,27 +291,81 @@ 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; -} - -.latest-posts .record { - font-size: 12pt; - margin: 8pt 0; +@media screen and (min-width: 1400px) { + .latest { width: 1340px; } +} + +@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; + } } .author { @@ -267,6 +379,7 @@ h1, h2, h3 { } .blerg-dialog { + position: fixed; width: 300px; padding: 8px; } @@ -303,3 +416,10 @@ h1, h2, h3 { table.help td { padding: 2pt 8pt; } + +footer { + clear: both; + margin: 15pt; + font-size: small; + color: #333; +}