s-nomp/website/static/style.css

121 lines
1.9 KiB
CSS
Raw Normal View History

2014-03-19 00:26:20 -07:00
html{
height: 100%;
}
2014-03-18 23:54:18 -07:00
body{
min-height: 100vh;
overflow: hidden;
display: -moz-box;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: -moz-flex;
display: flex;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
2014-03-19 00:26:20 -07:00
2014-03-18 23:54:18 -07:00
}
header{
background-color: #f3f2ef;
}
2014-03-19 13:24:29 -07:00
header > div{
display: -moz-box;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: -moz-flex;
display: flex;
}
header > div > ul{
flex: 1;
}
2014-03-18 23:54:18 -07:00
header .selected, header a:active, header a:focus{
background-color: #404040 !important;
}
.selected > a {
color: white !important;
}
header a {
line-height: 2.5em !important;
font-size: 1.1em !important;
}
header a:hover {
background-color: #4d4d4d !important;
color: white !important;
}
2014-03-19 13:24:29 -07:00
.stats{
display: flex;
flex-direction: column;
justify-content: center;
}
.stats > div{
padding: 2px 15px;
border-radius: 4px;
color: #f2f2f2;
font-size: 0.95em;
width: 120px;
text-align: center;
}
.stats > div:nth-child(1){
background-color: #71a380;
margin-bottom: 4px;
}
.stats > div:nth-child(2){
background-color: #7196a3;
}
2014-03-18 23:54:18 -07:00
.pure-menu-heading{
padding-left: 0 !important;
}
header > div{
background-color: transparent !important;
margin-left: auto;
margin-right: auto;
}
2014-03-19 13:24:29 -07:00
main > div, header > div{
max-width: 800px;
}
2014-03-18 23:54:18 -07:00
main {
flex: 1 1 auto;
padding: 20px 0;
}
main > div{
margin-left: auto;
margin-right: auto;
}
2014-03-19 13:24:29 -07:00
2014-03-18 23:54:18 -07:00
footer{
text-align: center;
color: #b3b3b3;
background-color: #404040;
text-decoration: none;
font-size: 0.8em;
padding: 15px;
line-height: 24px;
}
footer a{
color: #fff;
text-decoration: none;
}
2014-03-19 00:26:20 -07:00
footer iframe{
vertical-align: middle;
}