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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. /* 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. /* notif filters */ form[name="notification"],
  76. /* GENERIC */ table.skeleton-fix {
  77. th,
  78. td {
  79. border-bottom: 0 !important;
  80. padding: 0.25rem !important;
  81. }
  82. }
  83. /* Duplicate input rules here */
  84. input,
  85. input[type="search"],
  86. input[type="text"] {
  87. margin: 0 !important;
  88. }
  89. input,
  90. textarea,
  91. select,
  92. fieldset {
  93. margin-bottom: 0 !important;
  94. }
  95. /* Block elements */
  96. pre,
  97. blockquote,
  98. dl,
  99. figure,
  100. table,
  101. ul,
  102. ol,
  103. form {
  104. margin-bottom: 0 !important;
  105. }
  106. /* Inline code */
  107. code {
  108. padding: 0 !important;
  109. }
  110. /* Unordered lists */
  111. ul {
  112. list-style: circle outside !important;
  113. }
  114. /* Poll options */
  115. ul#poll_options {
  116. list-style: none !important;
  117. margin-left: 0 !important;
  118. margin-bottom: 0.5rem !important;
  119. }
  120. /* Nested lists */
  121. ul ul,
  122. ul ol,
  123. ol ol,
  124. ol ul {
  125. margin: 0 !important;
  126. font-size: 100% !important;
  127. }