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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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.25rem !important;
  59. }
  60. }
  61. /* Checkbox and radio labels */
  62. label,
  63. legend {
  64. display: inline !important;
  65. }
  66. /* Tables usually containing forms */
  67. /* new request */ form#request_form,
  68. /* BP */ table.store_table,
  69. /* rule sections */ div.rule_table,
  70. /* client rules */ table.clients_table,
  71. /* login */ table.login_form,
  72. /* requests? */form.create_form,
  73. /* top10 and many */ form.search_form,
  74. /* edit collage */ table.collage_edit,
  75. /* forum lists */ table.forum_index,
  76. /* notif filters */ form[name="notification"],
  77. /* service stats */ div.permission_container,
  78. /* user settings */ table.user_options,
  79. /* GENERIC */ table.skeleton-fix {
  80. td {
  81. border-bottom: 0 !important;
  82. padding: 0.25rem !important;
  83. }
  84. }
  85. /* Duplicate input rules here */
  86. input,
  87. input[type="search"],
  88. input[type="text"] {
  89. margin: 0 !important;
  90. }
  91. input,
  92. textarea,
  93. select,
  94. fieldset {
  95. margin-bottom: 0 !important;
  96. }
  97. /* Block elements */
  98. pre,
  99. blockquote,
  100. dl,
  101. figure,
  102. table,
  103. ul,
  104. ol,
  105. form {
  106. margin-bottom: 0 !important;
  107. }
  108. /* Inline code */
  109. code {
  110. padding: 0 !important;
  111. }
  112. /* Unordered lists */
  113. ul:not(.nobullet) {
  114. list-style: circle outside !important;
  115. }
  116. /* Poll options */
  117. ul#poll_options {
  118. list-style: none !important;
  119. margin-left: 0 !important;
  120. margin-bottom: 0.5rem !important;
  121. }
  122. /* Nested lists */
  123. ul ul,
  124. ul ol,
  125. ol ol,
  126. ol ul {
  127. margin: 0 !important;
  128. font-size: 100% !important;
  129. }