mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-09 22:10:18 -04:00
76 lines
1.3 KiB
CSS
76 lines
1.3 KiB
CSS
@import 'https://fonts.googleapis.com/css?family=Bitter:300,400,500';
|
|
body {
|
|
margin: 0px;
|
|
font-family: "Bitter", "Helvetica", "Arial", sans-serif;
|
|
}
|
|
|
|
.background {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
}
|
|
.background img {
|
|
flex-shrink: 0;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
}
|
|
.background .overlay {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
background-color: rgba(77, 83, 137, 0.9);
|
|
}
|
|
.background .overlay .title {
|
|
text-align: center;
|
|
opacity: 1;
|
|
color: white;
|
|
font-size: 2.7em;
|
|
margin: 0px;
|
|
margin-bottom: 5px;
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
word-spacing: 5px;
|
|
animation-name: fadeIn;
|
|
animation-duration: 3s;
|
|
animation-iteration-count: 1;
|
|
}
|
|
.background .overlay .underline {
|
|
height: 7px;
|
|
width: 35vw;
|
|
background-color: #ecb85b;
|
|
margin-bottom: 5px;
|
|
animation-name: underline, fadeIn;
|
|
animation-duration: 2s;
|
|
animation-iteration-count: 1;
|
|
}
|
|
|
|
@keyframes underline {
|
|
from {
|
|
transform: scaleX(0);
|
|
}
|
|
to {
|
|
transform: scaleX(1);
|
|
}
|
|
}
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/*# sourceMappingURL=css/index.css.map */
|