styles.css 2.4 KB

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