website/static/css/global.css
2024-03-27 23:54:43 +00:00

91 lines
1.1 KiB
CSS

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