styles.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /* Reset a couple of things for the sake of ease */
  2. /* Variables */
  3. :root {
  4. --color-background: #f0f0f0;
  5. --color-background-alternative: #afafaf;
  6. --color-text-default: #0e0e0e;
  7. --color-accent-1: #0000ff;
  8. --color-accent-2: #00ff00;
  9. --color-accent-3: #ff0000;
  10. }
  11. /* End variables */
  12. /* General styles */
  13. body {
  14. background-color: var(--color-background);
  15. color: var(--color-text-default);
  16. line-height: 1.6em;
  17. letter-spacing: 0.025em;
  18. font-family: "Noto sans", sans-serif;
  19. font-weight: 300;
  20. }
  21. section {
  22. max-width: 42vw;
  23. margin: 0 auto 2em auto;
  24. overflow: hidden;
  25. clear: both;
  26. display: block;
  27. }
  28. section img {
  29. display: block;
  30. margin: 2em auto;
  31. max-width: 100%;
  32. }
  33. h1 {
  34. text-transform: uppercase;
  35. display: inline-block;
  36. font-family: "Gidole", monospace;
  37. font-weight: bold;
  38. font-weight: 600;
  39. letter-spacing: 0.025em;
  40. font-size: 2.6em;
  41. line-height: 1.6em;
  42. border-bottom: 0.4em solid;
  43. border-color: var(--color-accent-2);
  44. margin: 1em 0 2em 0;
  45. }
  46. h2 {
  47. text-transform: uppercase;
  48. display: inline-block;
  49. margin: 3em 0 1em 0;
  50. font-family: "Gidole", monospace;
  51. font-weight: bold;
  52. font-weight: 400;
  53. letter-spacing: 0.025em;
  54. font-size: 1.4em;
  55. line-height: 1.6em;
  56. }
  57. h3 {
  58. color: var(--color-text-alternative);
  59. font-family: "Gidole", monospace;
  60. text-transform: uppercase;
  61. font-weight: 400;
  62. font-size: 1.2em;
  63. margin: 4em 0 1em 0;
  64. }
  65. a,
  66. a:active,
  67. a:visited {
  68. background-color: var(--color-accent-1);
  69. color: var(--color-background);
  70. text-decoration: underline;
  71. padding: 0 0.2em;
  72. }
  73. p {
  74. font-size: 1.2em;
  75. line-height: 1.75em;
  76. margin: 1em 0;
  77. }
  78. em {
  79. font-size: 0.8em;
  80. }
  81. li {
  82. margin: 1em 0;
  83. padding-left: 0.8em;
  84. }
  85. /* Header */
  86. header {
  87. margin: 1em auto 4em auto;
  88. }
  89. /* Smaller screen tweaks */
  90. @media screen and (max-width: 940px) {
  91. section {
  92. max-width: 90vw;
  93. }
  94. header {
  95. max-width: 90vw;
  96. }
  97. footer {
  98. padding: 0;
  99. }
  100. footer ul {
  101. flex-flow: column;
  102. margin: 3em 0 0 0;
  103. }
  104. footer ul li {
  105. padding: 1em;
  106. border-bottom: none;
  107. border-left: 0.5em solid;
  108. }
  109. footer ul li:nth-child(1) {
  110. border-bottom: none;
  111. }
  112. footer ul li:nth-child(2) {
  113. border-bottom: none;
  114. }
  115. footer ul li:nth-child(3) {
  116. border-bottom: none;
  117. }
  118. }
  119. @media print {
  120. section {
  121. max-width: 100%;
  122. width: 100%;
  123. margin: 0;
  124. }
  125. body {
  126. max-width: 95%;
  127. width: 95%;
  128. margin: 1em;
  129. font-size: 14px;
  130. }
  131. }
  132. /* Fonts */
  133. @import url("https://fonts.googleapis.com/css?family=Noto+Sans");
  134. @font-face {
  135. font-family: "Gidole";
  136. src: url("Gidole-Regular.ttf") format("truetype");
  137. }