style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* Such a big THANK YOU to devils of devils.gay for showing me how this should be done! */
  2. /* LIGHT MODE */
  3. :root {
  4. --color: #002626;
  5. --link-color: #4A234A;
  6. --bg-image: url(mural1.png);
  7. --bg-color: hsl(204, 44%, 65%);
  8. }
  9. /* unvisited link */
  10. a:link {
  11. color: #4A234A;
  12. }
  13. /* visited link */
  14. a:visited {
  15. color: #213F21;
  16. }
  17. /* mouse over link */
  18. a:hover {
  19. color: #213F88;
  20. }
  21. /* selected link */
  22. a:active {
  23. color: #5D2E87;
  24. }
  25. /* DARK MODE */
  26. @media (prefers-color-scheme: dark) {
  27. :root {
  28. --color: #00A5A5;
  29. --link-color: #B758B7;
  30. --bg-image: url(tek_grate.png);
  31. --bg-color: hsl(30, 36%, 4%);
  32. }
  33. /* unvisited link */
  34. a:link {
  35. color: #B758B7;
  36. }
  37. /* visited link */
  38. a:visited {
  39. color: #74DB74;
  40. }
  41. /* mouse over link */
  42. a:hover {
  43. color: #889DCE;
  44. }
  45. /* selected link */
  46. a:active {
  47. color: #9469BC;
  48. }
  49. }
  50. body {
  51. max-width: 800px ;
  52. margin: auto ;
  53. color: var(--color);
  54. background-image: var(--bg-image);
  55. background-color: var(--bg-color);
  56. }
  57. /* unvisited link */
  58. a:link {
  59. color: var(--link-color);
  60. }
  61. /* The following was written by devils.gay - thank you */
  62. uppercase,yell {
  63. text-transform: uppercase;
  64. }
  65. /* What font to use */
  66. @font-face {
  67. font-family: 'TGRoman';
  68. src: url('fonts/TGRoman-Regular.ttf');
  69. }
  70. @font-face {
  71. font-family: 'Natural';
  72. src: url('fonts/Natural-Mono-Alt-Regular.ttf');
  73. }
  74. h1, h2, h3, a, li, th, br, p, em, strong, blockquote, TGRoman, tgroman {
  75. font-family: 'TGRoman';
  76. }
  77. pre, tt, xmp, Natural, natural {
  78. font-family: 'Natural';
  79. }