-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 86351dc
Showing
9 changed files
with
1,532 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* style for basic HTML elements */ | ||
|
||
html, body { | ||
background: white; | ||
color: #222; | ||
font: normal 16px sans-serif; | ||
margin: 0px; | ||
padding: 0px; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
padding: 0px; | ||
} | ||
h1 { | ||
font-size: 150%; | ||
margin: 15px 0px; | ||
} | ||
h2 { | ||
font-size: 130%; | ||
margin: 10px 0px; | ||
} | ||
h3 { | ||
font-size: 110%; | ||
margin: 10px 0px; | ||
} | ||
|
||
a:link { | ||
color: #07b; | ||
text-decoration: none; | ||
} | ||
a:hover { | ||
text-decoration: underline; | ||
} | ||
a:visited { | ||
color: #666; | ||
} | ||
|
||
pre { | ||
border: 1px solid #aaa; | ||
background-color: white; | ||
margin: 5px; | ||
padding: 5px; | ||
white-space: pre-wrap; | ||
overflow-x: auto; | ||
} | ||
|
||
fieldset { | ||
border: 1px dotted #999; | ||
background: #f6f9fc; | ||
font-size: .846em; | ||
} | ||
fieldset legend { | ||
font-weight: bold; | ||
margin-bottom: 5px; | ||
} | ||
|
||
button, input[type="button"] { | ||
border: 1px solid #aaa; | ||
padding: 3px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
/* style for defining the overall layout of the page (header, navigation, main container) */ | ||
|
||
ul { | ||
margin: 0px; | ||
} | ||
|
||
header nav { | ||
margin: 0px; | ||
display: block; | ||
background-color: #333; | ||
border-bottom: 5px #08c solid!important; | ||
color: #fff; | ||
cursor: default; | ||
width: 100%; | ||
z-index: 1000; | ||
} | ||
header nav > div { | ||
box-sizing: border-box; | ||
list-style-type: none; | ||
width: 100%; | ||
padding-top: 8px; | ||
margin-bottom: 10px; | ||
padding-left: 0em; | ||
} | ||
header nav > div > span { | ||
font-size: 90%; | ||
color: #999; | ||
} | ||
header nav > div img { | ||
float: left; | ||
height: 40px; | ||
margin-left: 15px; | ||
margin-right: 10px; | ||
} | ||
header nav ul { | ||
padding: 0px; | ||
margin: 0px; | ||
border-top: 1px solid #222; | ||
} | ||
header nav li { | ||
display: inline-block; | ||
margin: 0px; | ||
padding: 0px; | ||
background-repeat: no-repeat; | ||
background-size: auto 45%; | ||
background-position: center 20%; | ||
opacity: .6; | ||
} | ||
header nav ul li a, header nav ul li a:link, header nav ul li a:visited { | ||
display: inline-block; | ||
position: relative; | ||
box-sizing: border-box; | ||
text-decoration: none; | ||
padding-left: 20px; | ||
padding-top: 35px; | ||
padding-bottom: 5px; | ||
padding-right: 20px; | ||
color: #999; | ||
font-weight: bold; | ||
font-size: 90%; | ||
} | ||
header nav ul li a:hover, header nav ul li.active a { | ||
color: #fff; | ||
text-decoration: none; | ||
} | ||
header nav ul li.progress a:after { | ||
content: ''; | ||
box-sizing: border-box; | ||
position: absolute; | ||
left: 0px; | ||
bottom: 0px; | ||
height: 5px; | ||
width: 100%; | ||
background: #08c; | ||
animation: loading 2s infinite; | ||
} | ||
@keyframes loading { | ||
0% { | ||
margin-left: 0%; | ||
width: 30%; | ||
} | ||
15% { | ||
margin-left: 35%; | ||
width: 50%; | ||
} | ||
50% { | ||
margin-left: 70%; | ||
width: 30%; | ||
} | ||
65% { | ||
margin-left: 15%; | ||
width: 50%; | ||
} | ||
100% { | ||
margin-left: 0%; | ||
width: 30%; | ||
} | ||
} | ||
header nav li.active { | ||
background-color: #000; | ||
} | ||
header nav ul li:hover { | ||
opacity: .9; | ||
} | ||
@media (min-width: 900px) { | ||
header nav { | ||
position: fixed; | ||
} | ||
header nav ul { | ||
float: right; | ||
border-top: none; | ||
} | ||
header nav > div { | ||
position: absolute; | ||
top: 50%; | ||
transform: translate(0%, -50%); | ||
margin: 0px; | ||
padding: 0px; | ||
z-index: -1000; | ||
} | ||
} | ||
|
||
main { | ||
padding-left: 0.5em; | ||
padding-right: 0.5em; | ||
} | ||
@media (min-width: 900px) { | ||
main { | ||
padding-top: 55px; | ||
} | ||
} | ||
|
||
section { | ||
background-color: white; | ||
padding: 10px; | ||
} |
Oops, something went wrong.