Skip to content

Instantly share code, notes, and snippets.

@ringmaster
Created June 22, 2012 17:49
Show Gist options
  • Save ringmaster/2974192 to your computer and use it in GitHub Desktop.
Save ringmaster/2974192 to your computer and use it in GitHub Desktop.
Casbah CSS
/*Created by http://freehtml5templates.com
reset*/
* {
margin: 0;
padding: 0;
}
@font-face {
font-family: AdamskySFRegular;
src: url('adma-webfont.eot');
src: url('adma-webfont.eot?#iefix') format('embedded-opentype'), url('adma-webfont.woff') format('woff'), url('adma-webfont.ttf') format('truetype'), url('adma-webfont.svg#AdamskySFRegular') format('svg');
}
/*font-family: "Tahoma","Times New Roman",Times, serif; font-size: 20px;
render html5 elements as block*/
header,footer,section,aside,nav,article {
display: block;
}
body {
font-family: AdamskySFRegular;
text-transform: uppercase;
/*font-family: "Tahoma","Times New Roman",Times, serif; font-size: 20px;*/
font-size: 14px;
line-height: 17px;
background-color: #000000;
}
/*layout*/
#container {
text-transform: none;
font-family: AdamskySFRegular;
float: left;
line-height: 17px;
}
#pagecontainer {
height: 600px;
text-transform: none;
font-family: AdamskySFRegular;
float: left;
padding-left: 20px;
padding-right: 11px;
}
#leftright {
float: left;
}
#pagecontent h1 {
font-family: AdamskySFRegular;
text-transform: uppercase;
padding: 0px 15px 20px 0px;
color: #2EBF49;
font-size: 20px;
text-align: left;
}
#pagecontent h2 {
font-family: AdamskySFRegular;
text-transform: uppercase;
padding: 0px 15px 5px 25px;
color: #FFF;
font-size: 15px;
}
#pagecontent {
margin: 0 25px 0 15px;
width: 885px;
padding-top: 10px;
clear: both;
color: #FFFFFF;
}
#pagecontent a {
color: #FFFFFF;
}
#pagemain,#pagewrapper {
margin: 0 auto;
width: 950px;
}
#sellrecords {
}
#sellrecords img {
float: right;
}
#sellvinyl {
text-transform: none;
border-bottom: thin;
border-bottom-color: #009999;
padding-bottom: 15px;
}
#mappage h2 {
color: #FFFFFF;
font-family: AdamskySFRegular;
font-size: 15px;
padding: 5px 0;
text-transform: uppercase;
}
#contact li {
padding-left: 0;
}
#contact ul {
padding-left: 0;
}
.map2 {
color: #FFFFFF;
font-family: AdamskySFRegular;
font-size: 15px;
padding: 5px 0;
text-transform: uppercase;
}
#mappage p {
float: left;
}
#contact {
width: 300px;
float: left;
}
#blog h2 {
color: #FFFFFF;
padding: 0 15px 5px 225px;
text-transform: uppercase;
}
#sellvinyl h2 {
color: #FFFFFF;
font-size: 15px;
padding: 0 15px 5px 0px;
text-transform: uppercase;
}
#sellvinyl p {
margin-bottom: 5px;
}
#records {
margin: 100px 35px 0 0;
}
#container {
float: right;
width: 950px;
height: 600px;
}
#content {
margin: 0 280px 0 20px;
}
.clears {
clear: both;
}
.clearer {
clear: both;
}
#getdown {
padding-top: 10px;
float: left;
overflow: hidden;
width: 200px;
margin-top: 2px;
margin: 60px 0px 0 20px;
background-image: url(/images/bettergetdown.png);
background-repeat: no-repeat;
height: 300px;
width: 300px;
}
#getdown p {
color: #000000;
font-size: 20px;
line-height: 20px;
padding-left: 10px;
padding-right: 120px;
padding-top: 55px;
text-align: center;
}
.menu,#main,#wrapper {
margin: 0 auto;
width: 950px;
}
#wrapper {
background-color: #000000;
margin-top: 15px;
}
.footer-segment {
float: left;
margin-right: 20px;
width: 210px;
}
#fourth {
margin-right: 0;
}
#fourth p {
padding-right: 5px;
}
/*basics*/
h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #333;
}
a {
color: #FFCC00;
text-decoration: none;
display: inline;
}
a:hover {
color: #FF3399;
}
hr {
background-color: #E7E7E7;
border: 0;
height: 1px;
margin-bottom: 15px;
clear: both;
}
p {
color: #FFFFFF;
}
li {
padding-left: 5px;
color: #FFFFFF;
list-style-type: none;
}
/*header*/
#pageheader {
background-color: #000000;
margin-top: 1px;
padding-top: 10px;
}
header img a {
border: none;
}
header {
background-color: #000000;
margin-top: 1px;
padding-top: 10px;
}
header img {
clear: both;
display: block;
border-width: 0;
}
header > h1 {
float: left;
margin: 0 0 18px;
font-size: 50px;
line-height: 36px;
text-align: center;
}
header > h1 a {
font-weight: bold;
text-decoration: none;
}
header > h2 {
color: #777;
clear: right;
float: right;
font-style: italic;
margin: 14px 0 18px;
width: 220px;
text-shadow: 0px 2px 3px #DDD;
}
/*nav*/
.menu {
margin: 0 auto;
width: 950px;
display: block;
float: left;
background-color: #000000;
text-transform: uppercase;
text-align: center;
}
.menu {
font-size: 16px;
font-weight: bold;
margin-left: 20px;
}
.menu ul {
list-style: none;
margin: 0;
}
.menu li {
float: left;
padding-left: 10px;
text-align: center;
}
nav .menu a {
display: block;
text-decoration: none;
color: #FFF;
line-height: 38px;
}
nav .menu a:hover {
color: #FF3399;
}
/*nav 1-level dropdowns*/
nav .menu li ul {
display: none;
}
nav .menu ul li a {
display: block;
text-decoration: none;
color: #FFF;
white-space: nowrap;
padding-left: 11px;
padding-right: 11px;
width: 940;
background-color: #000000;
}
nav .menu ul li a:hover {
background-color: #000000;
}
nav .menu li:hover ul {
display: block;
}
nav .menu li:hover li {
float: none;
font-size: 11px;
}
nav .menu li:hover a {
background-color: #000000;
}
nav .menu li:hover li a:hover {
background-color: #000000;
}
/*main content background-image: url(images/casbahgirlbackgroundb.png);
background-position:bottom right;
background-repeat:no-repeat;*/
#pagemain {
padding-right: 40px;
padding: 10px 0 0;
height: 600px;
clear: both;
background-image: url(http://www.lab.edmondson-uk.com/user/themes/casbaha/images/otherpagecasbahgirl.png);
background-repeat: no-repeat;
}
#home {
padding: 50px 0 0;
height: 565px;
clear: both;
background-image: url(http://www.lab.edmondson-uk.com/user/themes/casbaha/images/maipagecasbahgirl.png);
background-repeat: no-repeat;
}
#content {
margin-bottom: 36px;
color: #FFF;
font-size: 16px;
line-height: 24px;
padding-top: 100px;
padding-left: 350px;
}
.clear {
clear: both;
}
#leftcolumn {
width: 500px;
float: left;
}
#rightcolumn {
width: 300px;
float: right;
}
.entry p {
margin-bottom: 1em;
}
article {
padding: 10px;
}
article img {
border: none;
}
#links {
margin: 100px 25px 0;
}
#records {
margin: 100px 25px 0 0;
}
#records p {
margin-bottom: 0em;
text-transform: uppercase;
font-weight: bolder;
font-size: 25px;
text-align: right;
line-height: 35px;
}
#address {
margin: 160px 25px 0 0;
color: #2EBF49;
line-height: 20px;
}
#address p {
margin-bottom: 0em;
text-transform: uppercase;
font-weight: bolder;
color: #2EBF49;
font-size: 30px;
text-align: right;
line-height: 35px;
}
#content p,#content ul,#content ol,#content hr {
margin-bottom: 24px;
text-transform: capitalize;
font-weight: bolder;
}
.right {
float: right;
}
.left {
float: left;
}
.pink {
color: #FF3399;
}
.yellow {
color: #FFCC00;
}
#entry {
color: #FFFFFF;
}
#entry p {
color: #FFFFFF;
}
.text2 {
padding-right: 10px;
padding-left: 0px;
}
.spacer {
margin-bottom: 50px;
}
.green {
color: #2EBF49;
}
#content ul ul,#content ol ol,#content ul ol,#content ol ul {
margin-bottom: 0;
}
#content h1,#content h2,#content h3,#content h4,#content h5,#content h6 {
color: #FFFFFF;
margin: 0 0 20px;
line-height: 1.5em;
}
.alignleft,img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,img.alignright,img.aligncenter {
margin-bottom: 12px;
}
/*sidebar and footer widget blocks*/
aside h3 {
font-size: 18px;
line-height: 1.5em;
text-shadow: 0px 2px 3px #DDD;
}
aside ul {
list-style: square inside;
margin-bottom: 20px;
color: #56C9EF;
}
footer {
margin-bottom: 10px;
clear: both;
}
#footer-area {
color: #FFFFFF;
padding: -20px 0;
overflow: hidden;
padding-left: 25px;
padding-right: 25px;
text-transform: lowercase;
}
#footer-area a {
color: #FFFFFF;
text-decoration: none;
text-transform: lowercase;
}
#footer-area img {
border-style: none;
}
img.floatLeft {
float: left;
margin: 4px;
}
img.floatRight {
float: right;
margin: 4px;
}
.paging {
margin-top: 20px;
text-align: center;
color: #FFFFFF;
}
.paging a {
color: #FFFFFF;
}
.paging a.current-page {
color: #FFFFFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment