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.

961 lines
17 KiB

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
:root
{
--purple-heart-50: #f3f1ff;
--purple-heart-100: #ebe5ff;
--purple-heart-200: #d9ceff;
--purple-heart-300: #bea6ff;
--purple-heart-400: #9f75ff;
--purple-heart-500: #843dff;
--purple-heart-600: #7916ff;
--purple-heart-700: #6b04fd;
--purple-heart-800: #5a03d5;
--purple-heart-900: #4b05ad;
--purple-heart-950: #2c0076;
/* Colors with 25% transparency */
--purple-heart-50-25: #f3f1ff40;
--purple-heart-100-25: #ebe5ff40;
--purple-heart-200-25: #d9ceff40;
--purple-heart-300-25: #bea6ff40;
--purple-heart-400-25: #9f75ff40;
--purple-heart-500-25: #843dff40;
--purple-heart-600-25: #7916ff40;
--purple-heart-700-25: #6b04fd40;
--purple-heart-800-25: #5a03d540;
--purple-heart-900-25: #4b05ad40;
--purple-heart-950-25: #2c007640;
/* Colors with 50% transparency */
--purple-heart-50-50: #f3f1ff80;
--purple-heart-100-50: #ebe5ff80;
--purple-heart-200-50: #d9ceff80;
--purple-heart-300-50: #bea6ff80;
--purple-heart-400-50: #9f75ff80;
--purple-heart-500-50: #843dff80;
--purple-heart-600-50: #7916ff80;
--purple-heart-700-50: #6b04fd80;
--purple-heart-800-50: #5a03d580;
--purple-heart-900-50: #4b05ad80;
--purple-heart-950-50: #2c007680;
--bg:var(--bgBetter);
--bgBetter:linear-gradient(135deg, var(--purple-heart-400) 0%, var(--purple-heart-800) 100%);
--lbg:var(--purple-heart-600);
--lbgT:var(--purple-heart-600-50);
--primary:var(--purple-heart-600);
--accent:var(--purple-heart-800);
--border: var(--purple-heart-500);
--border-hover: var(--purple-heart-300);
--text:var(--purple-heart-100);
--favorite:var(--purple-heart-950);
--completed: var(--purple-heart-400);
--dropped: #de3b3b;
}
body
{
margin:0;
height:100%;
width:100%;
margin: 0 0 0 0;
position:absolute;
top:0%;
left:0%;
font-family: 'lato';
background-color: var(--bg);
background-image: linear-gradient(135deg, var(--purple-heart-400) 0%, var(--purple-heart-950) 100%);;
background: -webkit-gradient(linear, left top, right bottom, from(var(--purple-heart-400)), to(var(--purple-heart-950))) fixed;
color:var(--text);
overflow: scroll;
overflow-x: hidden;
}
.nav
{
width: 100%;
}
.nav > .button-container
{
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
align-items: center;
gap:2em;
justify-content: center;
}
.button-container > .active
{
color:var(--accent);
}
.bt
{
cursor:pointer;
}
.bt:hover
{
color:var(--accent)
}
button
{
cursor: pointer;
width: 10em;
border:2px solid var(--border);
border-radius: 15px;
font-family: 'lato';
color: var(--text);
background-color: var(--purple-heart-800);
}
button:hover
{
border-color: var(--border-hover);
}
#display
{
height: 100%;
width: 100%;
display: flex;
align-items: center;
flex-direction: column;
}
.container
{
width: 100%;
}
#search
{
background-color: var(--purple-heart-950);
border: 2px solid var(--text);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
}
#search:focus-visible
{
background-color: var(--purple-heart-950);
border: 2px solid var(--border);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
outline: none;
}
.material-symbols-outlined {
transform: translateX(-1em);
cursor: pointer;
color:var(--accent);
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
.fill
{
cursor: pointer;
color:var(--favorite);
font-variation-settings:
'FILL' 1,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
.scanlator-container > h2
{
margin-left: 3em;
margin-right: 3em;
border-bottom:4px solid var(--border-hover);
}
.carousel > .buttonContainer
{
display: flex;
flex-direction: row;
gap: 2em;
height: 3em;
width: 100%;
position: relative;
top: -15.5em;
visibility: hidden;
justify-content: space-between;
}
.carousel
{
height: 25em;
align-items: center;
width: 90%;
overflow: hidden;
z-index: 1;
}
.cards-container
{
display: flex;
transition: transform 0.5s ease;
background-color: var(--purple-heart-800-25);
border: 1px solid transparent;
border-radius: 12px;
height: 100%;
gap:2em;
}
.chevron
{
transform: translateX(0em);
cursor: pointer;
color: var(--text);
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
.pullBackUp
{
position: fixed;
right: 2em;
bottom: 2em;
color:var(--text);
width: 2em;
height: 2em;
}
.chevronUp
{
color: var(---text);
margin-left: 0.73em;
top: -0.07em;
position: relative;
}
.prev-btn, .next-btn
{
position: relative;
margin: 10px;
cursor: pointer;
background-color: var(--accent);
border: 2px solid var(--border);
border-radius: 50%;
height: 3em;
width: 3em;
display: flex;
visibility:visible;
flex-direction: row;
justify-content: center;
gap: 2px;
z-index: 10;
/* align-content: center; */
align-items: center;
}
.card
{
transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
background-color: var(--lbg);
min-width: 200px;
max-width: 15%;
height: 98.5%;
position: relative;
border-radius: 12px;
overflow: hidden;
border: 2px solid var(--border);
cursor: pointer;
z-index: 1;
box-shadow: 0px 13px 10px -7px rgba(0, 0, 0,0.1);
}
.bookmark
{
margin-left: 1em;
margin-top: 0.5em;
position: relative;
z-index: 10;
cursor:pointer;
}
.card__img
{
transition: 0.2s all ease-out;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100%;
position: absolute;
height: 75%;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
top: 0;
}
.card__info
{
background-color:var(--lbg);
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
width: 100%;
position: absolute;
bottom: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
cursor: pointer;
overflow: hidden;
transform: translateY(5em);
}
.card__title {
margin-top: 5px;
margin-bottom: 10px;
font-family: 'lato', serif;
height: 2.6em;
font-size: 16px;
overflow: hidden;
text-align: center;
}
.card:hover > .card__info
{
background-color: var(--lbgT);
transition: transform 0.5s ease;
transform: translateY(0em);
}
.card > .card__info > h2
{
margin: 0;
font-size: large
}
.card > .card__info > h3
{
margin: 0;
margin-bottom: 1.5em;
font-size: medium;
}
.card > .card__info > .desc
{
font-size: x-small;
margin-left: 1em;
margin-right: 1em;
margin-top: 1em;
}
.card:hover > .card__img
{
height: 100%;
}
.card__overlay
{
position: relative;
top:0;
left:0;
height: 100%;
width: 100%;
z-index: 1;
}
.card > .card__info > .tags
{
display:flex;
flex-direction: row;
justify-content: left;
align-self: center;
gap:5px;
margin-bottom: 0em;
position: relative;
top: 0.5em;
}
.card > .card__info > .tags > .tag
{
border: 1px solid var(--border);
border-radius: 15px;
background-color: var(--accent);
padding-left: 0.2em;
padding-right: .2em;
}
.infoCard
{
height: 15em;
width: 80%;
display: flex;
border: 3px solid var(--border);
border-radius: 15px;
margin-left: 10%;
background-color: var(--lbg);
}
.infoCard > .infoText
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-right: 1em;
}
.infoCard > .infoText > h2
{
margin-top: 0.3em;
margin-bottom: 0.3em;
}
.infoCard > .infoText > .description
{
height: 8em;
overflow: hidden;
text-overflow: ellipsis;
}
.infoCard > img
{
border-radius: 5px;
margin:10px;
}
.infoCard > .infoText > a
{
cursor: pointer;
text-decoration: none;
color: var(--text);
}
.infoCard > .infoText > .description
{
color:var(--text);
}
.list
{
width: 80%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
border: 3px solid var(--border);
background-color: var(--bg);
border-radius: 15px;
margin-left: 10%;
gap:5px;
}
.list > .chapterButton
{
border: 2px solid var(--border);
border-radius: 15px;
background-color: var(--lbg);
margin: 5px;
width: 130px;
height: 40px;
cursor: pointer;
}
.chapterButton:hover
{
border-color: var(--border-hover);
}
.list > .chapterButton > a
{
text-align: center;
}
.list > .chapterButton > a > h4 , .list > .chapterButton > a > h5
{
/* margin-left: 0.6em; */
margin-bottom: 0.1em;
margin-top: 0.1em;
}
.infoCard > .infoText > .tags
{
display:flex;
flex-direction: row;
justify-content: left;
align-self: center;
gap:5px;
margin-bottom: 1em;
}
.infoCard > .infoText > .tags > .tag
{
border: 1px solid var(--border);
border-radius: 15px;
background-color: var(--accent);
padding-left: 0.2em;
padding-right: .2em;
}
#display > img
{
width: 60%;
}
.chapterNav
{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
margin-bottom: 1em;
margin-top: 1em;
}
.chapterNavButton
{
background-color: var(--purple-heart-500-25);
width: 100px;
height: 30px;
border: 2px solid var(--accent);
border-radius: 15px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
cursor: pointer;
}
.chapterNavButton:hover
{
border-color: var(--border-hover);
}
.searchCarousel
{
display: flex;
align-items: center;
justify-content: center;
}
.chapterNavChapterLabel
{
width: 40%;
text-align: center;
}
.hidden
{
display: none !important;
}
.searchBarWrapper
{
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
gap: 2em;
}
.searchIcon
{
color:var(--text)
}
.searchIcon:hover
{
color:var(--accent)
}
.progress {
position: fixed;
top: 0;
z-index: 1000;
height: 4px;
width: 100%;
border-radius: 2px;
background-clip: padding-box;
overflow: hidden;
}
.progress .indeterminate:before {
content: "";
position: absolute;
background-color: var(--accent);
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395)
infinite;
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.progress .indeterminate:after {
content: "";
position: absolute;
background-color: var(--accent);
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1)
infinite;
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1)
infinite;
-webkit-animation-delay: 1.15s;
animation-delay: 1.15s;
}
.progress {
display: none;
}
.htmx-request .progress {
display: inline;
}
.htmx-request.progress {
display: inline;
}
@-webkit-keyframes indeterminate {
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
}
@keyframes indeterminate {
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
}
@-webkit-keyframes indeterminate-short {
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
}
@keyframes indeterminate-short {
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
}
#RecommendTitle
{
text-align: center;
font-size: 2em;
color: var(--purple-heart-50);
border-bottom: 3px solid var(--purple-heart-50);
width: 80%;
left: 10%;
position: relative;
}
.chapterNavChapterLabel
{
cursor: pointer;
}
.chapterNavChapterLabel:hover
{
color: var(--accent);
}
.status
{
position: absolute;
top: 2em;
left: -3.5em;
color: var(--text);
text-transform: uppercase;
padding: 0.5em 4em;
background: var(--dropped);
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.Completed
{
background: var(--completed);
}
::-webkit-scrollbar {
width: 0.6em;
}
::-webkit-scrollbar-track {
background: var(--border-hover)
}
::-webkit-scrollbar-thumb {
background:var(--purple-heart-950-50);
border: 0 solid transparent;
border-radius: 25px;
}
::-webkit-scrollbar-thumb:hover {
background:var(--purple-heart-950) ; /* color of the thumb on hover */
}
.NoFavs
{
text-align: center;
color: var(--text);
font-size: 3em;
}
.login
{
color: var(--text);
border: 1px solid var(--accent);
border-radius: 15px;
background-color: var(--purple-heart-500);
height: 2em;
width: 4em;
display: flex;
justify-content: center;
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
position: absolute;
top:1em;
right: 1em;
cursor: pointer;
}
.login:hover
{
background-color: var(--purple-heart-600);
}
#configWrapper
{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
height: 100%;
}
.configForm
{
background-color: var(--purple-heart-600-50);
border-radius: 13px;
height:25em;
}
.configForm section
{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
text-align: center;
}
.buttonSection
{
margin: 1em;
}
#configSubmitBt
{
height: 2em;
}
.configForm label, .configForm input
{
margin: 1em 0 0 1em;
width: 30vw;
}
.configForm::before
{
content: '';
background-color: var(--accent);
border-top-left-radius: 13px;
border-bottom-left-radius: 13px;
z-index: 10;
height: 100%;
width: 1em;
position: relative;
float:left;
}
.configForm input
{
background-color: var(--purple-heart-950);
border: 2px solid var(--text);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
margin-right: 2em;
}
.configForm input:focus-visible
{
background-color: var(--purple-heart-950);
border: 2px solid var(--border);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
outline: none;
}
.formWrapper
{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
height: 100%;
}
.loginForm
{
background-color: var(--purple-heart-600-50);
border-radius: 13px;
height:25em;
}
.loginForm section
{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
text-align: center;
}
.loginForm label, .loginForm input
{
margin: 1em 0 0 1em;
width: 30vw;
}
.loginForm::before
{
content: '';
background-color: var(--accent);
border-top-left-radius: 13px;
border-bottom-left-radius: 13px;
z-index: 10;
height: 100%;
width: 1em;
position: relative;
float:left;
}
.loginForm input
{
background-color: var(--purple-heart-950);
border: 2px solid var(--text);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
margin-right: 2em;
}
.loginForm input:focus-visible
{
background-color: var(--purple-heart-950);
border: 2px solid var(--border);
border-radius: 15px;
height: 2em;
text-align: center;
color:var(--text);
outline: none;
}
.loginFormFlexBox
{
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
gap:2em;
}
#loginSubmitBt
{
height: 2em;
}
.burgerMenu > span
{
color:var(--text);
margin-left: 2em;
}
.wrapperReaderBox
{
display: flex;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
}
.spacer
{
width: 0%;
}
.chapterOverview
{
position: fixed;
height: 85vh;
top: 10vh;
width: 1.7vw;
background-color: var(--purple-heart-500-50);
border: 0 solid;
border-radius: 15px;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
}
.chapterOverview > .flexBox
{
display: none;
flex-wrap: wrap;
flex-direction: row;
gap: 0.5em;
justify-content: center;
align-items: center;
overflow-x: hidden;
margin-top: 1em;
margin-bottom: 1em;
}
.chapterOverview > .expand
{
color:var(--text);
border:0 solid transparent;
border-top-right-radius: 15px ;
border-bottom-right-radius: 15px ;
background-color: var(--purple-heart-600);
width: 1.65vw;
cursor:pointer;
}
.chapterOverview > .expand > span
{
position: relative;
left: 1em;
top: 50%;
color: var(--text);
}
.chapterOverview > .expand:hover
{
background-color: var(--purple-heart-400);
}
.flexBox > img
{
max-width: 75px;
height: auto;
border: 0 solid transparent;
border-radius: 5px;
box-sizing: border-box;
cursor: pointer;
}
.flexBox > .inView
{
border: 3px solid var(--accent);
}