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.

layout.scss 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. * Flex elements
  3. */
  4. .flex {
  5. display: flex;
  6. }
  7. /* Grow and shrink */
  8. .flex > .grow {
  9. flex-grow: 1;
  10. }
  11. .flex > .shrink {
  12. flex-shrink: 1;
  13. }
  14. /* Text input */
  15. .flex_input_container {
  16. display: flex;
  17. }
  18. .flex_input_container > input[type="text"] {
  19. flex-grow: 1;
  20. box-sizing: border-box;
  21. width: 50%;
  22. }
  23. /*
  24. * Misc
  25. */
  26. .hidden {
  27. display: none;
  28. }
  29. .invisible {
  30. visibility: hidden;
  31. }
  32. /* Textarea */
  33. .textarea_wrap {
  34. margin-bottom: 0.5rem;
  35. }
  36. .textarea_wrap:last-of-type {
  37. margin-bottom: 0;
  38. }
  39. /* Floaters */
  40. .float_left {
  41. float: left;
  42. }
  43. .float_right {
  44. float: right;
  45. }
  46. .float_clear {
  47. clear: both;
  48. }
  49. /* Images */
  50. img {
  51. border: none;
  52. }
  53. .webm {
  54. max-width: 100%;
  55. }
  56. /* Donor hearts and badges */
  57. .donor_icon {
  58. margin-left: 2px;
  59. margin-right: 2px;
  60. max-width: 16px;
  61. max-height: 16px;
  62. position: relative;
  63. }
  64. .badge_icon {
  65. margin: 0px 2px;
  66. position: relative;
  67. }
  68. .donation_info {
  69. padding: 10px 10px 10px 20px;
  70. margin-left: 10px;
  71. margin-right: 10px;
  72. margin-bottom: 20px;
  73. }
  74. .donation_info_title {
  75. display: block;
  76. font-size: 1.75em;
  77. -webkit-margin-before: 1em;
  78. -webkit-margin-after: 1em;
  79. -webkit-margin-start: 0px;
  80. -webkit-margin-end: 0px;
  81. font-weight: bold;
  82. margin: 10px 0;
  83. }
  84. /* Image dimension limits */
  85. img {
  86. max-width: 100%;
  87. }
  88. /* Covers */
  89. #coverCont {
  90. position: fixed;
  91. max-width: 30%;
  92. background-size: contain;
  93. background-repeat: no-repeat;
  94. z-index: 9999;
  95. }
  96. #coverCont img {
  97. max-width: 100%;
  98. }
  99. #covers img {
  100. display: block;
  101. margin-left: auto;
  102. margin-right: auto;
  103. }
  104. /**
  105. * Donate button
  106. * PNG to avoid the botnet
  107. */
  108. .donate_button {
  109. margin: 2rem auto;
  110. img {
  111. height: 2rem;
  112. }
  113. }