Advertisement
cokoladka

Untitled

Jul 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>eksdi</title>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
  8. <link rel="stylesheet" href="/normalize.min.css">
  9. <link rel="stylesheet" href="/style.css">
  10. </head>
  11. <body>
  12. <div id="background"></div>
  13. <div id="wrapper">
  14. <header>FOTOGALÉRIA</header>
  15. <div id="path">KATEGÓRIE</div>
  16. <main>
  17. <section>
  18. <img src="/images/nature.jpeg" alt="Landscape">
  19. <details>
  20. <summary>PRÍRODA</summary>
  21. <p>0 fotiek</p>
  22. </details>
  23. </section>
  24. <section>
  25. <img src="/images/arch.jpeg" alt="Modern house">
  26. <details>
  27. <summary>ARCHITEKTÚRA</summary>
  28. <p>6 fotiek</p>
  29. </details>
  30. </section>
  31. <section>
  32. <img src="/images/people.jpg" alt="Person">
  33. <details>
  34. <summary>ĽUDIA</summary>
  35. <p>0 fotiek</p>
  36. </details>
  37. </section>
  38. <section>
  39. <img src="/images/food.jpg" alt="Bowl of food">
  40. <details>
  41. <summary>JEDLO</summary>
  42. <p>0 fotiek</p>
  43. </details>
  44. </section>
  45. <section>
  46. <img src="/images/cars.jpeg" alt="Red car">
  47. <details>
  48. <summary>AUTÁ</summary>
  49. <p>0 fotiek</p>
  50. </details>
  51. </section>
  52. </main>
  53. <footer>mgmgmg</footer>
  54. </div>
  55.  
  56. <!--[if lt IE 9]>
  57. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  58. <![endif]-->
  59. </body>
  60. </html>
  61.  
  62.  
  63. style
  64.  
  65. *
  66. {
  67. margin: 0;
  68. padding: 0;
  69. text-decoration: none;
  70. list-style-type: none;
  71. }
  72.  
  73. html
  74. {
  75. background-color: black;
  76. }
  77.  
  78. body
  79. {
  80. display: flex;
  81. justify-content: center;
  82.  
  83. font-family: 'Roboto', sans-serif;
  84. }
  85.  
  86. #wrapper
  87. {
  88. padding: 72px 0 0 0;
  89. width: 1176px;
  90.  
  91. display: flex;
  92. flex-direction: column;
  93. align-items: stretch;
  94. }
  95.  
  96. #wrapper > *
  97. {
  98. flex-shrink: 0;
  99. }
  100.  
  101. #background
  102. {
  103. width: 100%;
  104. height: 338px;
  105. position: absolute;
  106. z-index: -25;
  107. filter: blur(20px) brightness(75%);
  108. background-image: url("/images/arch.jpeg");
  109. background-position: 50% 58%;
  110. background-size: cover;
  111. border: 0 solid #f9f9f9;
  112. border-width: 0 0 100vh 0;
  113. }
  114.  
  115. header
  116. {
  117. padding: 28px 0;
  118. margin: 4px 0;
  119.  
  120. font-size: 24px;
  121. font-weight: 500;
  122. color: white;
  123. }
  124.  
  125. #path
  126. {
  127. padding: 15px 0;
  128. margin: 4px 0;
  129.  
  130. font-size: 16px;
  131. font-weight: 500;
  132. color: white;
  133. }
  134.  
  135. main
  136. {
  137. display: flex;
  138. flex-flow: row wrap;
  139. }
  140.  
  141. section
  142. {
  143. width: calc(100% / 4);
  144. }
  145.  
  146. img
  147. {
  148. width: 100%;
  149. }
  150.  
  151. summary
  152. {
  153. font-size: 16px;
  154. font-weight: 500;
  155. color: #555555;
  156. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement