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.

168 lines
2.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
  1. /**
  2. * variables
  3. *
  4. */
  5. $text-color: #000;
  6. $link-color: #fefe5b;
  7. $link-background-color: #008106;
  8. $background-color: #000084;
  9. $background-contrast-color: #bbbbbb;
  10. /**
  11. * default elements
  12. *
  13. */
  14. body {
  15. color: $text-color;
  16. background-color: $background-color;
  17. font-family: 'PxPlus IBM VGA8', sans-serif;
  18. font-style: normal;
  19. font-size: 1.2rem;
  20. }
  21. *:first-letter {
  22. color: $link-color;
  23. }
  24. a {
  25. color: $text-color;
  26. text-decoration: none;
  27. }
  28. /**
  29. * navigation
  30. *
  31. *
  32. */
  33. .navbar {
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. text-align: center;
  39. background-color: $background-contrast-color;
  40. ul {
  41. list-style: none;
  42. margin: 0;
  43. padding: 0.6em 0.8em;
  44. li {
  45. display: inline-block;
  46. a {
  47. display: inline-block;
  48. padding: 0.1em;
  49. &:hover {
  50. background-color: $link-background-color;
  51. }
  52. }
  53. &.current {
  54. a {
  55. background-color: $link-background-color;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. /**
  62. *
  63. *
  64. */
  65. main {
  66. max-width: 960px;
  67. margin: 2em auto 0;
  68. }
  69. /**
  70. * footer
  71. *
  72. *
  73. */
  74. footer {
  75. text-align: center;
  76. font-size: 3rem;
  77. width: 100%;
  78. background: #000;
  79. padding: 0.8em 0;
  80. i {
  81. color: #fff !important;
  82. }
  83. }
  84. /**
  85. * section
  86. *
  87. *
  88. */
  89. .section {
  90. padding: 4em;
  91. margin: 1em 0;
  92. line-height: 1.8;
  93. background-color: $background-contrast-color;
  94. }
  95. /**
  96. * icons
  97. *
  98. *
  99. */
  100. [class^="icon-tiny"], [class*=" icon-tiny"] {
  101. font-family: 'PxPlus IBM VGA8', sans-serif !important;
  102. font-style: normal;
  103. color: $link-color;
  104. }
  105. /**
  106. * tiny-tiny-hamburger
  107. *
  108. *
  109. */
  110. .tiny-one-page {
  111. &__inner {
  112. padding: 4px 8px 5px;
  113. }
  114. // modal with animation
  115. &__modal {
  116. height: auto;
  117. max-height: 0;
  118. overflow: hidden;
  119. transition: max-height 0.2s;
  120. }
  121. &__button {
  122. appearance: none;
  123. border: none;
  124. background: transparent;
  125. padding: 0.3em 0.5em;
  126. &:hover {
  127. cursor: pointer;
  128. outline: none;
  129. background-color: $background-contrast-color;
  130. }
  131. &:focus {
  132. outline: none;
  133. }
  134. }
  135. }