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.

83 lines
1.9 KiB

3 years ago
3 years ago
3 years ago
  1. @font-face {
  2. font-family: 'Roboto', monospace;
  3. url(Roboto-Regular.ttf) format('truetype');
  4. }
  5. body {
  6. font-family: 'Roboto', sans-serif;
  7. }
  8. .dark-theme { /* used for body class */
  9. filter: invert(100%) hue-rotate(180deg);
  10. background-color: #111;
  11. }
  12. /* .dark-theme img, .dark-theme video, .dark-theme iframe, .dark-theme .onoffswitch-label, .dark-theme code { */
  13. .dark-theme img, .dark-theme video, .dark-theme iframe, .dark-theme .onoffswitch-label {
  14. filter: invert(100%) hue-rotate(180deg);
  15. }
  16. pre {
  17. background-color: #fafafa;
  18. padding: 10px;
  19. }
  20. a {
  21. text-decoration:none!important;
  22. }
  23. blockquote {
  24. background: #f9f9f9;
  25. border-left: 8px solid #ccc;
  26. margin: 1.5em 10px;
  27. padding: 0.5em 10px;
  28. }
  29. h1,h2, h3, h4, h5 {
  30. border-bottom: 1px solid #cccccc;
  31. padding-top: 20px;
  32. }
  33. .postThumb {
  34. color:#000000;
  35. text-decoration:none;
  36. }
  37. .postThumb:hover {
  38. background: #f9f9f9;
  39. }
  40. /* switch button */
  41. .onoffswitch {
  42. position: relative; width: 46px;
  43. -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
  44. }
  45. .onoffswitch-checkbox {
  46. display: none;
  47. }
  48. .onoffswitch-label {
  49. display: block; overflow: hidden; cursor: pointer;
  50. height: 20px; padding: 0; line-height: 20px;
  51. border: 2px solid #FFFFFF; border-radius: 20px;
  52. background-color: #9E9E9E;
  53. transition: background-color 0.3s ease-in;
  54. margin-bottom: 0;
  55. }
  56. .onoffswitch-label:before {
  57. content: "";
  58. display: block; width: 20px; margin: 0px;
  59. background: #FFFFFF;
  60. position: absolute; top: 0; bottom: 0;
  61. right: 24px;
  62. border: 2px solid #FFFFFF; border-radius: 20px;
  63. transition: all 0.3s ease-in 0s;
  64. }
  65. .onoffswitch-checkbox:checked + .onoffswitch-label {
  66. background-color: #fbc5a0;
  67. }
  68. .onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  69. border-color: #fbc5a0;
  70. }
  71. .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  72. right: 0px;
  73. }