Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. /* body */
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. background: #ccc;
  6. }
  7.  
  8. /* header */
  9. #logo, #titel {
  10. float: left;
  11. }
  12.  
  13. #logo, #titel, #header, #center {
  14. position: relative;
  15. }
  16.  
  17. #logo {
  18. height: auto;
  19. width: 46px;
  20. top: 2px;
  21. left: 2px;
  22. margin-right: 10px;
  23. }
  24.  
  25. #header {
  26. font-size: 22px;
  27. }
  28.  
  29. #titel {
  30. top: 13px;
  31. }
  32.  
  33. header {
  34. background-color: #888;
  35. height: 51.74px;
  36. }
  37.  
  38. /* nav */
  39. ul.nav.responsive, .nav.responsive li {
  40. display: block;
  41. }
  42.  
  43. .nav ul, .nav li{
  44. display: none;
  45. }
  46.  
  47. .nav ul {
  48. list-style: none;
  49. background-color: #444;
  50. text-align: center;
  51. padding: 0;
  52. margin: 0;
  53. }
  54.  
  55. .nav li {
  56. font-family: 'Oswald', sans-serif;
  57. font-size: 1.2em;
  58. line-height: 40px;
  59. height: 40px;
  60. border-bottom: 1px solid #888;
  61. }
  62.  
  63. .nav a {
  64. text-decoration: none;
  65. color: #fff;
  66. display: block;
  67. transition: .3s background-color;
  68. }
  69.  
  70. .nav a:hover {
  71. background-color: #005f5f;
  72. }
  73.  
  74. .nav a.active {
  75. background-color: #fff;
  76. color: #444;
  77. cursor: default;
  78. }
  79.  
  80. div#hamburger {
  81. margin-bottom: 50px;
  82. font-size: 26px;
  83. }
  84.  
  85. div#hamburger:hover {
  86. cursor: pointer;
  87. }
  88.  
  89. div#hamburger a {
  90. text-decoration: none;
  91. color: #000;
  92. }
  93.  
  94. .icon.open {
  95. transform: rotate(90deg);
  96. display: inline-block;
  97. }
  98.  
  99. /* article */
  100. img.artikel {
  101. width: 80px;
  102. }
  103.  
  104. div.artikel {
  105. margin: 0px 10vw;
  106. width: 40vw;
  107. }
  108.  
  109. div#artikel1 {
  110. margin-bottom: 60px;
  111. }
  112.  
  113. button.artikel {
  114. width: 80px;
  115. height: 30px;
  116. font-size: 1em;
  117. }
  118.  
  119. /* Footer */
  120. footer{
  121. background-color: #888;
  122. clear: both;
  123. height: 135px;
  124. margin-top: 20px;
  125. }
  126.  
  127. .flex{
  128. display: flex;
  129. justify-content: center;
  130. }
  131.  
  132. p{
  133. font-size: 16px;
  134. }
  135.  
  136. div#contact p, div#overons p{
  137. font-size: 17px;
  138. font-weight: bold;
  139. }
  140.  
  141. #overons{
  142. margin-right: 50px;
  143. display: none;
  144. }
  145.  
  146. #contact{
  147. margin-bottom: 10px;
  148. }
  149.  
  150. li.contact{
  151. list-style-type: none;
  152. }
  153.  
  154. ul.contact{
  155. position: relative;
  156. right: 40px;
  157. }
  158.  
  159. @media screen and (min-width: 600px) {
  160. /* nav */
  161. .nav ul, .nav li{
  162. display: block;
  163. }
  164.  
  165. .nav li {
  166. width: 120px;
  167. border-bottom: none;
  168. height: 50px;
  169. line-height: 50px;
  170. font-size: 1.4em;
  171. }
  172.  
  173. .nav li {
  174. display: inline-block;
  175. margin-right: -4px;
  176. }
  177.  
  178. div#hamburger {
  179. display: none;
  180. }
  181.  
  182. /* article */
  183. img.artikel {
  184. width: 40%;
  185. height: auto;
  186. }
  187.  
  188. p {
  189. font-size: 1.2vw;
  190. }
  191.  
  192. /* footer */
  193. div#overons {
  194. display: inline-block;
  195. }
  196. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement