my blog lives here now
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.

97 lines
2.7 KiB

2 years ago
  1. $code-bg: hsl(230,1%,98%);
  2. $code-fg: #ABB2BF;
  3. $code-red: #D65122;
  4. $code-red-br: #AE3B36;
  5. $code-green: #88B966;
  6. $code-yellow: #DEB468;
  7. $code-orange: #C58853;
  8. $code-blue: #519DEB;
  9. $code-pink: #C678DD;
  10. $code-cyan: #48A8B5;
  11. $code-white: #ABB2BF;
  12. $code-grey: #7F848E;
  13. @font-face {
  14. font-family: 'Iosevka';
  15. font-display: swap;
  16. font-weight: 400;
  17. font-stretch: normal;
  18. font-style: normal;
  19. src: url('/static/woff2/iosevk-abbie-regular.woff2') format('woff2'), url('/static/ttf/iosevk-abbie-regular.ttf') format('truetype');
  20. }
  21. body {
  22. margin: 0;
  23. background-color:$code-bg;
  24. color:#ABB2BF;
  25. }
  26. html {
  27. background-color: $code-bg;
  28. color:#ABB2BF;
  29. }
  30. pre.Agda {
  31. margin: 0;
  32. padding: 1em;
  33. background-color: $code-bg;
  34. color: $code-fg;
  35. }
  36. @keyframes highlight {
  37. 0% {
  38. background-color: #F5DEB3;
  39. }
  40. 100% {
  41. background-color: $code-bg;
  42. }
  43. }
  44. /* Aspects. */
  45. .Agda {
  46. .Comment { color: $code-grey; }
  47. .Background { background-color: $code-bg; }
  48. .Markup { color: $code-fg; }
  49. .Keyword { color: $code-orange; }
  50. .String { color: $code-red; }
  51. .Number { color: $code-pink; }
  52. .Symbol { color: $code-fg; }
  53. .PrimitiveType { color: $code-blue; }
  54. .Pragma { color: $code-fg; }
  55. /* NameKinds. */
  56. .Bound { color: $code-fg; }
  57. .Generalizable { color: $code-fg; }
  58. .InductiveConstructor { color: $code-green; }
  59. .CoinductiveConstructor { color: $code-green; }
  60. .Datatype { color: $code-blue; }
  61. .Field { color: #F570B7; }
  62. .Function { color: $code-blue; }
  63. .Module { color: $code-pink; }
  64. .Postulate { color: $code-blue; }
  65. .Primitive { color: $code-blue; }
  66. .Record { color: $code-blue; }
  67. /* OtherAspects. */
  68. .UnsolvedMeta { color: $code-fg; background: yellow }
  69. .UnsolvedConstraint { color: $code-fg; background: yellow }
  70. .TerminationProblem { color: $code-fg; background: #FFA07A }
  71. .IncompletePattern { color: $code-fg; background: #F5DEB3 }
  72. .Error { color: red; text-decoration: underline }
  73. .TypeChecks { color: $code-fg; background: #ADD8E6 }
  74. .Deadcode { color: $code-fg; background: #808080 }
  75. .ShadowingInTelescope { color: $code-fg; background: #808080 }
  76. /* Standard attributes. */
  77. a { text-decoration: none }
  78. a[href]:hover {
  79. text-decoration: 2px #B4EEB4 underline dotted;
  80. }
  81. a[href]:target {
  82. animation: highlight 2.5s;
  83. }
  84. background-color: #282C34;
  85. font-family: 'Iosevka', 'Fantasque Sans Mono', 'Roboto Mono', monospace;
  86. font-weight: 400;
  87. font-size: 16pt;
  88. }