eulaliaaires

BannerDjango.css

Jun 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.83 KB | None | 0 0
  1. body{
  2.     margin: 0px;
  3. }
  4. .banner{
  5.     display: flex;
  6.     flex-direction: column;
  7.     justify-content: center;
  8.     align-items: center;
  9.     position: relative;
  10.     width: 100vw;
  11.     height: 100vh;
  12.     background-image: url("/static/imagens/banner.jpg");
  13.     background-size: cover;
  14.     background-position: center center;
  15.     background-repeat: no-repeat;
  16. }
  17. .menu{
  18.     display: flex;
  19.     flex-direction: row;
  20.     align-items: center;
  21.     justify-content: flex-end;
  22.     height: 100%;
  23. }
  24. .menu ul{
  25.     /*display none pra desaparecer as coisas*/
  26.     display: flex;
  27.     justify-content: space-between;
  28.     margin: 40px;
  29.     list-style: none;
  30.     float: right;
  31.     width: 332px;
  32. }
  33. .menu ul li{
  34.     display: inline;
  35. }
  36. .menu ul li a{
  37.     padding-right: 10px;
  38.     display: inline-block;
  39.     text-decoration: none;
  40.     font-family: 'Source Sans Pro', sans-serif;
  41.     font-weight: 600;
  42.     font-size: 18px;
  43.     color: #ffff;
  44. }
  45. .navbar{
  46.     width: 100%;
  47.     display: flex;
  48.     justify-content: space-between;
  49.     position: fixed;
  50.     top: 0;
  51. }
  52. .logomarca{
  53.     display: inline-flex;
  54.     align-items: center;
  55.     height: 100%;
  56. }
  57.  
  58. #logo{
  59.     margin: 20px 0 20px 40px;
  60.     width: 74px;
  61.     float: left;
  62. }
  63. .text{
  64.     margin-top: 73px;
  65.     color: #ffff;
  66.     font-size: 54px;
  67.     font-weight: 400;
  68.     font-family:'Source Sans Pro', sans-serif;
  69.     text-align: center;
  70.     top: 41%;
  71.     left: 21%;
  72.     width: 59%;
  73. }
  74. .style{
  75.     margin-right: 4px;
  76.     margin-left: 3px;
  77.     font-family:'Putumayo', sans-serif;
  78.     font-size: 24px;
  79.     color: #ffff;
  80. }
  81. .style2{
  82.     font-family: 'Putumayo', sans-serif;
  83.     font-size: 27px;
  84.     color: #ffff;
  85. }
  86. @font-face{
  87.     font-family: Putumayo;
  88.     src: url('Putumayo.ttf');
  89. }
  90. .button_banner{
  91.     display: flex;
  92.     flex-direction: column;
  93.     justify-content: center;
  94.     align-items: center;
  95.     width: 124px;
  96.     height: 30px;
  97.     background-color:rgba(8,162,132,1.8);
  98.     color: #ffff;
  99.     font-family: 'Source Sans Pro', sans-serif;
  100.     font-weight: 600;
  101.     border-radius: 3px;
  102.     margin-top: 40px;
  103.     text-decoration: none;
  104. }
  105. .button_banner a{
  106.     width: 124px;
  107.     text-align: center;
  108.     display: block;
  109.     text-decoration: none;
  110.     color: #ffff;
  111. }
  112. @media(max-width: 768px){
  113.     .text{
  114.     width: 77%;  
  115.     }
  116. }
  117. @media(max-width: 414px){
  118.     .menu{
  119.         display: none;
  120.     }
  121.     .text{
  122.         font-size: 30px;  
  123.     }
  124.     #logo{
  125.         margin: 20px 0 20px 20px;
  126.         width: 70px;
  127.     }
  128.     .style{
  129.         font-size: 24px;
  130.     }
  131.     .style2{
  132.         font-size: 27px;
  133.     }
  134. }
  135. @media(max-width: 320px){
  136.     .text{
  137.         font-size: 25px;  
  138.     }
  139.     #logo{
  140.         margin: 20px 0 20px 20px;
  141.         width: 57px;
  142.     }
  143.     .style{
  144.         font-size: 21px;
  145.     }
  146.     .style2{
  147.         font-size: 22px;
  148.     }
  149. }
Advertisement
Add Comment
Please, Sign In to add comment