239 lines
4.7 KiB
SCSS
239 lines
4.7 KiB
SCSS
.hero + main {
|
|
margin-top: -50px;
|
|
}
|
|
|
|
.hero {
|
|
height: 330px;
|
|
background: url("../images/hero-phone@2x.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
|
|
h1 {
|
|
color: #fff;
|
|
margin-bottom: 30px;
|
|
}
|
|
}
|
|
.hero2, .hero3 {
|
|
//height: 130px;
|
|
//background: none;
|
|
}
|
|
|
|
.hero2 {
|
|
height: 230px;
|
|
background: url("../images/hero2-phone@2x.png") no-repeat top center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
|
|
.hero3 {
|
|
height: 230px;
|
|
background: url("../images/hero3-phone@2x.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
}
|
|
|
|
.hero5 {
|
|
height: 230px;
|
|
background: url("../images/hero3-phone@2x.png") no-repeat top center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
|
|
.hero6 {
|
|
height: 230px;
|
|
background: url("../images/hero2-phone@2x.png") no-repeat top center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
|
|
|
|
.card-artiq {
|
|
background: #fff url("../images/artiq-phone@2x.png") no-repeat top center;
|
|
background-size: contain;
|
|
}
|
|
.card-artiq > div {
|
|
padding-top: 66.64%;
|
|
}
|
|
|
|
.card-gateware {
|
|
background: #fff url("../images/gateware-phone@2x.png") no-repeat top center;
|
|
background-size: contain;
|
|
}
|
|
.card-gateware > div {
|
|
padding-top: 81.64%;
|
|
}
|
|
|
|
.card-jobs {
|
|
background: #fff url("../images/jobs-phone@2x.png") no-repeat top center;
|
|
background-size: contain;
|
|
}
|
|
.card-jobs > div {
|
|
padding-top: 81.64%;
|
|
}
|
|
|
|
|
|
.card h5,
|
|
h5 {
|
|
color: $brand-color;
|
|
}
|
|
|
|
h3, h2, h1 {
|
|
color: $color-secondary;
|
|
}
|
|
|
|
.shadow.sticky-top {
|
|
background: #fff;
|
|
}
|
|
|
|
.card-img-top {
|
|
padding: .4rem; }
|
|
|
|
|
|
p ~ h5 {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
img.kf25 {
|
|
width: 310px;
|
|
}
|
|
|
|
// Small devices (landscape phones, 576px and up)
|
|
@media (min-width: 576px) {
|
|
|
|
.card-artiq > div {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.card-gateware > div {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.card-jobs > div {
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
// Medium devices (tablets, 768px and up)
|
|
@media (min-width: 768px) {
|
|
img.kf25 {
|
|
width: 400px;
|
|
}
|
|
}
|
|
|
|
// Large devices (desktops, 992px and up)
|
|
@media (min-width: 992px) {
|
|
.hero {
|
|
// height: 692px;
|
|
height: calc(65vh - 200px);
|
|
background: url("../images/hero@2x.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
|
|
h1 {
|
|
color: $background-color;
|
|
margin-bottom: 30px;
|
|
margin-top: -100px;
|
|
}
|
|
}
|
|
|
|
.hero2 {
|
|
height: 380px;
|
|
background: url("../images/hero2@2x.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
}
|
|
|
|
.hero3 {
|
|
height: 380px;
|
|
background: url("../images/hero3@2x.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
}
|
|
|
|
.hero4 {
|
|
height: 750px;
|
|
background: url("../images/404@2x-min.png") repeat-x top center;
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
}
|
|
|
|
.hero5 {
|
|
height: 380px;
|
|
background: url("../images/bottom-graphic-min@2x.png") no-repeat top center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
|
|
.hero6 {
|
|
height: 380px;
|
|
background: url("../images/top-graphic-min@2x.png") no-repeat top center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
|
|
.hero + main {
|
|
margin-top: -150px;
|
|
}
|
|
|
|
.shadow-lg {
|
|
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
|
|
}
|
|
|
|
.card-artiq {
|
|
background: #fff url("../images/artiq@2x.png") no-repeat top right;
|
|
}
|
|
|
|
.card-gateware {
|
|
background: #fff url("../images/gateware@2x.png") no-repeat top right;
|
|
}
|
|
|
|
.card-jobs {
|
|
background: #fff url("../images/jobs-min@2x.png") no-repeat top right;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
padding-top: .5rem;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.modal-lg {
|
|
max-width: 60%;
|
|
}
|
|
}
|
|
|
|
// Extra large devices (large desktops, 1200px and up)
|
|
@media (min-width: 1200px) {
|
|
}
|
|
|
|
/*
|
|
##Device = Low Resolution Tablets, Mobiles (Landscape)
|
|
##Screen = B/w 481px to 767px
|
|
*/
|
|
@media (min-width: 481px) and (max-width: 767px) {
|
|
|
|
#root-shop, #root-shop>div {
|
|
height: 100%;
|
|
}
|
|
} |