mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-22 17:52:10 +00:00
done landing_page
This commit is contained in:
BIN
app/assets/images/phone.jpg
Normal file
BIN
app/assets/images/phone.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
24
app/assets/stylesheets/components/_banner.scss
Normal file
24
app/assets/stylesheets/components/_banner.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
.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;
|
||||
}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
// Import your components CSS files here.
|
||||
@import "alert";
|
||||
@import "navbar";
|
||||
@import "banner";
|
||||
|
Reference in New Issue
Block a user