Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. @charset "UTF-8";
  2. /* setjum box-sizing: border-box; á allt */
  3. html {
  4. /* stylelint-disable-line */
  5. box-sizing: border-box; }
  6.  
  7. *, *:before, *:after {
  8. /* stylelint-disable-line */
  9. box-sizing: inherit;
  10. /* fjarlægjum margin og padding */
  11. padding: 0;
  12. margin: 0; }
  13.  
  14. html {
  15. /* stylelint-disable-line */
  16. margin-right: 20px;
  17. margin-left: 20px;
  18. font-family: Lato, helvetica, arial, sans-serif;
  19. font-size: 16px;
  20. line-height: 1.5; }
  21. @media (min-width: 1200px) {
  22. html {
  23. margin: 0; } }
  24.  
  25. img {
  26. /* stylelint-disable-line */
  27. max-width: 100%; }
  28.  
  29. main {
  30. /* stylelint-disable-line */
  31. max-width: 1200px;
  32. margin: 0 auto;
  33. overflow-x: hidden; }
  34.  
  35.  
  36. .row {
  37. display: flex;
  38. flex-wrap: wrap;
  39. margin-right: -10px;
  40. margin-bottom: 20px;
  41. margin-left: -10px; }
  42.  
  43. .col {
  44.  
  45. padding-right: 10px;
  46. padding-left: 10px;
  47. text-align: center; }
  48. .col-12 {
  49. width: 100%; }
  50. .col-8 {
  51. width: 66.66667%; }
  52. .col-6 {
  53. width: 50%; }
  54. .col-4 {
  55. width: 33.33333%; }
  56. .col-3 {
  57. width: 25%; }
  58. @media (max-width: 599px) {
  59. .col-sm-12 {
  60. width: 100%; }
  61. .col-sm-8 {
  62. width: 66.66667%; }
  63. .col-sm-6 {
  64. width: 50%; }
  65. .col-sm-4 {
  66. width: 33.33333%; }
  67. .col-sm-3 {
  68. width: 25%; } }
  69.  
  70. header {
  71. display: flex;
  72. flex-direction: column;
  73.  
  74. margin-bottom: 2em;
  75. padding: 2em;
  76.  
  77. width: 100%;
  78. height: 1000px;
  79.  
  80. background-size: cover;
  81. }
  82.  
  83. /* Cover Image Text Animation */
  84.  
  85. @keyframes opacity {
  86. 0% {
  87. opacity: 0;
  88. }
  89. 100% {
  90. opacity: 1;
  91. }
  92. }
  93.  
  94. .bgtext {
  95. margin: auto;
  96. text-align: center;
  97. }
  98.  
  99. .bgtext h1 {
  100. animation: 2s ease-in 0s 1 opacity; }
  101. .bgtext h2 {
  102. animation: 1s ease-in 0s 1 opacity; }
  103. .bgtext button {
  104. animation: 3s ease-in 0s 1 opacity; }
  105.  
  106. /* Navigation Bar */
  107.  
  108. .navbar {
  109. /*overflow: hidden;*/
  110. background-color: #333;
  111. position: fixed; /* Set the navbar to fixed position */
  112. top: 0; /*Position the navbar at the top of the page */
  113. right: 0;
  114. width: 100%; /* Full width */
  115. }
  116.  
  117. .navbar a {
  118. float: left;
  119. display: block;
  120. color: #f2f2f2;
  121. text-align: center;
  122. padding: 14px 16px;
  123. text-decoration: none;
  124. }
  125.  
  126. /* Buttons */
  127.  
  128. button {
  129. max-width: 256px;
  130. padding: 5px 15px 5px 15px;
  131. border: 1px solid #666;
  132. border-radius: 4px;
  133. overflow: hidden;
  134. white-space: nowrap;
  135. text-overflow: ellipsis;
  136. color: #eee;
  137. background-color: #666;
  138. font-family: Lato, Helvetica, Arial, sans-serif;
  139. font-size: 1em;
  140. cursor: pointer;
  141. }
  142.  
  143. /* Image Tweaks */
  144.  
  145. .header--kaupa {
  146. background: transparent url(images/bg-subpage.jpg) no-repeat fixed 50% 50%; }
  147. .header--forsida {
  148. background: transparent url(images/bg.jpg) no-repeat fixed 50% 50%; }
  149. .header--um {
  150. background: transparent url(images/bg-subpage.jpg) no-repeat fixed 50% 50%; }
  151.  
  152. .check {
  153. height: 25px;
  154. }
  155.  
  156. .sideimg {
  157. height: 300px;
  158. }
  159.  
  160. .profilepic {
  161. width: 250px;
  162. height: 250px;
  163. background-color: #ccc;
  164. border-radius: 50%;
  165. }
  166.  
  167. /*Footer*/
  168.  
  169. footer {
  170. background-color: #333;
  171. bottom: 0;
  172. width: 100%;
  173. padding: 14px 16px;
  174. text-align: center;
  175. color: #aaa;
  176. font-size: 0.85em;
  177. }
  178.  
  179. footer .copyright p {
  180. padding-top: 15px;
  181. color: #aaa;
  182. font-size: 0.75em;
  183. }
  184.  
  185. /* Forms */
  186.  
  187. .forms {
  188. text-align: left;
  189. padding-left: 25%;
  190. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement