static_pages/themes/NSP/assets/css/main.css
2023-11-18 14:34:47 -08:00

68 lines
1.1 KiB
CSS

body {
font-family: sans-serif;
line-height: 1.5;
margin: 1rem;
margin-left: auto;
margin-right: auto;
max-width: 768px;
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
footer {
border-top: 1px solid #222;
margin-top: 1rem;
}
.nav-list {
margin: 0px;
padding: 0px;
height: 50px
}
.nav-list a {
float: left;
font-size: 16px;
text-align: center;
padding: 12px 16px;
text-decoration: none;
background-color: inherit;
}
.nav-list a:hover {
background-color: #222;
}
.nav-dropdown {
float: right;
text-align: center;
padding: 12px 16px;
position: relative;
display: inline-block;
background-color: inherit;
}
.nav-dropdown:hover {
background-color: #222;
}
.nav-dropdown-content a {
display: block;
}
.nav-dropdown-content {
display: none;
position: absolute;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
left: 0px;
bottom: -140px;
}
.nav-dropdown:hover .nav-dropdown-content {
display: flex;
flex-direction: column;
}