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.

122 lines
1.6 KiB

  1. * {box-sizing: border-box;}
  2. body {
  3. margin: 0;
  4. background-color: #0d2f64;
  5. }
  6. .header {
  7. overflow: hidden;
  8. background-color: #0d2f64;
  9. color: white;
  10. text-align: center;
  11. padding: 20px 10px;
  12. }
  13. li {
  14. color: white;
  15. font-size: 22.5px;
  16. }
  17. h2 {
  18. color: white;
  19. text-align: center;
  20. }
  21. p {
  22. color: white;
  23. }
  24. a {
  25. float: left;
  26. color: white;
  27. text-align: center;
  28. padding: 12px;
  29. text-decoration: none;
  30. font-size: 18px;
  31. line-height: 25px;
  32. border-radius: 4px;
  33. }
  34. a.none {
  35. float: none;
  36. color: dodgerblue;
  37. text-align: inherit;
  38. padding: 0px;
  39. text-decoration: none;
  40. font-size: 16px;
  41. line-height: 24px;
  42. border-radius: 0px;
  43. }
  44. a.overridefloat {
  45. float: none;
  46. text-align: center;
  47. padding: 12px;
  48. text-decoration: none;
  49. font-size: 18px;
  50. line-height: 25px;
  51. border-radius: 4px;
  52. background-color: dodgerblue;
  53. color: white;
  54. }
  55. a.overridefloat:hover {
  56. background-color: #45a3ff;
  57. }
  58. a.text {
  59. font-size: 25px;
  60. font-weight: bold;
  61. text-align: center;
  62. }
  63. a:hover {
  64. color: #FFFF00;
  65. }
  66. a.active {
  67. background-color: dodgerblue;
  68. color: white;
  69. }
  70. .header-right {
  71. float: right;
  72. }
  73. @media screen and (max-width: 500px) {
  74. .header a {
  75. float: none;
  76. display: block;
  77. }
  78. .header-right {
  79. float: none;
  80. }
  81. }
  82. .column {
  83. float: left;
  84. width: 33.33%;
  85. width: calc(100% / 3);
  86. padding: 10px;
  87. height: calc(100vh - 149px)
  88. }
  89. .row:after {
  90. content: "";
  91. display: table;
  92. clear: both;
  93. }
  94. .row {
  95. margin-left: 0px;
  96. margin-right: 0px;
  97. }
  98. @media screen and (max-width: 1200px) {
  99. .column {
  100. width: 100%;
  101. height: calc((100vh - 222px)*0.5)
  102. }
  103. }