Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.93 KB | None | 0 0
  1. * {
  2.   margin: 0px;
  3.   padding: 0px;
  4.   box-sizing: border-box;
  5. }
  6.  
  7. html {
  8.   font-family: 'Roboto', sans-serif;
  9. }
  10.  
  11. .clearfix::after {
  12.   content: "";
  13.   display: block;
  14.   clear: both;
  15. }
  16.  
  17. header {
  18.   position: relative;
  19.   height: 100vh;
  20.   width: 100vw;
  21.   background-image: url(../img/manhattan-336708_1920.jpg);
  22.   background-size: cover;
  23.   background-attachment: fixed;
  24.   background-repeat: no-repeat;
  25.   max-width: 2444px;
  26.   margin: 0 auto;
  27. }
  28.  
  29.  
  30. header p {
  31.   width: 100%;
  32.   background-color: rgba(0, 0, 0, 0.7);
  33.   color: aliceblue;
  34.   bottom: 60%;
  35.   font-size: 40px;
  36.   text-align: center;
  37.   text-transform: uppercase;
  38.   letter-spacing: 1px;
  39.  
  40.   padding: 20px;
  41. }
  42.  
  43.  
  44. /*nawigacja*/
  45. /* Nawigacja OPCJA 1*/
  46.  
  47.  
  48. /*
  49. body header section a img {
  50.   display: flex;
  51.   justify-content: space-around;
  52.   bottom: 20%;
  53. }
  54. */
  55. .nav {
  56.  
  57.   display: flex;
  58.   justify-content: space-between;
  59. }
  60.  
  61.  
  62.  
  63. body header section a img {
  64.   width: 150px;
  65.   height: 200px;
  66. }
  67.  
  68. .flex-container {
  69.   position:absolute;
  70.   top: 200px;
  71.   width: 100%;
  72.   display: flex;
  73.   justify-content: space-between;
  74.   background-color: DodgerBlue;
  75. }
  76.  
  77. /* NAWIGACJA OPCJA DRUGA
  78. nav {
  79.   position: fixed;
  80.   top: 10px;
  81.   left: 95%;
  82. }
  83.  
  84. nav div {
  85.   right: 80%;
  86. }
  87.  
  88. nav div button {
  89.   width: 50px;
  90.   height: 50px;
  91. }
  92. */
  93.  
  94.  
  95.  
  96.  
  97. /*nawigacja menu*/
  98. /*
  99. nav ul li {
  100.   float: left;
  101.   list-style: none;
  102.   line-height: 70px;
  103.   width: auto;
  104.   padding: 0 40px;
  105.   border-right: 2px solid black;
  106. }
  107.  
  108. nav ul {
  109.   max-width: 1280px;
  110.   margin: 0 auto;
  111. }
  112.  
  113. nav {
  114.   top: 0px;
  115.   background-color: #343A40;
  116.   padding-left: 5%;
  117.   position: fixed;
  118.   width: 100vw;
  119. }
  120.  
  121. nav ul li a {
  122.   text-decoration: none;
  123.   color: #bbb;
  124. }
  125.  
  126. nav ul li:nth-last-child(1) {
  127.   border: none;
  128.  
  129. }
  130.  
  131. nav ul li:hover {
  132.   font: white;
  133.  
  134. }
  135.  
  136. i {
  137.   margin: 10px;
  138.   font-size: 24px;
  139.   vertical-align: -2px;
  140. }
  141.  
  142. p {
  143.   margin-top: 70px;
  144. }
  145.  
  146. .fixed {
  147.   position: fixed;
  148. }
  149. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement