main.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. 👾 Cute Useless Robot CSS theme (´・ω・`)
  3. Note: This css theme is designed to be completely
  4. off-grid, do not include url or external resources
  5. */
  6. @font-face {
  7. font-family: 'mulishB';
  8. src: url('src/Mulish-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
  9. }
  10. @font-face {
  11. font-family: 'mulishR';
  12. src: url('src/Mulish-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
  13. }
  14. :root{
  15. --theme-base: #000000;
  16. --theme-dark: #141414;
  17. --theme-divider: #252525;
  18. --theme-dark-alt: #282828;
  19. --theme-active: #230046;
  20. --theme-primary: #E8E9EB;
  21. --theme-secondary: #320064;
  22. --theme-text-color: white;
  23. }
  24. body{
  25. margin: 0 !important;
  26. font-family: 'mulishR';
  27. color: var(--theme-text-color);
  28. background-color: var(--theme-dark);
  29. }
  30. /* Global CSS Rules */
  31. .button{
  32. border: 1px solid transparent;
  33. background-color: transparent;
  34. transition: background-color ease-in-out 0.1s, opacity ease-in-out 0.1s;
  35. cursor: pointer;
  36. }
  37. .button:hover{
  38. background-color: rgba(255,255,255,0.1);
  39. opacity: 0.8;
  40. }
  41. .button .btnicon{
  42. width: 100%;
  43. height: 100%;
  44. }
  45. .container{
  46. padding: 0.6em;
  47. padding-left: 1.2em;
  48. padding-right: 1.2em;
  49. width: 100%;
  50. position: relative;
  51. box-sizing: border-box;
  52. }
  53. .header{
  54. display: flex;
  55. align-items: center;
  56. }
  57. .header img {
  58. margin-right: 10px;
  59. }
  60. .divider{
  61. width: 100%;
  62. margin-top: 1em;
  63. border-bottom: 1px solid var(--theme-divider);
  64. }
  65. a:link {
  66. text-decoration: none;
  67. }
  68. /* Side bar */
  69. #sidebarWrapper{
  70. width: 100%;
  71. height: 100%;
  72. position: relative;
  73. display:none;
  74. }
  75. #blurcover{
  76. width: 100%;
  77. height: 100%;
  78. position: fixed;
  79. top:0;
  80. right:0;
  81. background-color: rgba(0,0,0,0.7);
  82. }
  83. #sidebar{
  84. height: 100vh;
  85. position: fixed;
  86. right: 0;
  87. top: 0;
  88. width: 250px;
  89. background-color: var(--theme-dark-alt);
  90. padding-top: 1em;
  91. box-sizing: border-box;
  92. }
  93. #sidebar .item{
  94. width: 100%;
  95. padding: 0.6em;
  96. font-size: 1em;
  97. display: flex;
  98. align-items: center;
  99. color: white;
  100. }
  101. #sidebar .item.clickable{
  102. cursor: pointer;
  103. }
  104. #sidebar .item img{
  105. margin-right: 0.6em;
  106. }
  107. #sidebar .item.clickable:hover{
  108. background-color: var( --theme-active);
  109. }
  110. /* Top Menu */
  111. #menu{
  112. background-color: var(--theme-base);
  113. color: white;
  114. }
  115. #menu .logo{
  116. font-size: 1.5em;
  117. font-family: 'mulishB';
  118. }
  119. #menu .togglemenu{
  120. position: absolute;
  121. right: 1.2em;
  122. top: 0.4em;
  123. height: 38px;
  124. width: 38px;
  125. }