Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.07 KB | None | 0 0
  1. *-------------------------------------------------------------TIPOGRAFIA-------------------------------------------------------------------------*/
  2. @font-face {
  3.     font-family: 'robotoregular';
  4.     src: url('roboto-regular-webfont.woff2') format('woff2'),
  5.          url('roboto-regular-webfont.woff') format('woff');
  6.     font-weight: normal;
  7.     font-style: normal;
  8.  
  9. }
  10.  
  11. @font-face {
  12.     font-family: 'robotobold';
  13.     src: url('roboto-bold-webfont.woff2') format('woff2'),
  14.          url('roboto-bold-webfont.woff') format('woff');
  15.     font-weight: normal;
  16.     font-style: normal;
  17.  
  18. }
  19. /*--------------------------------------------------------------------------TOTAL-----------------------------------------------------------------*/
  20.  
  21. *{
  22.     margin: 0;
  23.     padding: 0;
  24. }
  25.  
  26.  
  27. /*--------------------------------------------------------------------MENU------------------------------------------------------------------------*/
  28. .um{
  29.     background-color: #333;
  30.     width: 100%;
  31.     height: 1px;
  32.     z-index: 1000;
  33.     position: fixed;
  34. }
  35.  
  36. #logo{
  37.     width: 10%;
  38.     margin-top: 10px;
  39.     margin-left: 50px;
  40.     float: left;
  41. /*    position: relative;*/
  42. }
  43.  
  44. .menu{
  45.     width: 100%;
  46.     height: 48px;
  47.     position: fixed;
  48.     background-color: #333;
  49.     font-family: sans-serif;
  50. }
  51.  
  52. .menu ul{
  53.     list-style: none;
  54.     position: relative;
  55. }
  56.  
  57. .menu ul li{
  58.     width: 150px;
  59.     float: right;
  60. }
  61.  
  62. .menu a{
  63.     padding: 15px;
  64.     display: block;
  65.     text-decoration: none;
  66.     text-align: center;
  67.     background-color: #333;
  68.     color: white;
  69. }
  70.  
  71. .menu ul ul{
  72.     position: absolute;
  73.     visibility: hidden;
  74. }
  75.  
  76. .menu ul li:hover ul{
  77.     visibility: visible;
  78. }
  79.  
  80. .menu a:hover{
  81.     background-color: #f4f4f4;
  82.     color: #555;
  83. }
  84.  
  85. .menu ul ul li{
  86.     float: none;
  87.     border-bottom: solid 1px #f4f4f4;
  88. }
  89.  
  90. label[for="bt_menu"]{
  91.     float: left;
  92.     position: fixed;
  93.     padding: 5px;
  94.     background-color: #333;
  95.     z-index: 1000;
  96.     color: white;
  97.     font-family: sans-serif;
  98.     text-align: center;
  99.     font-size: 20px;
  100.     cursor: pointer;
  101.     width: 20px;
  102.     height: 20px;
  103. }
  104.  
  105. #bt_menu{
  106.     display: none;
  107. }
  108.  
  109. label[for="bt_menu"]{
  110.     display: none;
  111. }
  112.  
  113.  
  114. @media(max-width: 375px){
  115.     label[for="bt_menu"]{
  116.     display: block;
  117.     }
  118.     #bt_menu:checked ~ .menu{
  119.         margin-left: 0;
  120.     }
  121.     .menu{
  122.         margin-top: 30px;
  123.         margin-left: -100%;
  124.         transition: all .4s;
  125.     }
  126.     .menu ul li{
  127.         width: 100%;
  128.         float: none;
  129.     }
  130.     .menu ul ul{
  131.         position: static;
  132.         overflow: hidden;
  133.         max-height: 0;
  134.         transition: all .4s;
  135.     }
  136.     .menu ul li:hover ul{
  137.         height: auto;
  138.         max-height: 200px;
  139.     }
  140.     .menu a:hover{
  141.     background-color: rgba(163,183,172,5);
  142.     color: black;
  143.     }
  144.     #logo{
  145.         width: 20%;
  146.         background-color:#333;
  147.         z-index: 10000;
  148.         position: fixed;
  149.         margin-top: 10px;
  150.         margin-left: 120px;
  151.         float: left;
  152.     }
  153.    
  154.     .um{
  155.         background-color: #333;
  156.         width: 100%;
  157.         height: 30px;
  158.         margin-left: 20px;
  159.         position: fixed;
  160.     }
  161. }
  162.  
  163. /*------------------------------CONTAINER--------------------*/
  164.  
  165. .imagem1{
  166.     width: 100%;
  167.     height: 800px;
  168.     background-color: red;
  169.     background-image: url('../image/transferir2.png');
  170. }
  171.  
  172. .txtfoto{
  173.     width: 100%;
  174.     height: 350px;
  175.     margin-top: 15px;
  176. }
  177.  
  178. .txt{
  179.     width: 50%;
  180.     height: 350px;
  181.     float: left;
  182. }
  183.  
  184. .fotof{
  185.    
  186.     background-image: url('../image/calcas2.png');
  187.     width: 50%;
  188.     height: 350px;
  189.     float: right;
  190. }
  191.  
  192. h1{
  193.     font-family: 'robotobold', sans-serif;
  194.     margin-left: 25%;
  195. }
  196.  
  197. p{
  198.     margin-left: 20px;
  199.     margin-right: 20px;
  200.     margin-top: 15px;
  201.     font-family: 'robotoregular', sans-serif;
  202. }
  203.  
  204.  
  205. .ext{
  206.     width: 100%;
  207.     height: 300px;
  208.     margin-top: 100px;
  209. }
  210.  
  211. .fotoext{
  212.     width: 30%;
  213.     height: 300px;
  214.     float: left;
  215.     background-image: url('../image/3676.png');
  216.     margin-left: 10%;
  217. }
  218.  
  219. .fotoext1{
  220.     width: 30%;
  221.     height: 300px;
  222.     float: left;
  223.     background-image: url('../image/3677.png');
  224.     margin-left: 10%;
  225. }
  226.  
  227. .fotoext2{
  228.     width: 30%;
  229.     height: 300px;
  230.     float: left;
  231.     background-image: url('../image/luz.png');
  232.     margin-left: 10%;
  233. }
  234.  
  235. .fotoext3{
  236.     width: 30%;
  237.     height: 300px;
  238.     float: left;
  239.     background-image: url('../image/som.png');
  240.     margin-left: 10%;
  241. }
  242.  
  243. .txtext{
  244.     width: 40%;
  245.     height: 300px;
  246.    margin-left: 50px;
  247.     margin-top: 100px;
  248.     font-family: 'robotoregular',sans-serif;
  249.     float: left;
  250. }
  251.  
  252. /* Customize the label (the container) */
  253. .container {
  254.   display: block;
  255. /*    z-index: -1;*/
  256.   position: relative;
  257.   padding-left: 35px;
  258.   margin-bottom: 12px;
  259.   cursor: pointer;
  260.   font-size: 22px;
  261.   -webkit-user-select: none;
  262.   -moz-user-select: none;
  263.   -ms-user-select: none;
  264.   user-select: none;
  265. }
  266.  
  267. /* Hide the browser's default checkbox */
  268. .container input {
  269.   position: absolute;
  270.   opacity: 0;
  271. }
  272.  
  273. /* Create a custom checkbox */
  274. .checkmark {
  275.   position: absolute;
  276.   top: 0;
  277.   left: 0;
  278.   height: 25px;
  279.   width: 25px;
  280.     border: solid 1px #333;
  281.   background-color: #eee;
  282. }
  283.  
  284. /* On mouse-over, add a grey background color */
  285. .container:hover input ~ .checkmark {
  286.   background-color: #ccc;
  287. }
  288.  
  289. /* When the checkbox is checked, add a blue background */
  290. .container input:checked ~ .checkmark {
  291.   background-color: #2196F3;
  292. }
  293.  
  294. /* Create the checkmark/indicator (hidden when not checked) */
  295. .checkmark:after {
  296.   content: "";
  297.   position: absolute;
  298.   display: none;
  299. }
  300.  
  301. /* Show the checkmark when checked */
  302. .container input:checked ~ .checkmark:after {
  303.   display: block;
  304. }
  305.  
  306. /* Style the checkmark/indicator */
  307. .container .checkmark:after {
  308.   left: 9px;
  309.   top: 5px;
  310.   width: 5px;
  311.   height: 10px;
  312.   border: solid white;
  313.   border-width: 0 3px 3px 0;
  314.   -webkit-transform: rotate(45deg);
  315.   -ms-transform: rotate(45deg);
  316.   transform: rotate(45deg);
  317. }
  318.  
  319. button{
  320.     background-color: #333;
  321.     width: 10%;
  322.     height: 50px;
  323.     cursor: pointer;
  324. }
  325.  
  326. button a{
  327.     text-decoration: none;
  328.     list-style: none;
  329.     color: white;
  330. }
  331.  
  332. button:hover{
  333.     background-color: darkgray;
  334.     transition: .2s;
  335. }
  336.  
  337. button a:hover{
  338.     color: #333;
  339.     transition: .2s;
  340. }
  341.  
  342. /*-------------------------------FOOTER----------------------*/
  343.  
  344. footer{
  345.     width: 100%;
  346.     height: 50px;
  347.     position: absolute;
  348.     margin-top: 1.1%;
  349.     background-color: #333;
  350. }
  351.  
  352. #footertxt{
  353.     color: white;
  354.     font-family: 'robotoregular', sans-serif;
  355.     float: right;
  356.     margin-top: 15px;
  357.     margin-right: 15px;
  358. }
  359.  
  360.  
  361. .socialBtn{
  362.     height: 35px;
  363.     width: 100%;
  364.     margin: auto;
  365.     padding-top: 5px
  366. }
  367.  
  368. .socialBtn a img{
  369.     margin-left: 10px;
  370. }
  371.  
  372. #facebook{
  373.     background-size: cover;
  374.     width: 30px;
  375.     height: 30px;
  376.     float: left;
  377.     margin-top: 5px;
  378.     margin-left: 50px;
  379.     transition: all 0.4s ease-out;
  380. }
  381.  
  382. #facebook:hover{
  383.     cursor: pointer;
  384.     transform: translateY(-3px);
  385.     box-shadow: 2px 10px 6px 0px rgba(0,0,0,0.4);
  386. }
  387.  
  388. #insta{
  389.     background-size: cover;
  390.     width: 30px;
  391.     height: 30px;
  392.     float: left;
  393.     margin-top: 5px;
  394.     transition: all 0.4s ease-out;
  395. }
  396.  
  397. #insta:hover{
  398.     cursor: pointer;
  399.     transform: translateY(-5px);
  400.     box-shadow: 2px 10px 6px 0px rgba(0,0,0,0.4);
  401. }
  402.  
  403. @media(max-width: 375px){
  404.     footer{
  405.         width: 100%;
  406.         height: 25px;
  407.         position: absolute;
  408.         margin-top: 590px;
  409.         background-color: #333;
  410.     }
  411.     #footertxt{
  412.         color: white;
  413.         font-family: 'robotoregular', sans-serif;
  414.         float: right;
  415.         margin-top: 2px;
  416.         margin-right: 10px;
  417.         font-size: 10px;
  418.     }
  419.     #facebook{
  420.         background-size: cover;
  421.         width: 20px;
  422.         height: 20px;
  423.         float: left;
  424.         margin-top: -2px;
  425.         margin-left: 10px;
  426.     }
  427.     #insta{
  428.         background-size: cover;
  429.         width: 20px;
  430.         height: 20px;
  431.         float: left;
  432.         margin-top: -2px;
  433.     }
  434. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement