Advertisement
eulaliaaires

Contato2.css

Jun 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.51 KB | None | 0 0
  1. body{
  2.     margin: 0;
  3. }
  4. .back{
  5.     display: flex;
  6.     flex-direction: column;
  7.     align-items: center;
  8.     width: 100vw;
  9.     height: 70vh;
  10.     background: linear-gradient( rgba(255,255,255,.3),rgba(255,255,255,.3)),url("contato.jpg");
  11.     background-size: cover;
  12.     background-position: center center;
  13.     background-repeat: no-repeat;
  14.  
  15. }
  16. .text{
  17.     display: flex;
  18.     justify-content: center;
  19.     align-items: center;
  20.     margin-top: 40px;
  21.     font-family: 'Source Sans Pro', sans-serif;
  22.     font-weight: 600;
  23.     color: #000000;
  24.     text-align: center;
  25.     font-size: 31px;
  26. }
  27. .container{
  28.     display: flex;
  29.     flex-direction: row;
  30.     justify-content: center;
  31.     align-items: center;
  32.     margin-top: 90px;
  33.     width: 60%;
  34. }
  35. .form1{
  36.     display: flex;
  37.     flex-direction: column;
  38.     margin-right: 25px;
  39.     width: 50%;
  40. }
  41. .form2{
  42.     display: flex;
  43.     flex-direction: column;
  44.     width: 50%;
  45. }
  46.  
  47. .user{
  48.     display: flex;
  49.     flex-direction: column;
  50.     margin-bottom: 18px;
  51.     width: 100%;
  52.     height: 28px;
  53.     border-radius: 4px;
  54.     color: #000000;
  55.     font-family: 'Source Sans Pro', sans-serif;
  56.     text-indent: 10px;
  57.     border: none;
  58.     box-shadow: 1px 1px 1px 1px #cdcdb1;
  59.    
  60. }
  61. .user2{
  62.     display: flex;
  63.     flex-direction: column;
  64.     margin-bottom: 18px;
  65.     width: 100%;
  66.     height: 28px;
  67.     border-radius: 4px;
  68.     color: #000000;
  69.     font-family: 'Source Sans Pro', sans-serif;
  70.     text-indent: 10px;
  71.     border: none;
  72.     box-shadow: 1px 1px 1px 1px #cdcdb1;
  73. }
  74. .user3{
  75.     display: flex;
  76.     flex-direction: column;
  77.     margin-bottom: 18px;
  78.     width: 100%;
  79.     height: 116px;
  80.     border-radius: 4px;
  81.     color: #000000;
  82.     font-family: 'Source Sans Pro', sans-serif;
  83.     text-indent: 10px;
  84.     border: none;
  85.     box-shadow: 1px 1px 1px 1px #cdcdb1;
  86.     resize: none;
  87. }
  88. ::-webkit-input-placeholder{
  89.     font-family: 'Source Sans Pro', sans-serif;
  90.     font-weight: 400;
  91.     color: #646464;
  92.     text-indent: 10px;
  93.     font-size: 90%;
  94. }
  95. .user3::-webkit-input-placeholder{
  96.     font-family: 'Source Sans Pro', sans-serif;
  97.     font-weight: 400;
  98.     color: #646464;
  99.     text-indent: 10px;
  100.     text-align: start;
  101. }
  102. .button_submit{
  103.     display: flex;
  104.     justify-content: flex-end;
  105.     width: 60%;
  106.     margin-top: 20px;
  107.     margin-bottom: 25px;
  108. }
  109. .botao{
  110.     background-color:rgba(8,162,132,1.8);
  111.     border: none;
  112.     color: #ffffff;
  113.     font-family: 'Source Sans Pro', sans-serif;
  114.     font-weight: 600;
  115.     width: 93px;
  116.     height: 30px;
  117.     border-radius: 4px;
  118.     float: right;
  119. }
  120. textarea{
  121.     padding: 10px 0 0 0;
  122.     outline: none;
  123. }
  124. input{
  125.     outline: none;
  126. }
  127. form{
  128.     display: flex;
  129.     flex-direction: column;
  130.     justify-content: center;
  131.     align-items: center;
  132.     width: 100%;
  133.     height: 100%;
  134. }
  135.  
  136. @media(orientation:portrait){
  137.     .back{
  138.         height: 80vh;
  139.     }
  140.     .container{
  141.         flex-direction: column;
  142.         width: 66%;
  143.         margin-top: 43px;
  144.     }
  145.     .form1{
  146.         display: flex;
  147.         flex-direction: column;
  148.         margin-left: 25px;
  149.         width: 100%;
  150.     }
  151.     .form2{
  152.         display: flex;
  153.         flex-direction: column;
  154.         width: 100%;
  155.     }
  156.     .user{
  157.         margin-bottom: 8px;
  158.         height: 81px;
  159.     }
  160.     .user2{
  161.         margin-bottom: 9px;
  162.         height: 81px;
  163.     }
  164.     .user3{
  165.         height: 126px;
  166.     }
  167.     .button_submit{
  168.         display: flex;
  169.         justify-content: center;
  170.         width: 66%;
  171.         margin-bottom: 32px;
  172.     }
  173. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement