51 lines
858 B
SCSS
51 lines
858 B
SCSS
.frontpage-banner {
|
|
background-color: #999999;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
height: 150px;
|
|
width: calc(100% - 40px);
|
|
max-width: 1920px;
|
|
align-self: center;
|
|
flex: 0 0 150px;
|
|
margin-bottom: 20px;
|
|
color: white;
|
|
text-shadow: 0 0 0.3em #000000;
|
|
text-align: right;
|
|
font-size: 1.6em;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
frontpage {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: center;
|
|
margin: 0 20px;
|
|
padding: 0 20px 40px;
|
|
width: calc(100% - 40px);
|
|
max-width: 1000px;
|
|
flex: 2 0 0;
|
|
|
|
.loading-spinner {
|
|
height: 100px;
|
|
}
|
|
|
|
newsitem {
|
|
margin-bottom: 30px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px){
|
|
.frontpage-banner {
|
|
width: 100%;
|
|
}
|
|
|
|
frontpage {
|
|
padding: 0 10px;
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
}
|