armanty-quests/src/sass/style.scss
2021-04-09 13:23:20 +05:00

319 lines
4.8 KiB
SCSS

@import '../libs/font-awesome-4.7.0/css/font-awesome.min.css';
@import '../libs/bootstrap-4.4.1-dist/css/bootstrap.min.css';
@import '../libs/OwlCarousel2-2.3.4/dist/assets/owl.carousel.min.css';
@import './fonts';
@import './constansts';
body {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 16px !important;
font-family: 'Museo Regular', sans-serif;
}
.btn {
font-size: 16px !important;
}
#carousel {
max-height: 325px;
}
#carousel img {
max-height: 325px;
}
@media screen and (max-width: 425px) {
#carousel {
display: none;
}
}
.popover {
z-index: 999999;
margin-top: 20px !important;
}
.full-page__border {
height: 144px;
margin-top: -20px;
padding: 25px 0;
background: #f2f2f2 url('../img/holiday/border-wave-line.svg') center center no-repeat;
background-size: 100% 48px;
}
.item {
position: relative;
width: 777px;
height: 577px;
}
.page {
&-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 408px;
box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.5);
}
h1 {
position: relative;
z-index: 2;
color: #ffffff;
font-weight: 600;
font-size: 48px;
font-family: 'PT Sans', sans-serif;
line-height: 0.75;
letter-spacing: 0.4px;
text-align: center;
}
&-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.35);
}
}
.wonderplugin3dcarousel-text {
display: none;
}
.wonderplugin3dcarousel-item {
a {
display: none;
}
}
.quest-description__icons {
padding-top: 8px;
}
.contacts-image {
transform: translateY(10px);
}
.gllr_image_block {
margin-bottom: 20px;
p {
width: 240px !important;
height: 180px !important;
}
img {
width: 240px !important;
height: 180px !important;
border: 0 !important;
}
&:nth-child(4n+2) {
margin-right: 10px;
margin-left: 20px;
}
&:nth-child(4n+3) {
margin-right: 20px;
margin-left: 10px;
}
}
@media screen and (max-width: 800px) {
h1 {
font-size: 34px;
line-height: 1.1;
}
}
@media screen and (max-width: 576px) {
.btn-round {
padding: 15px !important;
}
}
.btn-round {
min-width: 165px;
margin-right: auto;
margin-left: auto;
padding: 14px 20px;
border-color: $main-color;
border-radius: 44px;
background-color: $main-color;
box-shadow: 0 2px 12px 0 rgba(56, 72, 95, 0.49);
font-weight: 600;
font-size: 18px;
letter-spacing: 1.2px;
text-align: center;
text-transform: uppercase;
&:hover {
border-color: $main-color;
background-color: darken($main-color, 10%);
}
}
.hide {
display: none;
}
.owl-carousel {
padding: 0;
}
.owl-nav button {
outline: none;
}
.container {
overflow: hidden;
}
.owl-dots {
display: flex;
justify-content: center;
.owl-dot {
width: 30px !important;
height: 3px !important;
margin: 10px !important;
border: 1px solid #f2f2f2 !important;
.active {
border: 3px solid #f2f2f2 !important;
background-color: #000000 !important;
}
}
}
.owl-stage-outer {
padding-bottom: 15px !important;
}
.btn-danger {
border-color: $main-color;
background-color: $main-color;
&:hover {
border-color: $main-color;
}
}
.btn-outline-danger {
border-color: $main-color;
color: $main-color;
&:hover {
border-color: $main-color;
background-color: $main-color;
color: #ffffff;
}
}
.wave {
> div {
background-color: #f2f2f2;
&::before {
content: '';
position: relative;
left: 0;
display: block;
width: 100%;
height: 112px;
background: url('../img/wave/border-wave-top.svg') center no-repeat;
background-size: 100% 112px;
}
&::after {
content: '';
position: relative;
bottom: 0;
left: 0;
display: block;
width: 100%;
height: 112px;
background: url('../img/wave/border-wave-bottom.svg') center no-repeat;
background-size: 100% 112px;
}
}
&-no-bottom {
&::after {
display: none;
}
&-no-top {
&::before {
display: none;
}
}
}
}
.hide-menu {
display: block !important;
}
@media (min-width: 1200px) {
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
max-width: 1195px;
}
}
@media screen and (max-width: 770px) {
.wave {
&::before {
height: 55px;
background-size: 100% 55px;
}
&::after {
height: 55px;
background-size: 100% 55px;
}
}
}
@media screen and (max-width: 480px) {
h2 {
font-size: 28px !important;
}
.var-line {
.row {
max-width: 100%;
margin: 0;
}
}
.full-page__border {
display: none;
height: auto !important;
}
.wave > div {
background: #ffffff;
}
}