styles-old.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. page-break-after: avoid;
  46. }
  47. h3 {
  48. color: #4f4f4f;
  49. font-family: "Gidole", monospace;
  50. text-transform: uppercase;
  51. font-weight: 400;
  52. font-size: 1.2em;
  53. margin: 4em 0 1em 0;
  54. page-break-after: avoid;
  55. }
  56. h4 {
  57. color: #4f4f4f;
  58. font-family: "Gidole", monospace;
  59. text-transform: uppercase;
  60. font-weight: 400;
  61. font-size: 1em;
  62. margin: 4em 0 1em 0;
  63. page-break-before: avoid;
  64. page-break-after: avoid;
  65. }
  66. a,
  67. a:active,
  68. a:visited {
  69. background-color: #0000ff;
  70. color: #f0f0f0;
  71. text-decoration: underline;
  72. padding: 0 0.2em;
  73. }
  74. p {
  75. font-size: 1em;
  76. line-height: 1.5em;
  77. margin: 0.8em 0;
  78. break-inside: avoid;
  79. page-break-before: avoid;
  80. }
  81. em {
  82. font-size: 0.8em;
  83. }
  84. ul {
  85. break-inside: avoid;
  86. page-break-before: avoid;
  87. }
  88. li {
  89. margin: 1em 0;
  90. padding-left: 0.8em;
  91. }
  92. blockquote {
  93. font-size: 0.8em;
  94. }
  95. /* Header */
  96. header {
  97. margin: 1em auto 4em auto;
  98. }
  99. /* Smaller screen tweaks */
  100. @media screen and (max-width: 940px) {
  101. section {
  102. max-width: 90vw;
  103. }
  104. header {
  105. max-width: 90vw;
  106. }
  107. footer {
  108. padding: 0;
  109. }
  110. footer ul {
  111. flex-flow: column;
  112. margin: 3em 0 0 0;
  113. }
  114. footer ul li {
  115. padding: 1em;
  116. border-bottom: none;
  117. border-left: 0.5em solid;
  118. }
  119. footer ul li:nth-child(1) {
  120. border-bottom: none;
  121. }
  122. footer ul li:nth-child(2) {
  123. border-bottom: none;
  124. }
  125. footer ul li:nth-child(3) {
  126. border-bottom: none;
  127. }
  128. }
  129. @media print {
  130. p {
  131. break-inside: avoid;
  132. }
  133. section {
  134. max-width: 95%;
  135. width: 95%;
  136. }
  137. body {
  138. max-width: 95%;
  139. width: 95%;
  140. margin: 2em;
  141. font-size: 10px;
  142. }
  143. }
  144. /* Fonts */
  145. @import url("https://fonts.googleapis.com/css?family=Noto+Sans");
  146. @font-face {
  147. font-family: "Gidole";
  148. src: url("Gidole-Regular.ttf") format("truetype");
  149. }