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.

197 lines
2.7 KiB

  1. /**
  2. * variables
  3. *
  4. */
  5. $text-color: #000;
  6. $link-color: #fefe5b;
  7. $background-color: #000084;
  8. $background-contrast-color: #bbbbbb;
  9. /**
  10. * default elements
  11. *
  12. */
  13. body {
  14. color: $text-color;
  15. background-color: $background-color;
  16. font-family: 'PxPlus IBM VGA8', sans-serif;
  17. font-style: normal;
  18. font-size: 1.2rem;
  19. }
  20. *:first-letter {
  21. color: $link-color;
  22. }
  23. a {
  24. color: $text-color;
  25. text-decoration: none;
  26. }
  27. /**
  28. * navigation
  29. *
  30. *
  31. */
  32. nav {
  33. ul {
  34. list-style: none;
  35. border: 3px solid #000;
  36. margin: 0;
  37. padding: 0.6em 0.8em;
  38. a {
  39. display: block;
  40. padding: 0.1em;
  41. margin: -0.1em;
  42. &:hover, &.current {
  43. color: #fff;
  44. background-color: $text-color;
  45. }
  46. }
  47. }
  48. }
  49. /**
  50. * footer
  51. *
  52. *
  53. */
  54. footer {
  55. position: absolute;
  56. bottom: 0;
  57. z-index: -1;
  58. text-align: center;
  59. font-size: 3rem;
  60. width: 100%;
  61. background: #000;
  62. padding: 0.8em 0;
  63. i {
  64. color: #fff !important;
  65. }
  66. }
  67. /**
  68. * panel
  69. *
  70. *
  71. */
  72. .panel {
  73. padding: 6px 0;
  74. background-color: $background-contrast-color;
  75. }
  76. /**
  77. * icons
  78. *
  79. *
  80. */
  81. [class^="icon-tiny"], [class*=" icon-tiny"] {
  82. font-family: 'PxPlus IBM VGA8', sans-serif !important;
  83. font-style: normal;
  84. color: $link-color;
  85. }
  86. .icon-tiny-hamburger-open, .icon-tiny-hamburger-close {
  87. position: absolute;
  88. top: 3px;
  89. transition: transform .2s;
  90. margin: 3px;
  91. &:after {
  92. content: '\2bc5';
  93. }
  94. }
  95. .icon-tiny-hamburger-open {
  96. transform: rotate(0deg);
  97. }
  98. .icon-tiny-hamburger-close {
  99. transform: rotate(180deg);
  100. }
  101. /**
  102. * tiny-tiny-hamburger
  103. *
  104. *
  105. */
  106. .tiny-hamburger {
  107. &__inner {
  108. padding: 4px 8px 5px;
  109. }
  110. // modal with animation
  111. &__modal {
  112. height: auto;
  113. max-height: 0;
  114. overflow: hidden;
  115. transition: max-height 0.2s;
  116. }
  117. &__button {
  118. appearance: none;
  119. border: none;
  120. background: transparent;
  121. padding: 0.3em 0.5em;
  122. &:hover {
  123. cursor: pointer;
  124. outline: none;
  125. background-color: $background-contrast-color;
  126. }
  127. &:focus {
  128. outline: none;
  129. }
  130. }
  131. }
  132. .navbar {
  133. position: fixed;
  134. width: 100%;
  135. text-align: center;
  136. background-color: white;
  137. li {
  138. display: inline-block;
  139. margin: 0 0.3em;
  140. a {
  141. display: block;
  142. transition: all .1s ease-in-out;
  143. &:hover {
  144. transform: scale(1.3);
  145. }
  146. }
  147. &.current {
  148. a {
  149. transform: scale(1.3);
  150. }
  151. }
  152. }
  153. }
  154. .section {
  155. padding: 6em;
  156. line-height: 1.8;
  157. }