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.

77 lines
1.7 KiB

7 years ago
3 years ago
7 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. filter: invert(100%) hue-rotate(180deg);
  14. }
  15. a {
  16. text-decoration:none!important;
  17. }
  18. blockquote {
  19. background: #f9f9f9;
  20. border-left: 8px solid #ccc;
  21. margin: 1.5em 10px;
  22. padding: 0.5em 10px;
  23. }
  24. h1,h2, h3, h4, h5 {
  25. border-bottom: 1px solid #cccccc;
  26. padding-top: 20px;
  27. }
  28. .postThumb {
  29. color:#000000;
  30. text-decoration:none;
  31. }
  32. .postThumb:hover {
  33. background: #f9f9f9;
  34. }
  35. /* switch button */
  36. .onoffswitch {
  37. position: relative; width: 46px;
  38. -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
  39. }
  40. .onoffswitch-checkbox {
  41. display: none;
  42. }
  43. .onoffswitch-label {
  44. display: block; overflow: hidden; cursor: pointer;
  45. height: 20px; padding: 0; line-height: 20px;
  46. border: 2px solid #FFFFFF; border-radius: 20px;
  47. background-color: #9E9E9E;
  48. transition: background-color 0.3s ease-in;
  49. margin-bottom: 0;
  50. }
  51. .onoffswitch-label:before {
  52. content: "";
  53. display: block; width: 20px; margin: 0px;
  54. background: #FFFFFF;
  55. position: absolute; top: 0; bottom: 0;
  56. right: 24px;
  57. border: 2px solid #FFFFFF; border-radius: 20px;
  58. transition: all 0.3s ease-in 0s;
  59. }
  60. .onoffswitch-checkbox:checked + .onoffswitch-label {
  61. background-color: #fbc5a0;
  62. }
  63. .onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  64. border-color: #fbc5a0;
  65. }
  66. .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  67. right: 0px;
  68. }