2023-06-13 21:33:21 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
float: left;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
2023-06-13 21:39:00 +00:00
|
|
|
position: absolute;
|
2023-06-13 21:33:21 +00:00
|
|
|
top: 0;
|
2023-06-13 21:39:00 +00:00
|
|
|
left: 192px;
|
2023-06-13 21:33:21 +00:00
|
|
|
width: calc(100% - 192px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav {
|
|
|
|
width: 192px;
|
|
|
|
background-color: #cccccc;
|
2023-06-13 21:39:00 +00:00
|
|
|
position: fixed;
|
2023-06-13 21:33:21 +00:00
|
|
|
top: 0;
|
2023-06-13 21:39:00 +00:00
|
|
|
left: 0;
|
2023-06-13 21:33:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
padding: 0px 4px 0px 4px;
|
|
|
|
margin: 2px;
|
|
|
|
background-color: #800000;
|
|
|
|
color: #ddd;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item:hover {
|
|
|
|
background-color: #ffffff;
|
|
|
|
color: #800000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-06-13 21:39:00 +00:00
|
|
|
/*
|
2023-06-13 21:37:52 +00:00
|
|
|
@media only screen and (min-width: 576px) {
|
|
|
|
#nav {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
#main {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 192px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-13 21:39:00 +00:00
|
|
|
*/
|
|
|
|
|
2023-06-13 21:33:21 +00:00
|
|
|
@media only screen and (max-width: 576px) {
|
|
|
|
#main, #nav {
|
2023-06-13 21:39:00 +00:00
|
|
|
position: initial;
|
2023-06-13 21:33:21 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|