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.

130 lines
2.0 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. blockquote {
  70. background: #272822;
  71. border-radius: 8px;
  72. padding-left: 16px;
  73. padding-right: 16px;
  74. padding-top: 1px;
  75. padding-bottom: 1px;
  76. margin-left: 8px;
  77. margin-right: 8px;
  78. }
  79. div.codehilite {
  80. border-radius: 8px;
  81. }
  82. #header {
  83. background: var(--color-red);
  84. font-size: 24px;
  85. font-weight: 700;
  86. }
  87. #header img {
  88. vertical-align: baseline;
  89. width: 20px;
  90. height: 20px;
  91. }
  92. #footer {
  93. background: var(--color-purple);
  94. position: absolute;
  95. bottom: 0;
  96. width: 100%;
  97. height: var(--footer-height);
  98. }
  99. div.content {
  100. max-width: var(--content-width);
  101. margin: auto;
  102. padding-left: 2px;
  103. padding-right: 2px;
  104. }
  105. @media (min-width: var(--content-width)) {
  106. div.content {
  107. width: var(--content-width);
  108. }
  109. }