66 lines
806 B
CSS
66 lines
806 B
CSS
|
html,
|
||
|
body{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body{
|
||
|
padding-top: 80px;
|
||
|
padding-bottom: 80px;
|
||
|
background: #eee;
|
||
|
}
|
||
|
|
||
|
#navbar{
|
||
|
box-sizing: border-box;
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 64px;
|
||
|
padding-left: 10px;
|
||
|
background: purple;
|
||
|
color: white;
|
||
|
z-index: 10;
|
||
|
}
|
||
|
|
||
|
#navbar ul{
|
||
|
list-style: none;
|
||
|
}
|
||
|
#navbar ul li{
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
#navbar h4,
|
||
|
#navbar a{
|
||
|
margin-left: 15px;
|
||
|
line-height: 64px;
|
||
|
}
|
||
|
|
||
|
#navbar a{
|
||
|
color: white;
|
||
|
font-size: 24px;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
#main-content{
|
||
|
max-width: 1024px;
|
||
|
padding: 14px 20px;
|
||
|
background: white;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
|
||
|
#main-footer{
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 64px;
|
||
|
}
|
||
|
|
||
|
#main-footer p{
|
||
|
line-height: 64px;
|
||
|
text-align: center;
|
||
|
}
|