mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-01-24 04:08:04 -08:00
324 lines
6.5 KiB
CSS
324 lines
6.5 KiB
CSS
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|
|
|
|
:root {
|
|
--gradient: linear-gradient(180deg, #152332, #24384D);
|
|
--dark-blue: #102030;
|
|
--light-blue: #495563;
|
|
--accent: #63A079;
|
|
--grey: #BDBDBD;
|
|
--white: #FFF;
|
|
background: #24384D;
|
|
overflow-y: scroll;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
:root:-webkit-scrollbar { /* WebKit */
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
color: var(--white);
|
|
background: var(--gradient);
|
|
font-family: 'Alata', sans-serif;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow-y: scroll;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body:-webkit-scrollbar { /* WebKit */
|
|
display: none;
|
|
}
|
|
|
|
input {
|
|
color: var(--white);
|
|
background: var(--dark-blue);
|
|
border: 1px solid var(--light-blue);
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border-radius: 900px;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
input:focus {
|
|
background: var(--light-blue);
|
|
border: 1px solid var(--grey);
|
|
transition: ease .2s;
|
|
outline: none;
|
|
}
|
|
|
|
input:disabled {
|
|
color: var(--grey);
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
::placeholder {
|
|
color: var(--grey);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
button {
|
|
color: var(--white);
|
|
background: var(--accent);
|
|
border: 0;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border-radius: 900px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:disabled {
|
|
filter: brightness(0.6);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
a {
|
|
color: var(--grey);
|
|
text-decoration: underline;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.disabled {
|
|
text-decoration: none;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
height: 80px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--grey);
|
|
}
|
|
|
|
#logo {
|
|
margin: 0 24px;
|
|
}
|
|
|
|
#startButtons {
|
|
height: 80px;
|
|
max-width: 960px;
|
|
margin: 64px auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
#startButtons > * {
|
|
width: 440px;
|
|
height: 40px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
#magnet {
|
|
text-align: center;
|
|
}
|
|
|
|
#torrent {
|
|
display: none;
|
|
}
|
|
|
|
label[for="torrent"] {
|
|
color: var(--white);
|
|
background: var(--accent);
|
|
border: 0;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border-radius: 900px;
|
|
text-align: center;
|
|
text-transform: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#properties {
|
|
position: relative;
|
|
max-width: 960px;
|
|
background: var(--dark-blue);
|
|
box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.3);
|
|
margin: 80px auto;
|
|
padding: 40px;
|
|
border-radius: 30px;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
#reset {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: -12px;
|
|
right: -12px;
|
|
}
|
|
|
|
#download {
|
|
position: absolute;
|
|
top: 0;
|
|
left: -28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#download > * {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.property {
|
|
margin: 24px 0;
|
|
display: flex;
|
|
align-content: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.property:first-child {
|
|
width: 240px;
|
|
}
|
|
|
|
.labels {
|
|
width: 280px;
|
|
text-align: right;
|
|
margin-top: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.labels > a {
|
|
font-size: 80%;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.content, #files {
|
|
width: 460px;
|
|
}
|
|
|
|
label {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
input {
|
|
width: 440px;
|
|
height: 40px;
|
|
}
|
|
|
|
#addTracker, #addWebseed {
|
|
width: 440px;
|
|
height: 40px;
|
|
margin: 0 0 16px 0;
|
|
color: var(--light-blue);
|
|
background: var(--dark-blue);
|
|
border: 1px solid var(--light-blue);
|
|
box-sizing: border-box;
|
|
border-radius: 900px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#announce > *, #urlList > * {
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.remove {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
|
|
#reset {
|
|
top: 0px;
|
|
right: 8px;
|
|
}
|
|
|
|
#download {
|
|
justify-content: center;
|
|
width: 95%;
|
|
top: auto;
|
|
bottom: 16px;
|
|
left: auto;
|
|
right: auto;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#download > * {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
#properties {
|
|
padding-bottom: 80px !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
#startButtons {
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
#properties {
|
|
margin: 0 0 32px 0;
|
|
padding: 0 1.5vw;
|
|
}
|
|
|
|
.property {
|
|
margin: 12px 0;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.property > label {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
input, button {
|
|
width: 80vw;
|
|
text-align: center;
|
|
}
|
|
|
|
.labels {
|
|
margin-bottom: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.labels, .content, #files {
|
|
width: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#announce, #urlList {
|
|
text-align: center;
|
|
}
|
|
|
|
#announce > * > *, #urlList > * > *, #addTracker, #addWebseed {
|
|
width: 80vw;
|
|
}
|
|
|
|
#addTracker, #addWebseed {
|
|
margin-right: 22px !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 460px) {
|
|
|
|
#startButtons > *, .property > input {
|
|
width: 95%;
|
|
}
|
|
|
|
}
|