Rework API to provide global state for individual instances
[blerg.git] / www / css / blerg.css
index efaec44..ed87bc6 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 @font-face {
        font-family: "Alte Haas Grotesk Bold";
        src: url("/fonts/AlteHaasGroteskBold.ttf");
@@ -9,57 +12,80 @@ body {
        background-color: white;
 }
 
+a.ref {
+       color: #404040;
+}
+
 a > img {
        border: 0;
 }
 
-#header {
-       background-image: url(/images/title_bg.png);
-       background-size: auto 100%;
-       background-repeat: repeat-x;
+.blerg-header {
        background-color: #1E1E1E;
        color: white;
        padding: 8px 8px 16px 8px;
 }
 
-#header .logo {
+.blerg-header .logo {
        float: left;
        margin-right: 10px;
 }
 
-#header h1 {
+.blerg-header h1 {
        margin: 4px 0 0 0;
        font-size: 65px;
        text-shadow: black 0px 2px;
 }
 
-#header a {
+.blerg-header a {
        color: inherit;
        text-decoration: none;
 }
 
-#header a:hover {
+.blerg-header a:hover {
        text-decoration: underline;
 }
 
-#header h2 {
+.blerg-header h2 {
        margin: 0;
        font-size: 28px;
        text-shadow: black 0px 1px;
 }
 
-#siteid {
-       float: left;
-       width: 40%;
-}
-
-#controls {
+.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;
+}
+
+.blerg-controls-toolbar .onyx-button {
+       margin-left: 4pt;
+       font-size: 14pt;
+}
+
+.spew-button {
+       color: #333;
+       background-color: #0D0;
+       font-weight: bold;
+}
+
+.spew-button::after {
+       content: " ▼";
+}
+
+.spew-button.active::after {
+       content: " ▲";
 }
 
 h2 {
@@ -71,59 +97,162 @@ h1, h2, h3 {
        font-family: "Alte Haas Grotesk Bold", sans-serif;
 }
 
-#main {
+.blerg-main {
        padding: 15pt 15pt 20pt 15pt;
 }
 
-#signup {
-       padding: 8pt;
-}
-
-#main h2, #signup h2, #about h2 {
+.blerg-main h2 {
        margin: 8pt 0;
 }
 
-#post {
-       padding: 20pt;
-       margin-bottom: 1.5em;
+.blerg-post {
+       padding: 20pt 20pt 16pt 20pt;
 }
 
-#post h2 {
+.blerg-post h2 {
        font-size: 14pt;
-       margin: 4pt 0 0 -4px;
+       margin: 0;
 }
 
-#post\.buttons {
+.blerg-post .buttons {
        text-align: right;
-       margin-right: -4px;
 }
 
-#post\.buttons input {
-       font-size: 14pt;
+.blerg-post .buttons .onyx-button {
+       margin-left: 4pt;
+       height: 0.4in;
+       width: 1in;
 }
 
-#post\.content {
+.blerg-post .onyx-input-decorator {
+       display: block;
+       border-color: #CCC;
+       margin: 4pt 0;
+}
+
+.blerg-post .onyx-textarea {
+       display: block;
+       width: 100%;
+}
+
+.blerg-post .content {
        font-size: 14pt;
        font-family: sans-serif;
-       margin: 4pt 0 4pt -4px;
-       border-width: 0;
-       padding: 4px;
+       height: 51pt;
+}
+
+.login {
+       display: inline-block;
+       width: 200px;
+}
+
+.login .onyx-button {
+       width: 100%;
+       margin-top: 4pt;
+}
+
+.login .enyo-input {
        width: 100%;
 }
 
+.blerg-user-controls {
+       font-size: 14pt;
+       text-align: right;
+}
+
+.blerg-user-controls a {
+       color: inherit;
+       text-decoration: none;
+       margin-left: 4pt;
+}
+
+.blerg-user-controls a:hover {
+       text-decoration: underline;
+}
+
+
 .record {
        margin: 8pt 0 24pt 0;
        font-size: 14pt;
 }
 
+.record p {
+       margin-bottom: 0;
+}
+
 .record .info {
        color: #8F8F8F;
        font-size: small;
        font-style: italic;
 }
 
+.record .info a {
+       color: #8F8F8F;
+}
+
 #navigation {
        font-size: small;
        color: #8F8F8F;
        text-align: right;
 }
+
+.latest h2 {
+       font-size: 16pt;
+}
+
+.latest-tags {
+       text-align: center;
+       line-height: 2em;
+}
+
+.latest-tags a {
+       margin: 0 0.75em;
+}
+
+.latest-posts {
+       height: 184pt;
+       overflow: hidden;
+}
+
+.latest-posts .record {
+       font-size: 12pt;
+       margin: 8pt 0;
+}
+
+.author {
+       font-weight: bold;
+}
+
+#usercontrols {
+       font-weight: bold;
+}
+
+.quote {
+       border-left: 2px solid blue;
+       padding-left: 6px;
+       margin-left: 2px;
+}
+
+.blerg-dialog {
+       width: 300px;
+       padding: 8px;
+}
+
+.blerg-dialog h2 {
+       font-size: 14pt;
+       margin: 0;
+}
+
+.blerg-dialog .onyx-groupbox {
+       margin: 8px 0;
+}
+
+.blerg-dialog .onyx-button {
+       display: block;
+       margin: 8px 0 0 0;
+       width: 100%;
+}
+
+.blerg-dialog .onyx-input {
+       width: 100%;
+}