Skip to content

Instantly share code, notes, and snippets.

@zachbrowne
Created May 1, 2012 20:53
Show Gist options
  • Save zachbrowne/2571299 to your computer and use it in GitHub Desktop.
Save zachbrowne/2571299 to your computer and use it in GitHub Desktop.
zachbrowne.com Core custom.css File for Thesis on WordPress
/**********************************************
*** Contents of custom.css file. ***
**********************************************
* 1. fonts *
* 2. body *
* 3. page *
* 4. header area *
* 5. text *
* 6. menu *
* 7. content area *
* 8. footer area *
* 9. twitter stuff *
**********************************************/
/*---:[ 1. fonts ]:---*/
@import url(http://fonts.googleapis.com/css?family=Oswald|Pacifico);
/*---;[ 2. body ]:---*/
body.custom {
overflow-x:hidden !important; /* Removes horizontal scrollbar */
background: #fff url(images/border_top.png) repeat-x;
}
/*---:[ 3. page ]:---*/
.custom .full_width > .page {
background: none;
}
/*---:[ 4. header area ]:---*/
.custom #header #logo {
font-family: 'Pacifico', Arial, sans-serif;
text-shadow: -1px -1px -1px #aaa;
}
.custom #header #tagline {
font-family: 'Oswald', Arial, serif;
font-weight: normal;
text-transform: uppercase;
}
/*---:[ 5. text ]:---*/
.custom h1,
.custom h2,
.custom h3 {
font-weight: normal;
font-variant: normal;
line-height: 1.333em;
font-family: 'Oswald', Arial, sans-serif;
letter-spacing: normal;
color: #4a4a4a;
text-shadow: -1px -1px -1px #aaa;
text-transform: uppercase;
}
/*---:[ 6. menu ]:---*/
.custom #nav_area {
padding-bottom: 2em;
}
.custom .menu a {
border: none;
text-transform: none;
letter-spacing: 0;
}
.custom .menu {
background: -moz-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
background: -webkit-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
-pie-background: linear-gradient(#FCFCFC, #ECECEC);
border-color: #EAEAEA #F5F5F5 #F5F5F5 #F5F5F5;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
border-right: 1px solid #e3e3e3;
border-left: 1px solid #e3e3e3;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-background-clip:padding;
-webkit-background-clip:padding-box;
background-clip:padding-box;
-webkit-box-shadow: 1px 0px 15px rgba(0,0,0,0.2);
-moz-box-shadow: 1px 0px 15px rgba(0,0,0,0.2);
box-shadow: 1px 0px 15px rgba(0,0,0,0.2);
-pie-box-shadow: 0 1px 1px #ccc;
position: relative;
}
.custom .menu li {
background: -moz-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
background: -webkit-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
-pie-background: linear-gradient(#FCFCFC, #ECECEC);
background: none;
border-right: 1px solid #e3e3e3;
position: relative;
}
.custom .menu li a {
background: none;
padding: 15px 25px;
text-decoration: none;
display: block;
font-weight: bold;
text-shadow: 1px 1px 0px #fff;
cursor: pointer;
}
.custom .menu li a:hover,
.custom .menu li a:active
.custom .menu li .current > a,
.custom .menu li .current-cat > a,
.custom .menu li .current-menu-item > a {
color: #545454;
background: none;
}
.custom .menu.sub-menu {
background: -moz-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
background: -webkit-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
border-color: #EAEAEA #F5F5F5 #F5F5F5 #F5F5F5;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.custom .menu .sub-menu li {
border: none;
}
.custom .menu .sub-menu li a {
background: #f0f0f0;
padding: 5px 0px 5px 8px;
height: 32px;
line-height: 32px;
border-radius: 0;
min-width: 210px;
border-bottom: none;
position: static;
behavior: none;
}
.custom .menu .sub-menu li a:hover {
background: #fff;
border-bottom: none;
}
/*---:[ 7. content area ]:---*/
.custom #content_area {
padding-bottom: 30px;
}
/*---:[ 8. footer area ]:---*/
.custom li.widget .widget_box {
border: 1px solid #ddd;
background: #fff;
}
#footer_widget_area {
background: #eee;
padding: 4em 0 2em 0;
border: 1px solid #ddd;
}
#footer_widget_area .page {
padding-bottom: 0;
background: none;
}
#footer_widgets {
padding: 2em 1.1em;
overflow: auto;
padding-top: 0;
padding-bottom: 0;
color: #7e7e7e;
}
#footer_widgets ul {
list-style: none;
}
#footer_widgets .col {
float: left;
width: 30%;
text-shadow: 1px 1px #fff;
}
#footer_widgets .col h3 {
color: #4a4a4a;
text-transform: uppercase;
font-size: 1.4em;
font-weight: bold;
margin-bottom: 1em;
font-family: 'Oswald', Arial, Helvetica, sans-serif;
text-shadow: none;
}
#footer_widgets .col p {
font-size: 1em;
}
#footer_widgets .footer2 {
margin: 0 5%;
}
#footer_widgets .footer3 {
float: right;
}
.custom #footer_area {
border-top: 6px solid #4565be;
background: #375199;
}
.custom #footer_area .page {
padding-bottom: 0;
}
.custom #footer {
padding-top: 2.4em;
padding-bottom: 2.4em;
border-top: none;
text-align: center;
}
.custom #footer p {
line-height: 1.714em;
color: #fff;
}
.custom #footer a {
color: #fff;
border: none;
text-decoration: underline;
}
.custom #footer a:hover {
text-decoration: none;
}
/*---:[ 9. twitter stuff ]:---*/
.custom #twitter_div {
padding: 0.625em;
border: 3px double #ddd;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
margin-bottom: 25px;
}
.custom #twitter_div img {
float: right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment