broke out stylesheets

This commit is contained in:
albert
2011-10-03 13:41:32 -04:00
parent 5a4682e6f9
commit 6ad9b590d9
33 changed files with 1248 additions and 1309 deletions

View File

@@ -0,0 +1,8 @@
$link_color: #006FFA;
$link_hover_color: #9093FF;
$h1_size: 2em;
$h2_size: 1.5em;
$h3_size: 1.16667em;
$h1_padding: 1.25em 0;
$h2_padding: 1.45833em 0;
$h3_padding: 1.51785em 0;

View File

@@ -0,0 +1,40 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

View File

@@ -0,0 +1,140 @@
body {
font-family: Verdana, Helvetica, sans-serif;
padding: 0;
margin: 0;
font-size: 87.5%;
line-height: 1.25em;
}
article, section {
display: block;
}
abbr[title=required] {
display: none;
}
blockquote {
margin: 0 0 1em 0;
padding: 1em;
border: 1px solid #666;
background: #EEE;
}
code {
font-family: monospace;
font-size: 1.2em;
}
dd {
margin-bottom: 1em;
}
dt {
font-weight: bold;
}
em {
font-style: italic;
}
h1, h2, h3 {
font-family: Tahoma;
font-weight: bold;
line-height: 1.25em;
}
h1 {
font-size: $h1_size;
}
h2 {
font-size: $h2_size;
}
h3 {
font-size: $h3_size;
}
fieldset {
margin-bottom: 1em;
}
header {
margin: 0 0 1em 0;
padding: 0;
display: block;
}
img {
border: none;
vertical-align: middle;
}
img.wait {
margin-left: 5px;
}
input[type=text], input[type=password], input[type=url], textarea, button {
/* border: 1px solid #AAA;*/
font-size: 1em;
/* -moz-border-radius: 4px;*/
/* -webkit-border-radius: 4px;*/
}
input[type=submit] {
padding: 1px 4px;
/* border: 1px solid #AAA;*/
/* background-color: #EEE;*/
/* -moz-border-radius: 4px;*/
/* -webkit-border-radius: 4px;*/
font-size: 1em;
cursor: pointer;
}
input:focus, textarea:focus {
/* background-color: #FFD;*/
}
input[type=submit]:hover {
/* background-color: #F6F6F6;*/
}
legend {
font-size: $h2_size;
font-weight: bold;
margin-bottom: 0.5em;
}
menu {
margin: 0;
padding: 0;
ul {
margin: 0;
padding: 0;
}
li {
margin: 0;
padding: 0 0.25em;
list-style-type: none;
display: inline;
}
}
p {
margin-bottom: 1em;
}
section {
display: block;
}
strong {
font-weight: bold;
}
table tfoot {
margin-top: 2em;
}

View File

@@ -0,0 +1,28 @@
a:link {
color: $link_color;
text-decoration: none;
}
a:visited {
color: $link_color;
text-decoration: none;
}
a:hover {
color: $link_hover_color;
text-decoration: none;
}
a:active {
color: $link_color;
text-decoration: none;
}
a.active {
font-weight: bold;
}
a.login {
font-weight: bold;
color: #e00;
}

View File

@@ -0,0 +1,45 @@
div.prose {
h1, h2, h3 {
line-height: 1em;
}
h1 {
padding: $h1_padding;
}
h2 {
padding: $h2_padding;
}
h3 {
padding: $h3_padding;
}
ul {
margin-left: 1em;
margin-bottom: 1em;
ul {
margin-bottom: 0;
}
}
li {
list-style-type: disc;
}
}
div.dtext {
width: 30em;
ul {
margin-left: 1em;
}
}
div.dtext-preview {
border: 2px dashed #AAA;
padding: 1em;
margin: 1em 0;
width: 30em;
}

View File

@@ -0,0 +1,14 @@
span.error {
display: block;
font-weight: bold;
color: red;
}
span.link {
color: $link_color;
cursor: pointer;
}
span.wait {
color: #CCC;
}

View File

@@ -0,0 +1,6 @@
div.ui-dialog {
ul {
margin-left: 1em;
margin-bottom: 1em;
}
}

View File

@@ -0,0 +1,47 @@
div#search {
margin-bottom: 1em;
}
div#page {
margin: 0 30px;
aside#sidebar {
width: 20%;
float: left;
h1 {
font-size: $h3_size;
}
ul {
list-style-type: none;
}
input[type=text] {
width: 10em;
}
}
aside#sidebar > section {
margin-bottom: 1em;
}
section#content {
width: 75%;
float: left;
margin-left: 2em;
overflow: visible;
}
}
footer#page-footer {
clear: both;
margin: 1em;
text-align: center;
padding-top: 1em;
border-top: 1px solid #EEE;
}
div.clearfix {
clear: both;
}

View File

@@ -0,0 +1,24 @@
div#news-ticker {
padding: 5px;
background: #EEE;
border-bottom: 2px solid #666;
overflow: hidden;
font-size: 0.8em;
ul {
float: left;
margin: 0;
padding: 0;
}
li {
list-style-type: none;
float: left;
margin: 0 2em 0 0;
padding: 0;
}
a#close-news-ticker-link {
float: right;
}
}

View File

@@ -0,0 +1,30 @@
span.ui-icon {
float: left;
margin-top: 0.2em;
margin-right: 0.25em;
}
div.error-messages {
margin: 1em 0;
padding: 1em;
span.ui-icon {
float: left;
margin-right: 0.5em;
}
h1 {
font-size: 1em;
color: #A00;
}
}
div#notice {
margin: 1em 0;
padding: 1em;
span.ui-icon {
float: left;
margin-right: 0.5em;
}
}

View File

@@ -0,0 +1,25 @@
header#top {
h1 {
margin: 5px 30px 0 30px;
}
menu {
margin-top: -2px;
background: #F7F7FF;
padding: 6px 20px;
li a {
padding: 6px 10px;
}
}
menu.main {
margin-top: 0px;
background: white;
li.current a {
background: #F7F7FF;
font-weight: bold;
}
}
}

View File

@@ -0,0 +1,38 @@
div.paginator {
display: block;
padding: 2em 0 1em 0;
font-size: 1em;
text-align: center;
font-weight: bold;
clear: both;
a {
margin: 0 3px;
padding: 2px 6px;
font-weight: normal;
border: 1px solid #EAEAEA;
}
a.arrow {
border: none;
}
a.arrow:hover {
background: white;
color: #9093FF;
}
a.current {
border: 1px solid #AAA;
}
a:hover {
background: rgb(60, 60, 220);
color: white;
}
span {
margin: 0 3px;
padding: 2px 6px;
}
}

View File

@@ -0,0 +1,48 @@
form.simple_form {
margin: 0 0 1em 0;
div.input.boolean {
label {
display: inline;
}
}
div.input {
margin-bottom: 1em;
input[type=text], input[type=file], input[type=password], input[type=email] {
width: 20em;
}
textarea {
width: 30em;
}
label {
display: block;
cursor: pointer;
font-weight: bold;
}
span.hint {
color: #666;
font-style: italic;
display: block;
}
fieldset {
border: none;
display: inline;
margin: 0;
padding: 0;
label {
font-weight: normal;
width: auto;
margin-right: 2em;
display: inline;
}
}
}
}

View File

@@ -0,0 +1,14 @@
.spoiler {
color: black;
background: black;
cursor: text;
display: block;
}
.spoiler a {
color: black;
}
.spoiler:hover {
color: white;
}

View File

@@ -0,0 +1,26 @@
table.striped {
p {
margin: 0;
}
td, th {
padding: 2px 4px;
}
tbody {
tr:hover {
background-color: #FFE;
}
}
thead {
th {
font-weight: bold;
text-align: left;
}
}
tr.even {
background-color: #EEE;
}
}