styles.css 2.4 KB

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