123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- /*
- * Basic structure
- */
-
- #header {
- background: white;
- margin-bottom: 2rem;
- padding: 0;
- width: 100%;
- }
-
- #content {
- margin: auto;
- margin-top: 2rem;
- /* min-width: 720px; */
- overflow: hidden;
- width: 90%;
- }
-
- #footer {
- margin-top: 2rem;
- padding: 1em 0;
- text-align: center;
- width: 100%;
- }
-
- /* Logo */
- #logo {
- background: url("/static/common/logos/bookish.png") no-repeat center;
- background-size: contain;
- width: 250px;
- height: 50px;
- margin: 0 0 0 10%;
-
- a {
- border: none;
- display: block;
- width: 100%;
- height: 50px;
- }
-
- a:hover {
- border: none;
- }
- }
-
- /* Content container */
- .box {
- background-color: white;
- /* border: 2px solid rgba(0, 0, 0, 0.01); */
- margin: auto;
- margin-bottom: 1rem;
- width: 100%;
- }
-
- /* Main column and sidebar */
- @mixin column-flex($width) {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- max-width: $width;
- min-height: 0;
- padding: 0 0.25rem;
- }
-
- .main_column {
- @include column-flex(64%);
-
- table {
- margin-bottom: 1rem;
- }
- }
-
- .sidebar {
- @include column-flex(34%);
- float: right;
- }
-
- /* Links */
- div.linkbox {
- text-align: center;
- padding: 0.5rem;
- }
-
- /* Misc */
- .torrents_nomatch {
- margin-top: 1rem;
- }
-
- .vertical_space {
- margin-bottom: 1rem;
- }
-
- /* Textarea preview button */
- .preview_button {
- margin-top: 1rem;
- }
-
- /* Torrents page */
- .show_torrents {
- width: 21px;
- height: 28px;
- background: url("/static/common/symbols/show.png") no-repeat center center;
- }
-
- .hide_torrents {
- width: 21px;
- height: 28px;
- background: url("/static/common/symbols/hide.png") no-repeat center center;
- }
-
- .show_torrents_link {
- border: none;
- width: 28px;
- height: 28px;
- display: block;
- cursor: pointer;
- }
-
- .filter_torrents {
- background: white;
- margin: auto;
- width: 75%;
-
- .submit {
- vertical-align: middle;
- }
- }
-
- #content form.search_form + .torrent_table {
- margin-top: 20px;
- }
-
- #content form.search_form .submit {
- text-align: center;
- }
-
- .cat_list tr td {
- border: none;
- }
-
- .torrent_table .number_column {
- text-align: center;
- }
-
- .torrent_table,
- .torrent_table td {
- border: none;
- }
-
- /* Text elements */
- p {
- margin: 1em 0.5rem;
- }
-
- li {
- margin: 0.5em 2rem;
- }
-
- .torrent_title {
- font-size: larger;
- }
-
- /* Permissions page */
- .permissions {
- width: 90%;
- margin: 1em auto;
- }
-
- .permission_head {
- width: 50%;
- margin: 1em auto;
- }
-
- .permission_container {
- margin: auto;
- float: left;
- max-width: 33%;
- padding: 1rem;
-
- input {
- margin: 0px 3px 5px 0px;
- vertical-align: top;
- }
- }
-
- /* Invite tree */
- ul .invitetree {
- margin: 0px 0px 0px 25px;
- }
-
- .invitetree li {
- list-style: none;
- margin: 10px 2px;
- }
-
- /* User options */
- .user_options .options_list li {
- margin: 0;
- }
-
- /* Store, badges, and BP */
- #comm_badge_tr .badge_icon,
- #user_badge_edit_tr .badge_icon {
- margin-right: 0.1rem;
- margin-left: 0;
- white-space: nowrap;
- }
-
- .store_table .badge_icon {
- display: inline-block;
- width: 4rem;
- /* width: 16px; */
- }
-
- .store_table .badge_icon img {
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
-
- .point_gift_box p {
- margin: 7px 2px 0px;
- }
-
- .point_gift_box input[type="text"],
- .point_gift_box textarea {
- width: 100%;
- box-sizing: border-box;
- }
-
- /* Polls */
- .left_poll {
- display: none;
- width: 2px;
- height: 9px;
- float: left;
- margin: 0px;
- padding: 0px;
- }
-
- .center_poll {
- height: 0.75rem;
- background: $lb50;
- border-radius: 0;
- float: left;
- margin: 0.25rem 0;
- padding: 0;
- }
-
- .right_poll {
- display: none;
- width: 2px;
- height: 9px;
- float: left;
- margin: 0px;
- padding: 0px;
- }
-
- /* Curtain? */
- .curtain {
- position: fixed;
- top: 0%;
- left: 0%;
- width: 100%;
- height: 100%;
- background: black;
- z-index: 1001;
- -moz-opacity: 0.8;
- opacity: 0.8;
- filter: alpha(opacity=80);
- }
-
- /* Lightbox */
- .lightbox {
- position: fixed;
- text-align: center;
- top: 5%;
- left: 5%;
- width: 90%;
- height: 90%;
- padding: 0;
- z-index: 1002;
- overflow: auto;
-
- img {
- background: white;
- }
- }
-
- /* BibTeX overflow partial fix */
- .torrentdetails {
- * {
- box-sizing: border-box;
- max-width: inherit;
- }
-
- blockquote {
- max-width: 90%;
- margin: 1rem 5%;
- }
-
- pre {
- max-width: 100%;
- }
-
- /*
- .spoilerContainer,
- .hideContainer {
- }
- */
- }
-
- /* User and torrent stats */
- .chart {
- max-height: 30rem;
- }
|