static_pages/themes/NSP/assets/css/main.css

69 lines
1.1 KiB
CSS
Raw Permalink Normal View History

2023-11-17 13:41:57 -08:00
body {
font-family: sans-serif;
line-height: 1.5;
margin: 1rem;
2023-11-18 14:34:47 -08:00
margin-left: auto;
margin-right: auto;
2023-11-17 13:41:57 -08:00
max-width: 768px;
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
footer {
border-top: 1px solid #222;
margin-top: 1rem;
}
2023-11-17 15:42:25 -08:00
.nav-list {
2023-11-18 14:34:47 -08:00
margin: 0px;
padding: 0px;
2023-11-17 15:42:25 -08:00
height: 50px
}
.nav-list a {
float: left;
font-size: 16px;
text-align: center;
2023-11-18 14:34:47 -08:00
padding: 12px 16px;
2023-11-17 15:42:25 -08:00
text-decoration: none;
2023-11-18 14:34:47 -08:00
background-color: inherit;
}
.nav-list a:hover {
background-color: #222;
2023-11-17 15:42:25 -08:00
}
2023-11-18 14:34:47 -08:00
.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;
}