Advertisement
Sempervivum

Untitled

Sep 4th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. * {
  2. margin: 0px;
  3. padding: 0px;
  4. }
  5.  
  6. body {
  7. background-image: url(https://wallpapercave.com/wp/vueGjUL.jpg);
  8. height: 100vh;
  9. display: flex;
  10. flex-direction: column;
  11. }
  12.  
  13. div.scroll {
  14. overflow-y: auto;
  15. flex-grow: 1;
  16. display: flex;
  17. flex-direction: column;
  18. }
  19.  
  20. div.navbar {
  21. font-family: Impact;
  22. width: 100%;
  23. background-color: rgba(0, 0, 0, 0.9);
  24. color: white;
  25. text-align: center;
  26. font-weight: normal;
  27. letter-spacing: 0.2em;
  28. }
  29.  
  30. li.button {
  31. display: inline-block;
  32. padding: 10px 25px;
  33. margin: 10px 15px;
  34. background-color: rgba(0, 0, 0, 0.4);
  35. border-radius: 30px;
  36. }
  37.  
  38. li.button:hover {
  39. background-color: rgba(255, 255, 255, 0.4);
  40. }
  41.  
  42. a, a:visited {
  43. color: white;
  44. text-decoration: none;
  45. position: relative;
  46. z-index: 1;
  47. padding: 2em;
  48. margin: -2em;
  49. }
  50.  
  51. div.main {
  52. }
  53.  
  54. div.container {
  55. display: flex;
  56. width: 70%;
  57. margin: 80px 15% 50px 15%;
  58. background-color: rgba(0, 0, 0, 0.5);
  59. border-top-right-radius: 30px;
  60. border-bottom-right-radius: 30px;
  61. }
  62.  
  63. div.sidebar {
  64. flex-basis: 120px;
  65. flex-grow: 1;
  66. background-color: rgba(0, 0, 0, 0.8);
  67. background-image: linear-gradient(left );
  68. border-top-right-radius: 30px;
  69. border-bottom-right-radius: 30px;
  70. color: white;
  71. }
  72.  
  73. div.article {
  74. margin: 10px 5% 10px 5%;
  75. color: white;
  76. }
  77.  
  78. h2 {
  79. margin: 10px;
  80. }
  81.  
  82. h4 {
  83. margin: 5px;
  84. }
  85.  
  86. div.row {
  87. display: flex;
  88. width: 70%;
  89. margin: 0px 15%;
  90. background-color: rgba(0, 0, 0, 0.5);
  91. border-radius: 30px;
  92. }
  93.  
  94. div.col {
  95. margin: 1%;
  96. flex-basis: 23%;
  97. background-color: rgba(0, 0, 0, 0.8);
  98. border-radius: 30px;
  99. display: inline-block;
  100. text-align: center;
  101. }
  102.  
  103. div.col img {
  104. margin: 1.25%;
  105. height: 95%;
  106. width: 95%;
  107. object-fit: contain;
  108. }
  109.  
  110. div.filler {
  111. flex-basis: 55px;
  112. flex-grow: 1;
  113. flex-shrink: 0;
  114. }
  115. div.footer {
  116. font-family: Arial, Helvetica, serif;
  117. width: 100%;
  118. background-color: rgba(0, 0, 0, 0.5);
  119. color: white;
  120. font-weight: normal;
  121. position: relative;
  122. }
  123.  
  124. div.footer p, h6 {
  125. text-align: right;
  126. margin: 40px 20px 0px 0px;
  127. color: rgba(255, 255, 255, 0.4);
  128. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement