Skip to content

Instantly share code, notes, and snippets.

@tofumatt
Created July 9, 2010 21:31
Show Gist options
  • Save tofumatt/470096 to your computer and use it in GitHub Desktop.
Save tofumatt/470096 to your computer and use it in GitHub Desktop.
@font-face {
font-family: "Caramella";
src: url(../fonts/Caramella_Regular.ttf) format("truetype"); }
@font-face {
font-family: "DejaVu Serif";
src: url(../fonts/DejaVuSerif.ttf) format("truetype"); }
@font-face {
font-family: "Primavera";
src: url(../fonts/Primavera.ttf) format("truetype"); }
body {
background: white url(../images/body-bg.jpg) top center repeat-y;
color: black;
font-family: DejaVu Serif, Times, Times New Roman, serif;
font-size: 1.1em; }
label {
display: block;
font-weight: bold; }
input, select, textarea {
border: 1px solid #aaaaaa;
display: block;
font-size: 0.9em;
line-height: 1.2em;
margin: 0 0 0.5em;
padding: 0.2em; }
.checkbox label, .checkbox input, .checkbox select, .checkbox textarea {
border: 0;
display: inline; }
textarea {
font-size: 0.75em;
height: 250px;
width: 350px; }
table thead th {
font-weight: bold; }
table tbody td {
padding: 0.25em; }
.clear {
clear: both; }
.off-screen {
position: absolute;
text-indent: -9999px;
top: 0; }
.even {
background: #eeeeee; }
body.js .js-hide {
display: none; }
.google-maps-inline {
color: #222222;
font-size: 0.75em;
margin: 1em 0 1em 1.25em; }
.google-maps-inline iframe {
border: 1px solid #aaaaaa;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px; }
#page {
margin: 0 auto;
position: relative;
width: 770px; }
#header {
margin: 0 0 0 auto;
position: relative; }
#home {
background: url(../images/hsc-header-1.png) no-repeat center;
display: block;
height: 200px;
margin: 0 0 -30px;
position: relative;
text-decoration: none;
width: 300px;
width: 770px;
z-index: 10; }
#home:active, #home:focus {
outline: 0; }
.home-1 {
background-image: url(../images/hsc-header-1.png) !important; }
.home-2 {
background-image: url(../images/hsc-header-2.png) !important; }
.home-3 {
background-image: url(../images/hsc-header-3.png) !important; }
.home-4 {
background-image: url(../images/hsc-header-4.png) !important; }
.home-5 {
background-image: url(../images/hsc-header-5.png) !important; }
a {
color: #125bae; }
a:visited {
color: #125bae; }
a:hover, a:focus {
text-decoration: none; }
a:active {
text-decoration: none !important;
text-shadow: 0px 0px 0.3em #ae1217; }
#session {
background: white;
border: 1px solid white;
border-radius-bottomleft: 6px;
-moz-border-radius-bottomleft: 6px;
height: 20px;
padding: 4px;
position: absolute;
right: 0;
top: 0;
z-index: 10; }
#session.login {
height: 30px; }
#session a {
color: #125bae;
text-decoration: none; }
#session a:hover, #session a:focus {
text-decoration: underline; }
#session .session-action {
color: #ae1217; }
#session #login {
height: 30px;
margin: 2px 0 0; }
#session #login * {
display: inline; }
#session #login #remember_me {
display: none; }
#session #login input {
padding: 0;
width: 200px; }
#session #login #member_session_submit {
width: 75px; }
#navigation {
clear: both;
position: relative; }
#navigation h2 a {
color: #ae1217;
display: block;
font-family: "Primavera", DejaVu Serif, Times, Times New Roman, serif;
font-size: 24px;
outline: 0;
position: absolute;
text-decoration: none;
top: -25px; }
#navigation ul {
font-family: DejaVu Serif, Times, Times New Roman, serif;
font-size: 1.2em;
margin: 30px 0 0 0; }
#navigation ul li {
display: inline;
list-style: none; }
#navigation ul a {
background: #d9e4ff;
color: #3b589f;
display: block;
float: left;
padding: 6px;
outline: 0;
text-align: center;
text-decoration: none;
text-shadow: 1px 1px 0.1em #aaaaaa;
width: 127px; }
#navigation ul a:hover, #navigation ul a:focus {
color: #ae1217; }
#navigation ul a:active {
text-shadow: 1px 1px 0.1em #ae1217; }
#navigation ul a.current {
font-weight: bold; }
#navigation ul #rally_nav_link {
width: 202px; }
h1 {
font-size: 2em;
line-height: 1.3em;
padding: 0.1em 0 0.25em;
text-align: center;
text-shadow: 0.1em 0.05em 0.2em #aaaaaa; }
#content {
clear: both;
float: right;
line-height: 1.4em;
margin: 0 20px 0 0;
text-shadow: 1px 1px 0.2em #dddddd;
width: 580px; }
#content h2 {
border-bottom: 1px solid #ae1217;
font-size: 1.5em;
margin: 0.1em 0 0.25em;
padding: 0.05em 0;
text-shadow: 0.1em 0.05em 0.2em #aaaaaa;
width: 600px; }
#content .flash {
border: 2px solid;
margin: 0 0 1em;
padding: 5px;
text-align: center;
text-shadow: none;
width: 100%; }
#content #error {
background: #ffb3b3;
border-color: #8c3c3c;
color: #8c3c3c; }
#content #alert {
background: #ffe8b3;
border-color: #8c713c;
color: #593e09; }
#content #notice {
background: #b9ffb3;
border-color: #428c3c;
color: #428c3c; }
#content p {
font-size: 0.95em;
margin: 0 90px 0.75em 15px;
text-indent: 1.25em; }
#content ul {
margin: 0 90px 0.75em 15px; }
#content #current-sponsors, #content #previous-sponsors {
margin: 0 90px 0.75em 15px;
margin-left: 10px; }
#content #current-sponsors div, #content #previous-sponsors div {
clear: both;
display: block;
margin: 0.1em 0 0.25em;
min-height: 100px;
padding: 0.05em 0;
width: 475px; }
#content #current-sponsors div h3.name, #content #previous-sponsors div h3.name {
display: block;
font-size: 1.15em;
margin: 0 0 0.1em;
text-shadow: 0.1em 0.05em 0.2em #aaaaaa; }
#content #current-sponsors div h3.name a, #content #previous-sponsors div h3.name a {
color: black;
text-decoration: none; }
#content #current-sponsors div h3.name a.edit, #content #previous-sponsors div h3.name a.edit {
color: #125bae;
font-size: 0.75em;
text-shadow: none; }
#content #current-sponsors div a, #content #previous-sponsors div a {
text-decoration: none; }
#content #current-sponsors div a:hover, #content #current-sponsors div a:focus, #content #previous-sponsors div a:hover, #content #previous-sponsors div a:focus {
text-decoration: underline; }
#content #current-sponsors div a:active, #content #previous-sponsors div a:active {
outline: 0; }
#content #current-sponsors div img, #content #previous-sponsors div img {
float: right;
margin: 0 auto 20px; }
#content #current-sponsors div p, #content #previous-sponsors div p {
color: #222222;
font-size: 0.8em;
line-height: 1.2em;
margin-right: 175px;
text-indent: 0; }
#rally-poster {
float: right;
margin: 0 -80px 0 25px; }
ul#members {
margin-right: 0; }
ul#members li {
clear: both;
display: block;
margin: 0 90px 0 0;
padding: 0.2em; }
ul#members .photo {
float: right; }
ul#members span {
float: left;
padding: 0.5em 0; }
#secondary {
color: #aaaaaa;
margin: 1em 5px 0;
width: 160px; }
#secondary p {
color: #888888;
font-size: 0.8em;
line-height: 1.2em;
margin: 0.2em 1em 0.8em 0; }
#secondary ul#sponsors li a {
display: block;
padding: 15px 0;
opacity: 1;
width: 140px; }
#secondary ul#sponsors li a:hover, #secondary ul#sponsors li a:focus {
opacity: 1; }
#secondary ul#sponsors li a:active {
outline: 0; }
#secondary ul#sponsors li img {
display: block; }
#footer {
background: url(../images/vespas.png) left top repeat-x;
border-top: 1px solid #aaaaaa;
margin: 0 20px 0 5px;
padding: 0.5em 0 2em; }
#footer .social-links {
background: white;
margin: -8px 0 0 auto;
padding: 9px 0 1px;
width: 290px; }
#footer .social-links a {
background: right 7px no-repeat;
float: left;
font-size: 0.8em;
height: 40px;
padding: 8px 5px 0 12px;
outline: 0;
text-decoration: none;
width: 128px; }
#footer .social-links a:active {
text-shadow: 0px 0px 0.3em #125bae; }
#footer .social-links #facebook-footer {
background-image: url(../images/icons/facebook_32.png); }
#footer .social-links #twitter-footer {
background-image: url(../images/icons/twitter_32.png); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment