58 lines
849 B
CSS
58 lines
849 B
CSS
.nav ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background-color: #333;
|
|
}
|
|
|
|
.nav li {
|
|
float: left;
|
|
border-right: 1px solid #bbb;
|
|
}
|
|
|
|
.nav li:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.nav li a {
|
|
display: block;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 14px 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav .active {
|
|
color: #ff7f00;
|
|
}
|
|
|
|
|
|
/* Change the link color to #111 (black) on hover */
|
|
|
|
.nav li a:hover {
|
|
filter: brightness(80%);
|
|
}
|
|
|
|
.content {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.content {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
background: black;
|
|
color: #ff7f00;
|
|
line-height: 1.5rem;
|
|
overflow: hidden;
|
|
align-items: center;
|
|
}
|