123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- /* Skeleton CSS */
- $SkeletonDefault: #33c3f0;
- $SkeletonFocus: #1eaedb;
- $SkeletonHalfdark: scale-color($SkeletonFocus, $lightness: -50%);
-
- * {
- margin: 0;
- padding: 0;
- }
-
- html,
- body {
- height: 100%;
- font-size: 16px;
- line-height: 1.6;
- }
-
- /**
- * Typography
- */
-
- body {
- background: white;
- color: black;
- font-family: "NotoSans-SemiCondensed", sans-serif;
- font-size: 0.75rem;
-
- b,
- strong {
- font-family: "NotoSans-SemiCondensedBold", sans-serif;
- font-weight: normal;
- }
-
- i,
- em {
- font-family: "NotoSans-SemiCondensedItalic", sans-serif;
- font-style: normal;
- }
- }
-
- /* Text elements */
- a {
- color: black;
- text-decoration: underline;
-
- &:hover {
- color: #01579b;
- text-decoration: none;
- }
- }
-
- p {
- margin: 1em 0;
- }
-
- ul {
- margin-left: 0.5rem;
-
- li {
- margin-bottom: 0;
- }
-
- &.p li {
- margin-bottom: 1rem;
- }
- }
-
- h2 {
- text-align: center;
- margin-bottom: 1rem;
- }
-
- /**
- * Inputs
- */
- /*
- input[type="text"],
- input[type="password"],
- input[type="email"] {
- color: black;
- background-color: white;
- padding: 0 0 0 6px;
- font: 500 14px/29px "NotoSans-SemiCondensed", sans-serif;
- width: 100%;
- box-sizing: border-box;
-
- &:valid,
- &:valid {
- border-style: none;
- }
-
- &:invalid,
- &:invalid {
- border: none;
- border-right: 2px solid red;
- }
- }
-
- #loginform > table,
- #recoverform > div > table {
- border-spacing: 1px;
- }
-
- #loginform #username,
- #recoverform #new_pass_1 {
- border-radius: 5px 5px 0 0;
- }
-
- #loginform input[type="submit"],
- #recoverform input[type="submit"],
- input[type="submit"] {
- width: 100%;
- background-color: #81d4fa;
- font: 500 14px/29px "NotoSans-SemiCondensed", sans-serif;
- border: none;
- border-radius: 0 0 5px 5px;
- cursor: pointer;
- }
-
- #loginform input[type="submit"]:hover,
- #recoverform input[type="submit"]:hover,
- input[type="submit"]:hover {
- background-color: #e1f5fe;
- }
-
- #recoverform .layout td:first-child {
- width: 100%;
- text-align: right;
- padding-right: 5px;
- }
- */
-
- /**
- * Layout
- */
-
- header,
- footer {
- height: 2.5rem;
- line-height: 2.5rem;
- width: 100%;
- background: $SkeletonHalfdark;
- position: fixed;
- left: 0;
-
- a {
- color: white;
- text-decoration: none;
- margin: 0 0.5rem;
-
- &:hover {
- color: white;
- text-decoration: underline;
- }
- }
- }
-
- header {
- top: 0;
- text-align: right;
- }
-
- footer {
- bottom: 0;
- text-align: center;
- }
-
- main {
- width: 25%;
- height: calc(80% - 60px);
- margin: 0 auto;
- padding: 10% 0;
- }
-
- #logo {
- width: 220px;
- height: 50px;
- background-image: url("/static/common/logos/torrents.bio.png");
- background-repeat: no-repeat;
- background-position: center;
- background-size: contain;
- margin: 1rem auto;
-
- &:after {
- content: "℠";
- font-size: 0.75rem;
- font-weight: normal;
- margin-left: 100%;
- }
- }
-
- /**
- * Classes
- */
-
- .center {
- margin: auto;
- text-align: center;
- vertical-align: middle;
- }
-
- .hidden {
- display: none;
- }
-
- .mouseless {
- cursor: default;
- }
-
- .login_form,
- .create_form,
- .notice {
- margin: auto;
- max-width: 220px;
- }
-
- .info {
- color: green;
- font-family: "NotoSans-SemiCondensedBold", sans-serif;
- }
-
- .error {
- color: red;
- font-family: "NotoSans-SemiCondensedBold", sans-serif;
- }
-
- /* Legal */
- .tldr {
- max-width: 1000%;
- height: 500px;
- margin: auto;
- overflow-y: scroll;
- }
|