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.

119 lines
1.8 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  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. strong {
  67. color: var(--color-yellow);
  68. }
  69. div.codehilite {
  70. border-radius: 8px;
  71. }
  72. #header {
  73. background: var(--color-red);
  74. font-size: 24px;
  75. font-weight: 700;
  76. }
  77. #header img {
  78. vertical-align: baseline;
  79. width: 20px;
  80. height: 20px;
  81. }
  82. #footer {
  83. background: var(--color-purple);
  84. position: absolute;
  85. bottom: 0;
  86. width: 100%;
  87. height: var(--footer-height);
  88. }
  89. div.content {
  90. max-width: var(--content-width);
  91. margin: auto;
  92. padding-left: 2px;
  93. padding-right: 2px;
  94. }
  95. @media (min-width: var(--content-width)) {
  96. div.content {
  97. width: var(--content-width);
  98. }
  99. }