Pulls repairability scores for various devices from iFixit, which are then displayed on a website in a few categories.
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.

336 lines
5.4 KiB

  1. body::-webkit-scrollbar {
  2. width: 12px; /* width of the entire scrollbar */
  3. }
  4. body::-webkit-scrollbar-track {
  5. background: #040e1e; /* color of the tracking area */
  6. }
  7. body::-webkit-scrollbar-thumb {
  8. background-color: blue; /* color of the scroll thumb */
  9. border-radius: 20px; /* roundness of the scroll thumb */
  10. border: 5px solid #040e1e; /* creates padding around scroll thumb */
  11. }
  12. * {box-sizing: border-box;}
  13. body {
  14. margin: 0;
  15. background-color: #0d2f64;
  16. scrollbar-width: thin;
  17. }
  18. .header {
  19. overflow: hidden;
  20. background-color: #0d2f64;
  21. color: white;
  22. text-align: center;
  23. padding: 20px 10px;
  24. }
  25. .list {
  26. color: white;
  27. font-size: 22.5px;
  28. text-align: center;
  29. }
  30. h2 {
  31. color: white;
  32. text-align: center;
  33. font-size: 32.5px;
  34. }
  35. h3 {
  36. color: white;
  37. text-align: center;
  38. }
  39. p {
  40. color: white;
  41. }
  42. a.none {
  43. float: none;
  44. color: yellow;
  45. text-align: inherit;
  46. padding: 0px;
  47. text-decoration: none;
  48. font-size: 16px;
  49. line-height: 12px;
  50. border-radius: 0px;
  51. }
  52. a.overridefloat {
  53. float: none;
  54. text-align: center;
  55. padding: 12px;
  56. text-decoration: none;
  57. font-size: 18px;
  58. line-height: 25px;
  59. border-radius: 4px;
  60. background-color: dodgerblue;
  61. color: white;
  62. }
  63. a.overridefloat:hover {
  64. background-color: #45a3ff;
  65. }
  66. a.text {
  67. float: none;
  68. color: white;
  69. text-align: center;
  70. padding: 12px;
  71. text-decoration: none;
  72. line-height: 25px;
  73. border-radius: 4px;
  74. font-size: 25px;
  75. font-weight: bold;
  76. text-align: center;
  77. }
  78. a:hover {
  79. color: #FFFF00;
  80. }
  81. a.active {
  82. background-color: dodgerblue;
  83. color: white;
  84. }
  85. .header-right {
  86. float: right;
  87. }
  88. @media screen and (max-width: 500px) {
  89. .header a {
  90. float: none;
  91. display: block;
  92. }
  93. .header-right {
  94. float: none;
  95. }
  96. }
  97. .column {
  98. float: left;
  99. width: 33.33%;
  100. width: calc(100% / 3);
  101. padding: 10px;
  102. height: calc(100vh - 149px);
  103. }
  104. .column2 {
  105. float: left;
  106. width: 50%;
  107. width: calc(100% / 2);
  108. padding: 10px;
  109. height: calc((100vh - 149px) / 2);
  110. }
  111. .column3 {
  112. float: left;
  113. width: 50%;
  114. width: 100%;
  115. padding: 10px;
  116. height: calc(100vh - 149px);
  117. }
  118. .row:after {
  119. content: "";
  120. display: table;
  121. clear: both;
  122. }
  123. .row {
  124. margin-left: 0px;
  125. margin-right: 0px;
  126. }
  127. @media screen and (max-width: 1200px) {
  128. .column {
  129. width: 100%;
  130. height: 100%;
  131. }
  132. }
  133. @media screen and (max-width: 1200px) {
  134. .column2 {
  135. width: 100%;
  136. height: 100%;
  137. }
  138. }
  139. .column::-webkit-scrollbar, .column2::-webkit-scrollbar, .column3::-webkit-scrollbar {
  140. width: 12px; /* width of the entire scrollbar */
  141. }
  142. .column::-webkit-scrollbar-track, .column2::-webkit-scrollbar-track, .column3::-webkit-scrollbar-track {
  143. background: #040e1e; /* color of the tracking area */
  144. }
  145. .column::-webkit-scrollbar-thumb, .column2::-webkit-scrollbar-thumb, .column3::-webkit-scrollbar-thumb {
  146. background-color: blue; /* color of the scroll thumb */
  147. border-radius: 20px; /* roundness of the scroll thumb */
  148. border: 5px solid #040e1e; /* creates padding around scroll thumb */
  149. }
  150. .buttonall {
  151. background-color: white;
  152. border: none;
  153. color: white;
  154. padding: 16px 32px;
  155. text-decoration: none;
  156. color: black;
  157. display: inline-block;
  158. font-size: 20px;
  159. margin: 4px 2px;
  160. transition-duration: 0.2s;
  161. cursor: pointer;
  162. }
  163. .button1 {
  164. background-color: white;
  165. color: black;
  166. border: 5px solid #FF4136;
  167. text-align: center;
  168. }
  169. .button1:hover {
  170. background-color: #FF4136;
  171. color: white;
  172. }
  173. .button2 {
  174. background-color: white;
  175. color: black;
  176. border: 5px solid #FF612D;
  177. text-align: center;
  178. }
  179. .button2:hover {
  180. background-color: #FF612D;
  181. color: white;
  182. }
  183. .button3 {
  184. background-color: white;
  185. color: black;
  186. border: 5px solid #FF8124;
  187. text-align: center;
  188. }
  189. .button3:hover {
  190. background-color: #FF8124;
  191. color: white;
  192. }
  193. .button4 {
  194. background-color: white;
  195. color: black;
  196. border: 5px solid #FFA01B;
  197. text-align: center;
  198. }
  199. .button4:hover {
  200. background-color: #FFA01B;
  201. color: white;
  202. }
  203. .button5 {
  204. background-color: white;
  205. color: black;
  206. border: 5px solid #FFC012;
  207. text-align: center;
  208. }
  209. .button5:hover {
  210. background-color: #FFC012;
  211. color: white;
  212. }
  213. .button6 {
  214. background-color: white;
  215. color: black;
  216. border: 5px solid #D5C21B;
  217. text-align: center;
  218. }
  219. .button6:hover {
  220. background-color: #D5C21B;
  221. color: white;
  222. }
  223. .button7 {
  224. background-color: white;
  225. color: black;
  226. border: 5px solid #ABC524;
  227. text-align: center;
  228. }
  229. .button7:hover {
  230. background-color: #ABC524;
  231. color: white;
  232. }
  233. .button8 {
  234. background-color: white;
  235. color: black;
  236. border: 5px solid #82C72E;
  237. text-align: center;
  238. }
  239. .button8:hover {
  240. background-color: #82C72E;
  241. color: white;
  242. }
  243. .button9 {
  244. background-color: white;
  245. color: black;
  246. border: 5px solid #58CA37;
  247. text-align: center;
  248. }
  249. .button9:hover {
  250. background-color: #58CA37;
  251. color: white;
  252. }
  253. .button10 {
  254. background-color: white;
  255. color: black;
  256. border: 5px solid #2ECC40;
  257. text-align: center;
  258. }
  259. .button10:hover {
  260. background-color: #2ECC40;
  261. color: white;
  262. }
  263. .buttonhardest {
  264. background-color: white;
  265. color: black;
  266. border: 5px solid #FF4136;
  267. text-align: center;
  268. }
  269. .buttonhardest:hover {
  270. background-color: #FF4136;
  271. color: white;
  272. }
  273. .buttonbest {
  274. background-color: white;
  275. color: black;
  276. border: 5px solid #2ECC40;
  277. text-align: center;
  278. }
  279. .buttonbest:hover {
  280. background-color: #2ECC40;
  281. color: white;
  282. }
  283. .centered {
  284. display: flex;
  285. align-items: center;
  286. justify-content: center;
  287. text-align: center;
  288. width: 100%;
  289. height: auto;
  290. }