123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- /*
- * Body
- */
-
- * {
- margin: 0;
- padding: 0;
- }
-
- /*
- * Flex elements
- */
-
- .flex {
- display: flex;
- }
-
- /* Grow and shrink */
- .flex > .grow {
- flex-grow: 1;
- }
-
- .flex > .shrink {
- flex-shrink: 1;
- }
-
- /* Text input */
- .flex_input_container {
- display: flex;
- }
-
- .flex_input_container > input[type="text"] {
- flex-grow: 1;
- box-sizing: border-box;
- width: 50%;
- }
-
- /**
- * Section elements
- */
- .style_addition input {
- margin-left: 0.5rem;
- }
-
- /**
- * Aside elements
- */
- aside {
- max-width: 66%;
-
- p {
- text-align: center;
- }
-
- /**
- * "Please consult the Upload Rules"
- * admonishment on torrent_form.class.php.
- */
- &.upload_notice {
- @include transparent-border($R: 255, $A: 0.5);
- margin: 1rem auto;
- text-align: center;
- }
-
- /* Announce and source */
- &.announce_source,
- &.torrent_upload {
- margin: 1rem auto;
- }
-
- /* Torrent upload error */
- &.upload_error {
- color: red;
- margin: 2rem auto;
- font-size: larger;
- }
- }
-
- /*
- * Misc
- */
-
- .hidden {
- display: none;
- }
-
- .invisible {
- visibility: hidden;
- }
-
- /* Permissions form submit button */
- .submit_container {
- clear: both;
- margin: 1rem;
- text-align: right;
- }
-
- /* Textarea */
- .textarea_wrap {
- margin-bottom: 0.5rem;
- }
-
- .textarea_wrap:last-of-type {
- margin-bottom: 0;
- }
-
- /* Floaters */
- .float_left {
- float: left;
- }
-
- .float_right {
- float: right;
- }
-
- .float_clear {
- clear: both;
- }
-
- /* Images */
- img {
- border: none;
- }
-
- .webm {
- max-width: 100%;
- }
-
- /* Donor hearts and badges */
- .donor_icon {
- margin-left: 2px;
- margin-right: 2px;
- max-width: 16px;
- max-height: 16px;
- position: relative;
- }
-
- .badge_icon {
- margin: 0px 2px;
- position: relative;
- }
-
- .donation_info {
- padding: 10px 10px 10px 20px;
- margin-left: 10px;
- margin-right: 10px;
- margin-bottom: 20px;
- }
-
- .donation_info_title {
- display: block;
- font-size: 1.75em;
- -webkit-margin-before: 1em;
- -webkit-margin-after: 1em;
- -webkit-margin-start: 0px;
- -webkit-margin-end: 0px;
- font-weight: bold;
- margin: 10px 0;
- }
-
- /* Image dimension limits */
- img {
- max-width: 100%;
- }
-
- /* Covers */
- #coverCont {
- position: fixed;
- max-width: 30%;
- background-size: contain;
- background-repeat: no-repeat;
- z-index: 9999;
- }
-
- #coverCont img {
- max-width: 100%;
- }
-
- #covers img {
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
-
- /**
- * Donate button
- * PNG to avoid the botnet
- */
- .donate_button {
- margin: 2rem auto;
-
- img {
- height: 2rem;
- }
- }
|