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 2.1KB

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