90 lines
1.6 KiB
CSS
90 lines
1.6 KiB
CSS
* {
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: #529AB5;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.sidebar {
|
|
flex: 0 0 350px;
|
|
margin: 0;
|
|
/* background-color: #f1f1f1; */
|
|
/* height: 100%; */
|
|
/* overflow: auto; */
|
|
}
|
|
|
|
.sidebar ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.sidebar ul li {
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar .home {
|
|
display: block;
|
|
width: 100%;
|
|
color: #111;
|
|
text-decoration: none;
|
|
font-family: "Trebuchet MS", Arial, sans-serif;
|
|
font-size: 30px;
|
|
letter-spacing: -0.05em;
|
|
line-height: 1;
|
|
padding-top: 40px;
|
|
padding-bottom: 44px;
|
|
}
|
|
|
|
.sidebar .stripe {
|
|
color: #FF0000;
|
|
}
|
|
|
|
.sidebar a.menuitem:hover {
|
|
color: #529AB5;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content {
|
|
padding-top: 62px;
|
|
padding-right: 50px;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
.content a:hover {
|
|
color: #529AB5;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* On screens that are less than 700px wide, make the sidebar into a topbar */
|
|
@media screen and (max-width: 700px) {
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
position: relative;
|
|
}
|
|
.sidebar a {float: left;}
|
|
div.content {margin-left: 0;}
|
|
}
|
|
|
|
/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
|
|
@media screen and (max-width: 400px) {
|
|
.sidebar a {
|
|
text-align: center;
|
|
float: none;
|
|
}
|
|
}
|