62 lines
1.1 KiB
CSS
62 lines
1.1 KiB
CSS
html, body {
|
|
margin: 0;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: #529AB5;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar {
|
|
list-style: none;
|
|
float: left;
|
|
width: 25%;
|
|
margin: 0;
|
|
padding: 0;
|
|
/* padding-top: 107px; */
|
|
/* padding-left: 30px; */
|
|
/* background-color: #f1f1f1; */
|
|
/* position: fixed; */
|
|
/* height: 100%; */
|
|
/* overflow: auto; */
|
|
}
|
|
|
|
.sidebar a:hover {
|
|
color: #529AB5;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content {
|
|
float: right;
|
|
width: 75%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|