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.

127 lines
4.0 KiB

2 years ago
  1. :root{
  2. --MAIN-TEXT-color:#323232; /* Color of text by default */
  3. --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
  4. --MAIN-LINK-color:#599a3e; /* Color of links */
  5. --MAIN-LINK-HOVER-color:#3f6d2c; /* Color of hovered links */
  6. --MAIN-ANCHOR-color: #599a3e; /* color of anchors on titles */
  7. --MENU-HOME-LINK-color: #323232; /* Color of the home button text */
  8. --MENU-HOME-LINK-HOVER-color: #5e5e5e; /* Color of the hovered home button text */
  9. --MENU-HEADER-BG-color:#74b559; /* Background color of menu header */
  10. --MENU-HEADER-BORDER-color:#9cd484; /*Color of menu header border */
  11. --MENU-SEARCH-BG-color:#599a3e; /* Search field background color (by default borders + icons) */
  12. --MENU-SEARCH-BOX-color: #84c767; /* Override search field border color */
  13. --MENU-SEARCH-BOX-ICONS-color: #c7f7c4; /* Override search field icons color */
  14. --MENU-SECTIONS-ACTIVE-BG-color:#1b211c; /* Background color of the active section and its childs */
  15. --MENU-SECTIONS-BG-color:#222723; /* Background color of other sections */
  16. --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
  17. --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
  18. --MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
  19. --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
  20. --MENU-VISITED-color: #599a3e; /* Color of 'page visited' icons in menu */
  21. --MENU-SECTION-HR-color: #18211c; /* Color of <hr> separator in menu */
  22. }
  23. body {
  24. color: var(--MAIN-TEXT-color) !important;
  25. }
  26. textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
  27. border-color: none;
  28. box-shadow: none;
  29. }
  30. h2, h3, h4, h5 {
  31. color: var(--MAIN-TITLES-TEXT-color) !important;
  32. }
  33. a {
  34. color: var(--MAIN-LINK-color);
  35. }
  36. .anchor {
  37. color: var(--MAIN-ANCHOR-color);
  38. }
  39. a:hover {
  40. color: var(--MAIN-LINK-HOVER-color);
  41. }
  42. #sidebar ul li.visited > a .read-icon {
  43. color: var(--MENU-VISITED-color);
  44. }
  45. #body a.highlight:after {
  46. display: block;
  47. content: "";
  48. height: 1px;
  49. width: 0%;
  50. -webkit-transition: width 0.5s ease;
  51. -moz-transition: width 0.5s ease;
  52. -ms-transition: width 0.5s ease;
  53. transition: width 0.5s ease;
  54. background-color: var(--MAIN-LINK-HOVER-color);
  55. }
  56. #sidebar {
  57. background-color: var(--MENU-SECTIONS-BG-color);
  58. }
  59. #sidebar #header-wrapper {
  60. background: var(--MENU-HEADER-BG-color);
  61. color: var(--MENU-SEARCH-BOX-color);
  62. border-color: var(--MENU-HEADER-BORDER-color);
  63. }
  64. #sidebar .searchbox {
  65. border-color: var(--MENU-SEARCH-BOX-color);
  66. background: var(--MENU-SEARCH-BG-color);
  67. }
  68. #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
  69. background: var(--MENU-SECTIONS-ACTIVE-BG-color);
  70. }
  71. #sidebar .searchbox * {
  72. color: var(--MENU-SEARCH-BOX-ICONS-color);
  73. }
  74. #sidebar a {
  75. color: var(--MENU-SECTIONS-LINK-color);
  76. }
  77. #sidebar a:hover {
  78. color: var(--MENU-SECTIONS-LINK-HOVER-color);
  79. }
  80. #sidebar ul li.active > a {
  81. background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
  82. color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
  83. }
  84. #sidebar hr {
  85. border-color: var(--MENU-SECTION-HR-color);
  86. }
  87. #body .tags a.tag-link {
  88. background-color: var(--MENU-HEADER-BG-color);
  89. }
  90. #body .tags a.tag-link:before {
  91. border-right-color: var(--MENU-HEADER-BG-color);
  92. }
  93. #homelinks {
  94. background: var(--MENU-HEADER-BG-color);
  95. background-color: var(--MENU-HEADER-BORDER-color);
  96. border-bottom-color: var(--MENU-HEADER-BORDER-color);
  97. }
  98. #homelinks a {
  99. color: var(--MENU-HOME-LINK-color);
  100. }
  101. #homelinks a:hover {
  102. color: var(--MENU-HOME-LINK-HOVERED-color);
  103. }