Skip to content

Instantly share code, notes, and snippets.

@ghthor
Forked from anonymous/maintest.css
Created August 18, 2011 22:19
Show Gist options
  • Save ghthor/1155409 to your computer and use it in GitHub Desktop.
Save ghthor/1155409 to your computer and use it in GitHub Desktop.
css Testing
body {
margin: 0;
}
body.index {
background-color: #000;
background-image: url(images/background9.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
margin: 0;
}
body.profile {
background-color: #000;
background-image: url(images/background5.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
}
body.photos {
background-color: #000;
background-image: url(images/background4.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
}
body.video {
background-color: #000;
background-image: url(images/background8.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
}
body.other {
background-color: #000;
background-image: url(images/background6.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
}
body.animation {
background-color: #000;
background-image: url(images/background7.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center 100%;
font-family: Abel;
font-size: 16px;
color: #FFF;
}
#top{
width:100%;
background:#000;
}
#container{
margin-left:auto;
margin-right:auto;
margin-top:70px;
font-size: 64px;
font-family: Abel;
font-weight: bold;
font-color:#999;
width: 63%;
bottom: 50%;
top: 50%;
padding-top:0px;
}
h1 {
font-family: Abel;
font-size: 64px;
color: #FFF;
font-style: normal;
font-weight: bold;
text-align:center;
padding-top:15px;
}
#bottombar {
position:fixed;
left:0;
bottom:0;
height:30px;
width:100%;
background:#000;
text-align:right;
}
#bottombar a{
text-decoration:none;
color:#FFF;
}
h2 {
font-family: Abel;
font-size: 32px;
text-align: inherit;
position:fixed;
}
#navmenu {
background:#000;
margin-left: 20%;
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
min-width: 1024px;
}
#navmenu ul {
list-style:none;
padding:0;
margin: 0;
}
#navmenu ul li {
list-style:none;
font-family:Abel;
font-size:36px;
color:#FFF;
display: inline-block;
}
a:hover{color:#F60;
}
#navmenu ul li a:hover{
color:#F60;
}
#navmenu ul li a{
overflow:hidden;
font-family:Abel;
text-align:center;
margin-left:auto;
margin-right:auto;
font-size: 26px;color:#FFF;
text-decoration:none;
padding:12px 16px;
}
#title{
margin-top:0px;
padding-top:0;
background-image: url(images/pnggraybox1.png);
background-repeat: repeat;
}
#logo{
background-image: url(images/jameslogowhite.png);
background-repeat: no-repeat;
position: fixed;
height:500px;
width:300px;
float:left;
top:285px;
overflow:hidden;
}
h3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #999;
top: -6px;
position: relative;
padding-right:10px;
}
#container2 {
width: 100%;
bottom: 100px;
background-image: url(images/pnggraybox1.png);
background-repeat: repeat;
padding-top: 0px;
padding-bottom: 500px;
margin-top:5px;
}
.text{color:#000;z-index:-1;}
#logo2{
background-image: url(images/jameslogoblack.png);
background-repeat: no-repeat;
position: fixed;
height:100%;
width:auto;
float:left;
top:30%;
max-width: 289px;
max-height: 373px;
}
#logo3{
position: fixed;
height:auto;
float:left;
top:30%;
max-width: 289px;
max-height: 373px;
width: 20%;
display: inline-block;
}
#logo3 img {
width:100%;
}
#logo4{
position: fixed;
height:auto;
float:left;
top:30%;
max-width: 289px;
max-height: 373px;
width: 20%;
display: inline-block;
}
#logo4 img {
width: 100%;
}
@ghthor
Copy link
Author

ghthor commented Aug 18, 2011

Also remove the width and height html attributes from the logo img tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment