Advertisement
Eulis

accommodations.css

Sep 13th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.36 KB | None | 0 0
  1. .acomodacoes {
  2.   width: 100%;
  3.   min-height: 100vh;
  4.   display: flex;
  5.   flex-direction: column;
  6.   justify-content: center;
  7.   align-items: center;
  8. }
  9.  
  10. .acomodacoes-mobile {
  11.   display: none;
  12. }
  13.  
  14. .acomodacoes-container {
  15.   width: 85%;
  16.   height: 75vh;
  17.   display: flex;
  18.   flex-direction: row;
  19.   justify-content: center;
  20.   align-items: center;
  21.   padding: 2rem 0;
  22. }
  23.  
  24. .acomodacoes-text {
  25.   width: 40%;
  26.   height: 100%;
  27.   display: flex;
  28.   flex-direction: column;
  29.   justify-content: flex-start;
  30.   align-items: flex-start;
  31. }
  32.  
  33. .acomodacoes-title {
  34.   margin-top: 0;
  35.   margin-bottom: 2rem;
  36.   font-family: 'Mr Dafoe', cursive;
  37.   color: #b4c153;
  38.   font-size: 4rem;
  39.   font-weight: 400;
  40. }
  41.  
  42. .acomodacoes-content {
  43.   width: 100%;
  44.   display: flex;
  45.   flex-direction: column;
  46.   justify-content: center;
  47.   align-items: center;
  48.   z-index: 2;
  49.   background-color: #ffffff;
  50.   -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.16);
  51.   -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.16);
  52.   box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.16);
  53. }
  54.  
  55. .acomodacoes-slider {
  56.   padding: 40px;
  57.   padding-bottom: 90px;
  58.   width: 100%;
  59.   height: fit-content;
  60. }
  61.  
  62. .acomodacoes-arrow {
  63.   height: 1.3rem;
  64.   cursor: pointer;
  65. }
  66.  
  67. .acomodacoes .prev-arrow {
  68.   position: absolute;
  69.   left: 40px;
  70.   bottom: 30px;
  71. }
  72.  
  73. .acomodacoes .next-arrow {
  74.   position: absolute;
  75.   transform: rotate(180deg);
  76.   left: 75px;
  77.   bottom: 30px;
  78. }
  79.  
  80. .acomodacoes-dots {
  81.   right: 40px;
  82.   bottom: 30px;
  83.   width: fit-content;
  84.   display: flex;
  85.   flex-direction: row;
  86.   justify-content: center;
  87.   align-items: center;
  88.   position: absolute;
  89.   list-style-type: none;
  90. }
  91.  
  92. .acomodacoes-dots button {
  93.   height: 12px;
  94.   width: 12px;
  95.   padding: 0;
  96.   margin: 2px;
  97.   cursor: pointer;
  98.   outline: none;
  99.   background-color: #ffffff;
  100.   text-indent: -9000px;
  101.   text-transform: capitalize;
  102.   border: 1px solid #b4c153;
  103.   border-radius: 4px;
  104. }
  105.  
  106. .acomodacoes .slick-active button {
  107.   background-color: #b4c153;
  108. }
  109.  
  110. .acomodacoes-image {
  111.   width: 60%;
  112.   object-fit: cover;
  113.   height: 100%;
  114.   margin-left: -40px;
  115.   transition: visibility 600ms;
  116. }
  117.  
  118. @media (max-width: 1024px) {
  119.   .acomodacoes {
  120.     min-height: fit-content;
  121.   }
  122.   .acomodacoes-container {
  123.     display: none;
  124.   }
  125.  
  126.   .acomodacoes-mobile {
  127.     display: flex;
  128.     flex-direction: column;
  129.     justify-content: flex-start;
  130.     align-items: center;
  131.     padding: 2rem 0;
  132.     width: 100%;
  133.   }
  134.  
  135.   .acomodacoes-title {
  136.     font-size: 3rem;
  137.     margin-bottom: 2rem;
  138.   }
  139.  
  140.   .acomodacoes-mobile-top {
  141.     width: 100%;
  142.   }
  143.  
  144.   .acomodacoes-mobile-image-box {
  145.     height: 40vh;
  146.     min-height: 200px;
  147.     width: 100%;
  148.   }
  149.  
  150.   .acomodacoes-mobile-image {
  151.     object-fit: cover;
  152.     height: 100%;
  153.     margin: 0 auto;
  154.     width: calc(100% - 12px);
  155.     opacity: 0.5;
  156.   }
  157.  
  158.   .slick-active .acomodacoes-mobile-image {
  159.     opacity: 1;
  160.   }
  161.  
  162.   .acomodacoes-dots {
  163.     position: initial;
  164.     margin: 10px auto;
  165.   }
  166.  
  167.   .acomodacoes-dots button {
  168.     height: .8rem;
  169.     width: .8rem;
  170.     margin: 6px;
  171.     border-radius: 0;
  172.   }
  173.  
  174.   .acomodacoes-mobile-bottom {
  175.     width: 100%;
  176.     display: flex;
  177.     flex-direction: row;
  178.     justify-content: center;
  179.     margin-top: 20px;
  180.   }
  181.  
  182.   .acomodacoes-mobile-card-box {
  183.     width: 85%;
  184.     display: flex;
  185.     flex-direction: row;
  186.     justify-content: center;
  187.     align-items: center;
  188.   }
  189.  
  190. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement