Skip to content

Instantly share code, notes, and snippets.

@henrebotha
Created March 20, 2016 08:29
Show Gist options
  • Save henrebotha/3885ecb5ab38c3c083b7 to your computer and use it in GitHub Desktop.
Save henrebotha/3885ecb5ab38c3c083b7 to your computer and use it in GitHub Desktop.
example CSS
body, article, header
{
background-color:white;
/*background-image:url("FFTA2-Logo.jpg");*/
background-repeat:no-repeat;
background-attachment:fixed;
color:black;
font-family:Arial,Helvetica,sans-serif;
}
body
{
font-size:87.5%;
padding: 25px 15% 75px 15%;
margin:50px;
}
h1
{
text-align:center;
}
h1, h2, h3, h4, h5, h6, th
{
color:#006699;
}
table, th, td
{
border:1px solid #006699;
}
th, td
{
padding:5px;
}
td
{
vertical-align:top;
}
/*Following part is styling for navbar*/
ul.nav
{
list-style-type:none;
margin:0 auto;
padding:0;
width:384px;
}
li.nav
{
display:inline;
float:left;
}
a.nav
{
background-color:#006699;
color:white;
display:block;
font-size:75%;
font-weight:bold;
padding:4px;
text-align:center;
text-decoration:none;
width:120px;
}
a.nav:hover, a.nav:active
{
background-color:#003366;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment