review/static/style.css @ c4db1e4882dd
web: yet more styling. index is done for now.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 12 Jun 2010 20:51:20 -0400 |
parents |
cd17a814bf17 |
children |
fcbf8d764330 |
.group:after {
clear: both;
content: ' ';
display: block;
font-size: 0;
line-height: 0;
visibility: hidden;
width: 0;
height: 0;
}
* html .group, *:first-child + html .group {
zoom: 1;
}
html, body {
background-color: #edecc7;
background: #edecc7 url('bg.png') top left repeat;
}
body {
color: #292620;
font-family: "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
}
body .hr {
height: 0;
width: 100%;
border-top: 1px solid #fcfcfc;
}
body .wrap {
width: 800px;
margin: 0 auto;
}
body .hr.one {
border-top: none;
height: 3px;
background-color: #87b04d;
border-bottom: 1px solid #648239;
}
body .hr.two {
border-top: none;
border-bottom: 1px solid #94b95f;
}
body .header {
background-color: #648239;
border-bottom: 1px solid #5a7533;
}
body .header h1 {
color: #292620;
text-shadow: 0px 1px 1px #94b95f;
float: right;
line-height: 60px;
margin: 0 10px 0 0;
}
body .header h1 a {
color: black;
text-decoration: none;
}
body .header h1 a:hover {
text-decoration: underline;
}
body .header .remotes .remote {
padding-top: 6px;
}
body .header .remotes form {
display: inline;
margin-bottom: 0;
}
body .header .remotes form a {
font: bold 12px "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
color: #212000;
line-height: 1.45;
display: inline-block;
text-decoration: none;
padding: 1px;
background-color: #f9f8d3;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border-top: 1px solid #bab994;
border-right: 1px solid #a9a883;
border-left: 1px solid #a9a883;
border-bottom: 1px solid #989772;
margin-right: 3px;
}
body .header .remotes form a span {
background-color: #edecc7;
display: inline-block;
padding: 0 6px;
text-shadow: 0px 1px 1px #fffffa;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
body .header .remotes form a:hover {
border-top: 1px solid #dddbac;
border-right: 1px solid #c8c695;
border-left: 1px solid #c8c695;
border-bottom: 1px solid #aead83;
background-color: #fefdd8;
}
body .header .remotes form a:hover span {
background-color: #fefdd8;
}
body .header .remotes form a:active {
margin-top: 1px;
margin-bottom: -1px;
}
body .content {
border-top: 1px solid #f8f7e8;
}
body .content .wrap {
border: 1px solid #d8d685;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
-webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
margin-top: 20px;
padding: 21px 20px;
width: 760px;
background-color: #fafafa;
}
body .footer {
text-align: center;
margin-top: 14px;
}
body .footer a {
color: #292620;
font-weight: bold;
text-decoration: none;
}
body .footer a:hover {
color: #bf4c18;
}
body a {
color: #b6410c;
text-decoration: none;
font-weight: bold;
}
body a:hover {
text-decoration: underline;
}
body a:active {
color: #bf1900;
}
#index .content table {
width: 100%;
}
#index .content table tr {
border: none;
}
#index .content table tr:nth-child(even) {
background-color: #f5f5e1;
}
#index .content table tr td {
border: none;
}
#index .content table tr td a {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#index .content table tr td.node .rev {
font-weight: bold;
}
#index .content table tr td.node .sep {
font-weight: normal;
padding: 0px 2px 0px 1px;
color: #bebebe;
}
#index .content table tr td.node .hash {
color: #888888;
font: normal 11px Menlo, Monaco, Consolas, "Courier New", monospace;
}
#index .content table tr td.stats {
text-align: right;
}
#index .content table tr td.stats .badge {
color: white;
font-weight: bold;
display: inline-block;
line-height: 1;
padding: 4px 5px;
margin-left: 4px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#index .content table tr td.stats .badge.yes {
background-color: green;
}
#index .content table tr td.stats .badge.no {
background-color: red;
}
#index .content table tr td.stats .badge.neutral {
background-color: #666;
}
#index .content table tr td.stats .badge.comments {
background-color: #ff6f24;
}