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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. /* new request? */ table.request_form,
  73. /* forum thread */ table.new_thread,
  74. /* toolbox */ table.admin_tools,
  75. /* BP */ table.store_table,
  76. /* rule sections */ div.rule_table,
  77. /* client rules */ table.clients_table,
  78. /* login */ table.login_form,
  79. /* requests? */form.create_form,
  80. /* top10 */ form.search_form,
  81. /* start user management */
  82. table#user_info_box,
  83. table#warn_user_box,
  84. table#user_lock_account,
  85. table#user_privs_box,
  86. table#session_box,
  87. table#donation_box,
  88. table#donor_points_box,
  89. table#submit_box
  90. /* end user management */ {
  91. th,
  92. td {
  93. border-bottom: 0 !important;
  94. padding: 0.25rem !important;
  95. }
  96. }
  97. /* Duplicate input rules here */
  98. input,
  99. input[type="search"],
  100. input[type="text"] {
  101. margin: 0 !important;
  102. }
  103. input,
  104. textarea,
  105. select,
  106. fieldset {
  107. margin-bottom: 0 !important;
  108. }
  109. /* Block elements */
  110. pre,
  111. blockquote,
  112. dl,
  113. figure,
  114. table,
  115. ul,
  116. ol,
  117. form {
  118. margin-bottom: 0 !important;
  119. }
  120. /* Inline code */
  121. code {
  122. padding: 0 !important;
  123. }
  124. /* Unordered lists */
  125. ul {
  126. list-style: circle outside !important;
  127. }
  128. /* Nested lists */
  129. ul ul,
  130. ul ol,
  131. ol ol,
  132. ol ul {
  133. margin: 0 !important;
  134. font-size: 100% !important;
  135. }