polyglot/app/assets/stylesheets/components/_banner.scss

25 lines
467 B
SCSS
Raw Permalink Normal View History

2018-08-28 14:00:54 +00:00
.banner {
color: white;
text-align: center;
height: 100vh;
/* if you have a 70px navbar => height: calc(100vh - 70px); */
background-size: cover !important;
display: flex;
align-items: center;
justify-content: center;
}
.banner h1 {
font-size: 60px;
font-weight: bold;
text-shadow: 0px 1px rgba(0, 0, 0, 0.2);
color: #F0FFFF;
}
.banner p {
font-size: 30px;
font-weight: lighter;
color: #F0FFFF;
opacity: 0.8;
margin-bottom: 20px;
}