94 lines
1.6 KiB
SCSS
94 lines
1.6 KiB
SCSS
body{
|
|
margin: 0;
|
|
}
|
|
|
|
body{
|
|
font-family: "Open Sans", Sans-Serif;
|
|
background-color: #6d0000;
|
|
color: white;
|
|
}
|
|
|
|
#main{
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
#content{
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
#header{
|
|
text-align: center;
|
|
#nav{
|
|
>a{
|
|
text-decoration: none;
|
|
font-size: 2.7em;
|
|
border-radius: 100%;
|
|
padding: 0.3em;
|
|
width: 1.1em;
|
|
height: 1.1em;
|
|
line-height: 1.1em;
|
|
background-size: 20px;
|
|
color: white;
|
|
border: 0.03em solid transparent;
|
|
transition: background-color 300ms, border-color 300ms;
|
|
margin-left: 0.1em;
|
|
margin-right: 0.1em;
|
|
text-align: center;
|
|
|
|
&:hover, &.active{
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
&.active{
|
|
border-color: white;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#content{
|
|
transition: background-color 400ms, color 400ms;
|
|
background-color: transparent;
|
|
display: flex;
|
|
|
|
#lightcontent{
|
|
background-color: white;
|
|
color: black;
|
|
flex-grow: 1;
|
|
margin-top: 20px;
|
|
>div{
|
|
width: 80%;
|
|
max-width: 1100px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#footer{
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
text-align: center;
|
|
h3{
|
|
margin: 0;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
|
|
.m-scene .scene_element {
|
|
animation-duration: 0.25s;
|
|
transition-timing-function: ease-in;
|
|
animation-fill-mode: both;
|
|
}
|
|
|
|
.m-scene .scene_element--fadein {
|
|
animation-name: slideInUp;
|
|
}
|
|
|
|
.m-scene.is-exiting .scene_element {
|
|
animation-direction: alternate-reverse;
|
|
}
|