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.

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