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.

123 lines
1.8 KiB

  1. /*
  2. consider one of these?
  3. https://meyerweb.com/eric/tools/css/reset/
  4. https://ageek.dev/normalize-css
  5. https://github.com/h5bp/html5-boilerplate
  6. */
  7. :root {
  8. --content-width: 650px;
  9. --footer-height: 22px;
  10. /* Base colors */
  11. --color-black: black;
  12. --color-white: white;
  13. --color-navy: #1F2E4C;
  14. /* Primary colors */
  15. --color-gray: #707372;
  16. --color-red: #EB5757;
  17. --color-purple: #90489C;
  18. /* Accent colors */
  19. --color-yellow: #F2C94C;
  20. --color-light-orange: #F7E6CA;
  21. --color-light-green: #98E0B0;
  22. }
  23. * {
  24. box-sizing: border-box;
  25. }
  26. body {
  27. font-family: 'Quicksand', sans-serif;
  28. font-weight: 500;
  29. font-size: 16px;
  30. background: var(--color-navy);
  31. color: var(--color-white);
  32. margin: 0;
  33. }
  34. #page-container {
  35. position: relative;
  36. min-height: 100vh;
  37. }
  38. #content-wrap {
  39. padding-bottom: var(--footer-height);
  40. }
  41. a {
  42. color: var(--color-light-orange);
  43. font-weight: 700;
  44. }
  45. a.undecorated {
  46. color: inherit;
  47. text-decoration: none;
  48. font-weight: inherit;
  49. }
  50. img {
  51. max-width: 100%;
  52. margin-right: 8px;
  53. vertical-align: middle;
  54. }
  55. code {
  56. font-family: 'Fira Mono', monospace;
  57. color: var(--color-light-green);
  58. font-size: 13px;
  59. }
  60. pre {
  61. overflow: auto;
  62. font-family: 'Fira Mono', monospace;
  63. padding: .8em;
  64. font-size: 13px;
  65. }
  66. td {
  67. width: 200px;
  68. }
  69. strong {
  70. color: var(--color-yellow);
  71. }
  72. div.codehilite {
  73. border-radius: 8px;
  74. }
  75. #header {
  76. background: var(--color-red);
  77. font-size: 24px;
  78. font-weight: 700;
  79. }
  80. #header img {
  81. vertical-align: baseline;
  82. width: 20px;
  83. height: 20px;
  84. }
  85. #footer {
  86. background: var(--color-purple);
  87. position: absolute;
  88. bottom: 0;
  89. width: 100%;
  90. height: var(--footer-height);
  91. }
  92. div.content {
  93. max-width: var(--content-width);
  94. margin: auto;
  95. padding-left: 2px;
  96. padding-right: 2px;
  97. }
  98. @media (min-width: var(--content-width)) {
  99. div.content {
  100. width: var(--content-width);
  101. }
  102. }