BioTorrents.de’s version of Gazelle
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.

skeleton-fixes.scss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /**
  2. * Fixes needed to use skeleton.css
  3. * to its best no-fuss advantage
  4. */
  5. /* Set heading fonts 50% of default and bump down a level */
  6. @mixin heading-attributes {
  7. letter-spacing: -1px !important;
  8. margin: 1rem 0 !important;
  9. }
  10. h1:not(#logo) {
  11. font-size: 1.8rem !important;
  12. @include heading-attributes;
  13. }
  14. h2 {
  15. font-size: 1.5rem !important;
  16. @include heading-attributes;
  17. }
  18. h3 {
  19. font-size: 1.2rem !important;
  20. @include heading-attributes;
  21. }
  22. h4 {
  23. font-size: 0.9rem !important;
  24. @include heading-attributes;
  25. }
  26. h5 {
  27. font-size: 0.75rem !important;
  28. @include heading-attributes;
  29. }
  30. h6 {
  31. font-size: 0.75rem !important;
  32. @include heading-attributes;
  33. }
  34. /* Larger than phablet */
  35. @media (min-width: 550px) {
  36. h1 {
  37. font-size: 1.8rem !important;
  38. }
  39. h2 {
  40. font-size: 1.5rem !important;
  41. }
  42. h3 {
  43. font-size: 1.2rem !important;
  44. }
  45. h4 {
  46. font-size: 0.9rem !important;
  47. }
  48. h5 {
  49. font-size: 0.75rem !important;
  50. }
  51. h6 {
  52. font-size: 0.75rem !important;
  53. }
  54. }
  55. /* Forum list headings */
  56. table.forum_index {
  57. h4 {
  58. margin: 0 !important;
  59. }
  60. }
  61. /* Checkbox and radio labels */
  62. label,
  63. legend {
  64. display: inline !important;
  65. }
  66. /* Tables usually containing forms */
  67. /* browse */
  68. table.torrent_search,
  69. /* request search */ table.torrent_requests,
  70. /* forum list */ table.forum_index,
  71. /* upload form */ table.torrent_form,
  72. /* requests? */ table.request_form,
  73. /* new request */ form#request_form,
  74. /* forum thread */ table.new_thread,
  75. /* toolbox */ table.admin_tools,
  76. /* BP */ table.store_table,
  77. /* rule sections */ div.rule_table,
  78. /* client rules */ table.clients_table,
  79. /* login */ table.login_form,
  80. /* requests? */form.create_form,
  81. /* top10 */ form.search_form,
  82. /* edit collage */ table.collage_edit,
  83. /* start user management */
  84. table#user_info_box,
  85. table#warn_user_box,
  86. table#user_lock_account,
  87. table#user_privs_box,
  88. table#session_box,
  89. table#donation_box,
  90. table#donor_points_box,
  91. table#submit_box,
  92. /* end user management */
  93. /* notif filters */ form[name="notification"],
  94. /* wiki search */ table.wiki_browse,
  95. /* better.php */ table.better_list {
  96. th,
  97. td {
  98. border-bottom: 0 !important;
  99. padding: 0.25rem !important;
  100. }
  101. }
  102. /* Duplicate input rules here */
  103. input,
  104. input[type="search"],
  105. input[type="text"] {
  106. margin: 0 !important;
  107. }
  108. input,
  109. textarea,
  110. select,
  111. fieldset {
  112. margin-bottom: 0 !important;
  113. }
  114. /* Block elements */
  115. pre,
  116. blockquote,
  117. dl,
  118. figure,
  119. table,
  120. ul,
  121. ol,
  122. form {
  123. margin-bottom: 0 !important;
  124. }
  125. /* Inline code */
  126. code {
  127. padding: 0 !important;
  128. }
  129. /* Unordered lists */
  130. ul {
  131. list-style: circle outside !important;
  132. }
  133. /* Nested lists */
  134. ul ul,
  135. ul ol,
  136. ol ol,
  137. ol ul {
  138. margin: 0 !important;
  139. font-size: 100% !important;
  140. }