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.

fonts.scss 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. html {
  2. font-size: 16px;
  3. line-height: 1.6;
  4. }
  5. /*
  6. * Spacing classes
  7. */
  8. .center {
  9. text-align: center;
  10. }
  11. .right {
  12. text-align: right;
  13. }
  14. .nobr {
  15. white-space: nowrap;
  16. }
  17. /* Brackets [Bookmark] */
  18. .brackets {
  19. text-indent: 0px;
  20. white-space: nowrap;
  21. cursor: pointer;
  22. }
  23. .brackets:before {
  24. content: "[";
  25. }
  26. .brackets:after {
  27. content: "]";
  28. }
  29. /* GPG keys */
  30. #publickey {
  31. font-family: monospace;
  32. width: initial;
  33. }
  34. /* <pre> spacing fix */
  35. /*
  36. code,
  37. pre {
  38. white-space: pre;
  39. }
  40. */
  41. pre br,
  42. code br {
  43. display: none;
  44. }
  45. /*
  46. * Torrent form
  47. */
  48. .torrent_form {
  49. label {
  50. font-weight: bold;
  51. }
  52. .required {
  53. &:after {
  54. color: red;
  55. content: "*";
  56. }
  57. }
  58. }
  59. /* Good/bad examples on rules pages */
  60. .important_text {
  61. color: red;
  62. }
  63. .important_text_alt {
  64. color: green;
  65. }
  66. .important_text_semi {
  67. color: orange;
  68. }
  69. .invalid,
  70. .warning,
  71. .error,
  72. .new {
  73. color: red;
  74. }
  75. /* Autocomplete */
  76. .autocomplete-suggestions {
  77. color: #000;
  78. margin-top: 5px;
  79. border: 1px solid #999;
  80. background: #fff;
  81. overflow: auto;
  82. strong {
  83. font-weight: normal;
  84. color: #3399ff;
  85. }
  86. }
  87. .autocomplete-suggestion {
  88. padding: 2px 5px;
  89. white-space: nowrap;
  90. overflow: hidden;
  91. cursor: pointer;
  92. }
  93. .autocomplete-selected {
  94. background: #f0f0f0;
  95. }
  96. /**
  97. * Ordered lists
  98. * https://stackoverflow.com/a/2730079
  99. */
  100. /* No IE6/7 */
  101. html>/**/body ol {
  102. list-style-type: none;
  103. counter-reset: level1;
  104. }
  105. ol li:before {
  106. content: counter(level1) ". ";
  107. counter-increment: level1;
  108. }
  109. ol li ol {
  110. list-style-type: none;
  111. counter-reset: level2;
  112. }
  113. ol li ol li:before {
  114. content: counter(level1) "." counter(level2) " ";
  115. counter-increment: level2;
  116. }
  117. /* For IE6/7 */
  118. ol li span {
  119. margin: 0 5px 0 -25px;
  120. }
  121. /* Disclaimer */
  122. .halfwide {
  123. max-width: 50%;
  124. margin: auto;
  125. text-align: center;
  126. }