You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

218 lines
3.3 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. @import 'src/fonts/stylesheet.css';
  2. /**
  3. * variables
  4. *
  5. */
  6. $text-color: #fff;
  7. $link-color: #fefe5b;
  8. $link-background-color: #008106;
  9. $background-color: #000084;
  10. $background-contrast-color: #bbbbbb;
  11. $color__text: #bbbbbb;
  12. $color__secondary: #00aaaa;
  13. /**
  14. * default elements
  15. *
  16. */
  17. body {
  18. color: $text-color;
  19. background-color: $background-color;
  20. font-family: 'PxPlus IBM VGA8', sans-serif;
  21. font-style: normal;
  22. font-size: 1.2rem;
  23. line-height: 1.3;
  24. }
  25. a {
  26. text-decoration: none;
  27. &:focus {
  28. outline: none;
  29. }
  30. }
  31. h1, h2, h3, h4, h5, h6 {
  32. font-size: 18px;
  33. font-weight: normal;
  34. text-transform: uppercase;
  35. }
  36. .site-header {
  37. padding: 20px 20px;
  38. margin: 20px 0 20px;
  39. color: #000;
  40. background: $color__secondary;
  41. h1, h2, h3, h4, h5, h6 {
  42. margin: 0;
  43. }
  44. }
  45. main {
  46. margin: 50px 0;
  47. }
  48. /**
  49. * navigation
  50. *
  51. *
  52. */
  53. .navbar {
  54. padding: 10px;
  55. background-color: $background-contrast-color;
  56. @media (min-width: 768px) {
  57. padding: 0;
  58. }
  59. ul {
  60. list-style: none;
  61. padding: 10px;
  62. margin: 0;
  63. border: 1px solid #000;
  64. @media (min-width: 768px) {
  65. margin: 0 0 0 10px;
  66. padding: 0;
  67. border: none;
  68. }
  69. li {
  70. display: block;
  71. line-height: 20px;
  72. @media (min-width: 768px) {
  73. display: inline-block;
  74. }
  75. a {
  76. display: block;
  77. padding: 4px 10px;
  78. color: #fff;
  79. @media (min-width: 768px) {
  80. display: inline-block;
  81. }
  82. &:hover {
  83. color: #fff;
  84. background-color: #000;
  85. }
  86. }
  87. &.current {
  88. a {
  89. color: #fff;
  90. background-color: #000;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. /**
  97. * footer
  98. *
  99. *
  100. */
  101. footer {
  102. text-align: center;
  103. font-size: 3rem;
  104. width: 100%;
  105. background: #000;
  106. padding: 0.8em 0;
  107. i {
  108. color: #fff !important;
  109. }
  110. }
  111. /**
  112. * icons
  113. *
  114. *
  115. */
  116. [class^="icon-tiny"], [class*=" icon-tiny"] {
  117. font-family: 'PxPlus IBM VGA8', sans-serif !important;
  118. font-style: normal;
  119. color: $link-color;
  120. }
  121. .icon-tiny-one-page-open {
  122. &:after {
  123. content: '\2630';
  124. }
  125. }
  126. .icon-tiny-one-page-close {
  127. &:after {
  128. content: '\2A2F';
  129. }
  130. }
  131. /**
  132. * tiny-tiny-hamburger
  133. *
  134. *
  135. */
  136. .tiny-one-page {
  137. // modal with animation
  138. &__modal {
  139. position: fixed;
  140. top: 0;
  141. left: 0;
  142. width: 100%;
  143. z-index: 99;
  144. height: auto;
  145. max-height: 0;
  146. overflow: hidden;
  147. transition: max-height 0.2s;
  148. @media (min-width: 768px) {
  149. max-height: none !important;
  150. }
  151. }
  152. &__button {
  153. position: fixed;
  154. top: 0;
  155. right: 0;
  156. font-size: 1.8rem;
  157. appearance: none;
  158. border: none;
  159. background: transparent;
  160. padding: 0.7em 0.8em;
  161. z-index: 100;
  162. &:hover, &:focus {
  163. outline: none;
  164. }
  165. &:hover {
  166. cursor: pointer;
  167. }
  168. @media (min-width: 768px) {
  169. display: none;
  170. }
  171. }
  172. }