first commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
.footer {
|
||||
@include flex;
|
||||
min-height: 70px;
|
||||
border-top: 1px solid $border-color;
|
||||
align-items: center;
|
||||
|
||||
p,
|
||||
.social-links {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
}
|
||||
|
||||
a ,p{
|
||||
color: $gray-800;
|
||||
padding: 4px 0;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.social-links {
|
||||
margin-left: auto;
|
||||
|
||||
a {
|
||||
padding: 0;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
border-radius: 50%;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
border: 2px solid $gray-600;
|
||||
color: $gray-600;
|
||||
|
||||
&:hover {
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
color: $white;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(sm){
|
||||
.footer {
|
||||
padding: 15px 0;
|
||||
flex-direction: column;
|
||||
|
||||
.social-links {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
.header {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
min-height: 600px;
|
||||
@include flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-image: url(../imgs/header.jpg);
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
|
||||
.overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: linear-gradient(to top, $white 0%, rgba($primary, .35) 99%, rgba($primary, .5) 100%);
|
||||
}
|
||||
|
||||
.header-content {
|
||||
margin-top: 20px;
|
||||
flex-grow: 1;
|
||||
max-width: 550px;
|
||||
|
||||
.header-title {
|
||||
|
||||
.up {
|
||||
font-size: calc(30px + (60 - 30) * ((100vw - 300px) / (1300 - 300)));
|
||||
font-weight: 500;
|
||||
color: #444;
|
||||
margin-bottom: 5px;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.down {
|
||||
font-size: calc(30px + (75 - 30) * ((100vw - 300px) / (1300 - 300)));
|
||||
margin-bottom: 0;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.header-subtitle {
|
||||
font-size: calc(10px + (22 - 10) * ((100vw - 300px) / (1300 - 300)));
|
||||
letter-spacing: calc(1px + (7 - 1) * ((100vw - 300px) / (1300 - 300)));
|
||||
opacity: .8;
|
||||
margin-top: -10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: relative;
|
||||
margin-top: 20px;
|
||||
border-radius: 20px;
|
||||
padding: 8px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
// header title
|
||||
&-title {
|
||||
font-size: 2.4rem;
|
||||
font-weight: bold;
|
||||
opacity: .8;
|
||||
color: $body-color;
|
||||
}
|
||||
|
||||
// header mini
|
||||
&-mini {
|
||||
min-height: 24rem;
|
||||
height: 24rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
background: lighten($primary, 20%);
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.header {
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
padding-left: calc(100% / 5) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
// about section
|
||||
.about {
|
||||
@include flex;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
|
||||
&-img-holder {
|
||||
min-width: 400px;
|
||||
max-width: 400px;
|
||||
margin-right: 20px;
|
||||
|
||||
.about-img {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
&-caption {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(sm) {
|
||||
.about {
|
||||
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
|
||||
&-img-holder {
|
||||
max-width: 220px;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* sections */
|
||||
.section {
|
||||
padding: 70px 10px;
|
||||
|
||||
.section-title {
|
||||
font-size: calc(20px + (35 - 20) * ((100vw - 300px) / (1300 - 300)));
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
margin-bottom: 6px;
|
||||
font-weight: 400;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
|
||||
&-sm {
|
||||
padding: 40px 0 !important;
|
||||
}
|
||||
|
||||
&-md {
|
||||
padding: 60px 0 !important;
|
||||
}
|
||||
|
||||
&-lg {
|
||||
padding: 100px 0 !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user