website/static/css/global.css

93 lines
1.1 KiB
CSS
Raw Normal View History

2024-03-27 23:24:13 +00:00
body {
background: url(/static/assets/bg.gif);
color: white;
font-family: monospace;
height: 100vh;
margin: 0;
display: flex;
justify-content: center;
2024-03-27 21:19:07 +00:00
2024-03-27 23:24:13 +00:00
}
.box {
2024-03-27 21:19:07 +00:00
2024-03-27 23:24:13 +00:00
background: rgba(0, 0, 0, 0.8);
border: 2px solid purple;
padding: 10px;
box-sizing: border-box;
text-align: center;
width: 100%;
2024-03-27 23:54:43 +00:00
margin-top: 10px;
2024-03-27 23:24:13 +00:00
2024-03-27 21:19:07 +00:00
}
2024-03-27 23:54:43 +00:00
.titlebar {
width: 100%;
}
2024-03-27 23:24:13 +00:00
a:link {
2024-03-27 21:19:07 +00:00
2024-03-27 23:24:13 +00:00
color: purple;
text-decoration: none;
2024-03-27 21:19:07 +00:00
}
2024-03-27 23:24:13 +00:00
#content {
2024-03-27 23:54:43 +00:00
width: 60%;
2024-03-27 23:24:13 +00:00
}
#main-pane {
width: 100%;
2024-03-27 23:54:43 +00:00
margin-top: 10px;
2024-03-27 23:24:13 +00:00
display: flex;
flex-direction: row;
2024-03-27 23:54:43 +00:00
2024-03-27 23:24:13 +00:00
}
2024-03-27 21:19:07 +00:00
2024-03-27 23:24:13 +00:00
#content-pane, #sidenav {
height: 80vh;
2024-03-27 21:19:07 +00:00
}
2024-03-27 23:24:13 +00:00
#sidenav {
width: 25%;
font-size: 12pt;
2024-03-27 21:19:07 +00:00
2024-03-27 23:59:22 +00:00
margin-right: 10px;
2024-03-27 23:24:13 +00:00
display: flex;
flex-direction: column;
2024-03-27 21:19:07 +00:00
}
2024-03-27 23:24:13 +00:00
@media only screen and (max-width: 1080px) {
#content {
width: 90%;
}
#main-pane {
flex-direction: column;
2024-03-27 23:54:43 +00:00
width: 100%;
2024-03-27 23:24:13 +00:00
}
#content-pane, #sidenav {
height: 100%;
width: 100%;
}
#sidenav {
flex-direction: row;
}
#sidenav a {
margin-left: 10px;
2024-03-27 21:19:07 +00:00
2024-03-27 23:24:13 +00:00
}
2024-03-27 21:19:07 +00:00
}