Advertisement
Guest User

Heimdall CSS

a guest
Jul 16th, 2023
1,955
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. @import url("https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&display=swap");
  2. #sortable {
  3. display: flex;
  4. flex-wrap: wrap;
  5. align-items: start !important;
  6. gap: 1rem;
  7. opacity: 0;
  8. }
  9.  
  10. .tags-container {
  11. flex: 1;
  12. background-color: rgba(0, 0, 0, 0.4);
  13. border-radius: 10px;
  14. display: grid;
  15. grid-template-columns: repeat(2, 50%);
  16. }
  17.  
  18. .tags-title {
  19. color: rgb(186, 194, 222) !important;
  20. text-transform: capitalize;
  21. margin: 20px
  22. }
  23.  
  24. @media (max-width: 680px) {
  25. #sortable {
  26. justify-content: center !important;
  27. }
  28. .tags-container {
  29. display: flex;
  30. flex-direction: column;
  31. }
  32. }
  33.  
  34. /* Reference: https://www.reddit.com/r/selfhosted/comments/nzw76z/i_went_a_bit_overboard_customising_heimdall/ */
  35.  
  36. #config-buttons {
  37. bottom: 50%;
  38. transform: translateY(50%);
  39. border-top-left-radius: 10px;
  40. border-bottom-left-radius: 10px;
  41. box-shadow: rgba(255, 255, 255, 0.1) -1px 1px 1px 0, rgba(255, 255, 255, 0.1) 0 -1px 1px 0,
  42. rgba(0, 0, 0, 0.1) -1px 0 20px 5px;
  43. background-color: rgba(40, 40, 40, 0.25);
  44. backdrop-filter: blur(10px);
  45. -webkit-backdrop-filter: blur(10px);
  46. }
  47. #config-buttons a {
  48. background: none;
  49. }
  50. #config-buttons a svg {
  51. transition: all 0.1s ease-in-out;
  52. color: rgba(255, 255, 255, 0.5);
  53. }
  54. #config-buttons a:hover svg {
  55. transform: scale(1.1);
  56. color: rgba(255, 255, 255, 0.95);
  57. }
  58. .black {
  59. color: rgb(186, 194, 222) !important;
  60. }
  61. .tooltip {
  62. bottom: unset !important;
  63. }
  64.  
  65. .searchform {
  66. box-shadow: rgba(0, 0, 0, 0.05) -1px -1px 5px 0, rgba(0, 0, 0, 0.15) 0px 20px 25px -5px,
  67. rgba(0, 0, 0, 0.04) 0px 10px 10px -5px !important;
  68. border-radius: 12px;
  69. background-image: none;
  70. border: none;
  71. outline: none;
  72. background-color: rgba(69, 71, 90, 0.7) !important;
  73. backdrop-filter: blur(10px);
  74. -webkit-backdrop-filter: blur(10px);
  75. }
  76.  
  77. .searchform button {
  78. background: rgb(137, 180, 250) !important;
  79. color: rgb(224, 228, 243) !important;
  80. }
  81.  
  82. .searchform input {
  83. background: rgb(108, 112, 134) !important;
  84. color: rgb(205, 214, 244) !important;
  85. }
  86.  
  87. .searchform select {
  88. background: rgb(108, 112, 134) !important;
  89. border-right: 1px solid rgb(108, 112, 134) !important;
  90. color: rgb(224, 228, 243) !important;
  91. }
  92.  
  93. .item {
  94. box-shadow: rgba(0, 0, 0, 0.05) -1px -1px 5px 0, rgba(0, 0, 0, 0.15) 0px 20px 25px -5px,
  95. rgba(0, 0, 0, 0.04) 0px 10px 10px -5px !important;
  96. border-radius: 12px;
  97. background-image: none;
  98. border: none;
  99. outline: none;
  100. height: 100px;
  101. width: 300px;
  102. margin: 1.25rem;
  103. padding: 1rem 55px 1rem 1rem;
  104. transition: all 0.25s ease-in-out;
  105. transition-property: transform, box-shadow, background-color;
  106. background-color: rgba(69, 71, 90, 0.7) !important;
  107. backdrop-filter: blur(10px);
  108. -webkit-backdrop-filter: blur(10px);
  109. }
  110.  
  111. .item:after {
  112. height: 100px;
  113. opacity: 0.2;
  114. }
  115.  
  116. .item:hover {
  117. transform: scale(1.1);
  118. background-color: rgba(69, 71, 90, 0.8) !important;
  119. box-shadow: rgba(0, 0, 0, 0.1) 0px 60px 40px -7px !important;
  120. }
  121.  
  122. .item .svg-inline--fa {
  123. height: 100px;
  124. vertical-align: middle;
  125. opacity: 0.2;
  126. }
  127.  
  128. @media only screen and (max-width: 750px) {
  129. .item {
  130. padding-top: 2rem;
  131. padding-bottom: 2rem;
  132. }
  133. #config-buttons {
  134. display: none;
  135. }
  136. }
  137.  
  138. .details * {
  139. color: rgb(137, 180, 250) !important;
  140. }
  141. .details {
  142. padding: 0 0.5rem;
  143. }
  144.  
  145. .app-icon {
  146. filter: drop-shadow(1px 1px 2px rgba(10, 0, 20, 0.1));
  147. }
  148.  
  149. .livestats-container {
  150. margin-top: 0.5rem;
  151. }
  152.  
  153. .livestats-container .livestats .title {
  154. margin-bottom: 3px;
  155. }
  156.  
  157. .livestats-container .livestats li {
  158. padding-right: 1rem;
  159. }
  160.  
  161. .livestats-container strong {
  162. font-weight: 500 !important;
  163. padding: 0 2px;
  164. }
  165.  
  166. .details > .title {
  167. font-weight: 800;
  168. font-size: 1.3rem !important;
  169. letter-spacing: 1px;
  170. font-family: "Raleway", sans-serif;
  171. text-shadow: rgba(10, 0, 60, 0.25) 1px 0 5px;
  172. text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.1), 1px 1px 2px rgba(10, 0, 60, 0.25);
  173. transition: all 0.25s ease-in-out;
  174. }
  175.  
  176. .item:hover .details > .title {
  177. text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.1), 1px 1px 5px rgba(10, 0, 60, 0.2);
  178. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement