eulaliaaires

css pronto 23/05

May 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.69 KB | None | 0 0
  1. body{
  2.     margin:  0;
  3. }
  4. .clip{
  5.     webkit-clip-path: polygon(50% 0%, 100% 0, 100% 39%, 66% 44%, 40% 71%, 0 71%, 0 0);
  6.     clip-path: polygon(50% 0%, 100% 0, 100% 39%, 66% 44%, 40% 71%, 0 71%, 0 0);
  7.     position: relative;
  8.     width: 100%;
  9.     height: 1325px;
  10.     background: linear-gradient(#858688,#4b83ae,#3a85bf);
  11. }
  12. .flex-margin{
  13.     position: absolute;
  14.     top: 0;
  15.     display:flex;
  16.     justify-content: center;
  17.     width: 100%;
  18.     height: 1268px;
  19. }
  20. .flex-container{
  21.     padding: 20px;
  22.     display: flex;
  23.     flex-direction: column;
  24.     justify-content: space-between;
  25.     width: 80%;
  26. }
  27. .main_title{
  28.     line-height: 330px;
  29.     font-size: 55px;
  30.     font-family:'Open Sans', sans-serif;
  31.     float: left;
  32.     width: 240px;
  33.     border-bottom: 5px solid #fff;
  34.     height: 225px;
  35. }
  36. .style{
  37.     font-weight: 700;
  38.     color: #fff;
  39. }
  40. .style2{
  41.     font-style: italic;
  42.     font-weight: 400;
  43.     color: #fff;
  44. }
  45. .text_and_image{
  46.     display: flex;
  47.     flex-direction: row;
  48.     justify-content: space-between;
  49.     align-items: center;
  50.     height: 32%;
  51.     width: 100%;
  52. }
  53. .text{
  54.     font-size: 19px;
  55.     font-family:'Open Sans', sans-serif;
  56.     color: #fff;
  57.     text-align: left;
  58.     float: left;
  59.     width: 50%;
  60. }
  61. .imagem{
  62.     left: 30px;
  63.     vertical-align: sub;
  64. }
  65. .imagem img{
  66.     left: 100px;
  67.     width: 425px;
  68.  
  69. }
  70. .data_set{
  71.     display: flex;
  72.     flex-direction: row;
  73.     justify-content: space-between;
  74.     align-items: center;
  75.     height: 43%;
  76.     width: 100%;
  77. }
  78. .flex-items{
  79.  
  80.     display: flex;
  81.     flex-direction: column;
  82.     justify-content: space-evenly;
  83.     align-items: center;
  84.     width: 30%;
  85.     height: 55%;
  86.     background-color: #fff;
  87.     box-shadow: 1px 2px 1px 2px #d3d3d3;
  88.     border-radius: 3px;
  89. }
  90. .icon i{
  91.     color:#3a85bf;
  92.     font-size: 70px;
  93. }
  94.  
  95. .title2{
  96.     font-size: 25px;
  97.     font-family: 'Open Sans', sans-serif;
  98.     font-weight: 700;
  99.     color:#373435;
  100.     letter-spacing: 5px;
  101.     height: 6%;
  102. }
  103. .text2{
  104.     font-size: 16px;
  105.     font-family: 'Open Sans', sans-serif;
  106.     font-weight: 400;
  107.     color:#373435;
  108.     text-align: center;
  109.     height: 29%;
  110.     width: 80%;
  111. }
  112. @media(max-width:770px){
  113.     body{
  114.         margin: 0;
  115.     }
  116.     .clip{
  117.         -webkit-clip-path: polygon(100% 0, 0 0, 0 100%);
  118.         clip-path: polygon(100% 0, 0 0, 0 100%);
  119.         position: relative;
  120.         width: 100%;
  121.         height: 410px;
  122.         background: linear-gradient(#858688,#4b83ae,#3a85bf);
  123.     }
  124.     .flex-margin{
  125.         position: absolute;
  126.         top: 0;
  127.         display: flex;
  128.         justify-content: center;
  129.         width: 100%;
  130.         height: 1500px;
  131.     }
  132.     .flex-container{
  133.     padding: 20px;
  134.     display: flex;
  135.     flex-direction: column;
  136.     justify-content: space-between;
  137.     align-items: center;
  138.     width: 80%;
  139.     height: 100%;
  140.     }
  141.     .main_title{
  142.         line-height: 165px;
  143.         font-size: 24px;
  144.         font-family:'Open Sans', sans-serif;
  145.         text-align: center;
  146.         align-items: center;
  147.         width: 100px;
  148.         height: 7%;
  149.         border-bottom: 5px solid #fff;
  150.     }
  151.     .text_and_image{
  152.         display: flex;
  153.         flex-direction: column;
  154.         justify-content: space-evenly;
  155.         align-items: start;
  156.         height: 50%;
  157.         width: 100%;
  158.     }
  159.     .text{
  160.         font-size: 100%;
  161.         font-family:'Open Sans', sans-serif;
  162.         color: #373435;
  163.         text-align: center ;
  164.         width: 100%;
  165.         order: 1;
  166.     }
  167.     .imagem{
  168.         align-items: center;
  169.         order: 0;
  170.     }
  171.     .imagem img{
  172.         width: 100%;
  173.     }
  174.     .data_set{
  175.         display: flex;
  176.         flex-direction: column;
  177.         justify-content: space-between;
  178.         align-items: center;
  179.         height: 51%;
  180.         width: 100%;
  181.     }
  182.     .flex-items{
  183.         display: flex;
  184.         flex-direction: column;
  185.         justify-content: space-evenly;
  186.         align-items: center;
  187.         width: 100%;
  188.         height: 30%;
  189.         background-color: #fff;
  190.         box-shadow: 1px 3px 3px 3px #d3d3d3;
  191.         border-radius: 6px;
  192.     }
  193.     .icon i{
  194.         color:#3a85bf;
  195.         font-size: 10vw;
  196.         height:40%;
  197.     }
  198.     .title2{
  199.         font-size: 100%;
  200.         font-family: 'Open Sans', sans-serif;
  201.         font-weight: 700;
  202.         color:#373435;
  203.         letter-spacing: 5px;
  204.         height:10%;
  205.     }
  206.     .text2{
  207.         font-size: 100%;
  208.         font-family: 'Open Sans', sans-serif;
  209.         font-weight: 400;
  210.         color:#373435;
  211.         text-align: center;
  212.         width: 80%;
  213.         height:30%;
  214.     }
  215. }
  216. @media(max-width: 1030px){          
  217.     .imagem img{
  218.         left: 100px;
  219.         width: 367px;
  220.     }
  221. }
Advertisement
Add Comment
Please, Sign In to add comment