135 lines
1.9 KiB
CSS
135 lines
1.9 KiB
CSS
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
color: #B0B0B0;
|
||
|
background: #201c2a;
|
||
|
margin: 0px;
|
||
|
|
||
|
position: relative;
|
||
|
|
||
|
min-height: 100vh;
|
||
|
padding-bottom: 4em;
|
||
|
}
|
||
|
|
||
|
:link {
|
||
|
color: cyan;
|
||
|
font-style: italic;
|
||
|
text-decoration: none;
|
||
|
|
||
|
transition: color 0.2s;
|
||
|
}
|
||
|
a:visited {
|
||
|
color: cyan;
|
||
|
}
|
||
|
a:hover {
|
||
|
color: lightblue;
|
||
|
}
|
||
|
|
||
|
#main_header {
|
||
|
overflow: hidden;
|
||
|
position: relative;
|
||
|
|
||
|
padding-bottom: 0.7em;
|
||
|
}
|
||
|
#main_banner_img {
|
||
|
position: absolute;
|
||
|
left: 0px;
|
||
|
right: 0px;
|
||
|
|
||
|
width: 100vw;
|
||
|
|
||
|
z-index: -1;
|
||
|
|
||
|
opacity: 0;
|
||
|
top: 0px;
|
||
|
}
|
||
|
#main_banner_img_link {
|
||
|
position: absolute;
|
||
|
right: 2vw;
|
||
|
bottom: 0.5em;
|
||
|
|
||
|
font-size: 0.8em;
|
||
|
}
|
||
|
|
||
|
#nav_bar {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
|
||
|
list-style-type: none;
|
||
|
margin-top: 1em;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
#nav_bar li {
|
||
|
padding: 0em 0.3em 0em 0.3em;
|
||
|
}
|
||
|
|
||
|
#big_title {
|
||
|
text-align: center;
|
||
|
font-size: 2.5em;
|
||
|
margin-bottom: 0.2em;
|
||
|
}
|
||
|
#main_header h2 {
|
||
|
text-align: center;
|
||
|
font-size: 2em;
|
||
|
margin-bottom: 0.2em;
|
||
|
}
|
||
|
|
||
|
#title_separator {
|
||
|
height: 1.5px;
|
||
|
background-color: #ddd;
|
||
|
opacity: 0.5;
|
||
|
margin-left: 2em;
|
||
|
margin-right: 2em;
|
||
|
}
|
||
|
|
||
|
#main_content_wrapper {
|
||
|
padding: 3vmin 1em 1em 1em;
|
||
|
width: auto;
|
||
|
margin-left: max(0.75em, min(max(20vmin, 50vw - 30rem), 50vw - 25rem));
|
||
|
margin-right: max(0.75em, min(max(20vmin, 50vw - 30rem), 50vw - 25rem));
|
||
|
|
||
|
min-height: 100%;
|
||
|
|
||
|
background: #3e355479;
|
||
|
}
|
||
|
|
||
|
#main_content_wrapper article {
|
||
|
background: #3e3554;
|
||
|
color: #c6c3c3;
|
||
|
border-radius: 0.3em;
|
||
|
box-shadow: 3px 7px 7px 0px #00000040;
|
||
|
|
||
|
padding: 0.75em;
|
||
|
}
|
||
|
#main_content_wrapper article h1 {
|
||
|
text-align: left;
|
||
|
padding-left: 3vmin;
|
||
|
margin-bottom: 0.2em;
|
||
|
|
||
|
border-bottom: solid 1px darkgrey;
|
||
|
}
|
||
|
|
||
|
#main_footer {
|
||
|
display: flex;
|
||
|
|
||
|
height: 2.5em;
|
||
|
text-align: center;
|
||
|
background-color: #3a3a3a;
|
||
|
margin: 0px;
|
||
|
|
||
|
position: absolute;
|
||
|
bottom: 0px;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
#main_footer span {
|
||
|
align-self: flex-end;
|
||
|
width: 100%;
|
||
|
}
|