mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 14:01:11 +00:00
1687 lines
23 KiB
CSS
1687 lines
23 KiB
CSS
html,
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
.transparent {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.no-border {
|
|
border: 0px !important;
|
|
}
|
|
|
|
.no-underline {
|
|
text-decoration: none !important;
|
|
}
|
|
/* Margins. */
|
|
.mt-0 {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.mr-0 {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.mb-0 {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.ml-0 {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.mt-1 {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.mr-1 {
|
|
margin-right: 1px;
|
|
}
|
|
|
|
.mb-1 {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.ml-1 {
|
|
margin-left: 1px;
|
|
}
|
|
|
|
.mt-2 {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mr-2 {
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.mb-2 {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.ml-2 {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.mt-3 {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.mr-3 {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.mb-3 {
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.ml-3 {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.mt-4 {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mr-4 {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.mb-4 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.ml-4 {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.mt-5 {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.mr-5 {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mb-5 {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.ml-5 {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.mt-6 {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.mr-6 {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.mb-6 {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.ml-6 {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.mt-7 {
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.mr-7 {
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.mb-7 {
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.ml-7 {
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.mt-8 {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mr-8 {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.mb-8 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ml-8 {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.mt-9 {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
.mr-9 {
|
|
margin-right: 9px;
|
|
}
|
|
|
|
.mb-9 {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.ml-9 {
|
|
margin-left: 9px;
|
|
}
|
|
|
|
.mt-10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.mr-10 {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.mb-10 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ml-10 {
|
|
margin-left: 10px;
|
|
}
|
|
/* Paddings. */
|
|
.pt-0 {
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.pr-0 {
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.pb-0 {
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.pl-0 {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.pt-1 {
|
|
padding-top: 1px;
|
|
}
|
|
|
|
.pr-1 {
|
|
padding-right: 1px;
|
|
}
|
|
|
|
.pb-1 {
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.pl-1 {
|
|
padding-left: 1px;
|
|
}
|
|
|
|
.pt-2 {
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.pr-2 {
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.pb-2 {
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.pl-2 {
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.pt-3 {
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.pr-3 {
|
|
padding-right: 3px;
|
|
}
|
|
|
|
.pb-3 {
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.pl-3 {
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.pt-4 {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.pr-4 {
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.pb-4 {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.pl-4 {
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.pt-5 {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.pr-5 {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.pb-5 {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.pl-5 {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.pt-6 {
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.pr-6 {
|
|
padding-right: 6px;
|
|
}
|
|
|
|
.pb-6 {
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.pl-6 {
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.pt-7 {
|
|
padding-top: 7px;
|
|
}
|
|
|
|
.pr-7 {
|
|
padding-right: 7px;
|
|
}
|
|
|
|
.pb-7 {
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.pl-7 {
|
|
padding-left: 7px;
|
|
}
|
|
|
|
.pt-8 {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.pr-8 {
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.pb-8 {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.pl-8 {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.pt-9 {
|
|
padding-top: 9px;
|
|
}
|
|
|
|
.pr-9 {
|
|
padding-right: 9px;
|
|
}
|
|
|
|
.pb-9 {
|
|
padding-bottom: 9px;
|
|
}
|
|
|
|
.pl-9 {
|
|
padding-left: 9px;
|
|
}
|
|
|
|
.pt-10 {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.pr-10 {
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.pb-10 {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.pl-10 {
|
|
padding-left: 10px;
|
|
}
|
|
/* Widths (1 to 10, then 5 by 5 until 100). */
|
|
.w-0px {
|
|
width: 0px;
|
|
}
|
|
|
|
.w-1px {
|
|
width: 1px;
|
|
}
|
|
|
|
.w-2px {
|
|
width: 2px;
|
|
}
|
|
|
|
.w-3px {
|
|
width: 3px;
|
|
}
|
|
|
|
.w-4px {
|
|
width: 4px;
|
|
}
|
|
|
|
.w-5px {
|
|
width: 5px;
|
|
}
|
|
|
|
.w-6px {
|
|
width: 6px;
|
|
}
|
|
|
|
.w-7px {
|
|
width: 7px;
|
|
}
|
|
|
|
.w-8px {
|
|
width: 8px;
|
|
}
|
|
|
|
.w-9px {
|
|
width: 9px;
|
|
}
|
|
|
|
.w-10px {
|
|
width: 10px;
|
|
}
|
|
|
|
.w-15px {
|
|
width: 15px;
|
|
}
|
|
|
|
.w-20px {
|
|
width: 20px;
|
|
}
|
|
|
|
.w-25px {
|
|
width: 25px;
|
|
}
|
|
|
|
.w-30px {
|
|
width: 30px;
|
|
}
|
|
|
|
.w-35px {
|
|
width: 35px;
|
|
}
|
|
|
|
.w-40px {
|
|
width: 40px;
|
|
}
|
|
|
|
.w-45px {
|
|
width: 45px;
|
|
}
|
|
|
|
.w-50px {
|
|
width: 50px;
|
|
}
|
|
|
|
.w-55px {
|
|
width: 55px;
|
|
}
|
|
|
|
.w-60px {
|
|
width: 60px;
|
|
}
|
|
|
|
.w-65px {
|
|
width: 65px;
|
|
}
|
|
|
|
.w-70px {
|
|
width: 70px;
|
|
}
|
|
|
|
.w-75px {
|
|
width: 75px;
|
|
}
|
|
|
|
.w-80px {
|
|
width: 80px;
|
|
}
|
|
|
|
.w-85px {
|
|
width: 85px;
|
|
}
|
|
|
|
.w-90px {
|
|
width: 90px;
|
|
}
|
|
|
|
.w-95px {
|
|
width: 95px;
|
|
}
|
|
|
|
.w-100px {
|
|
width: 100px;
|
|
}
|
|
|
|
.w-105px {
|
|
width: 105px;
|
|
}
|
|
|
|
.w-110px {
|
|
width: 110px;
|
|
}
|
|
|
|
.w-115px {
|
|
width: 115px;
|
|
}
|
|
|
|
.w-120px {
|
|
width: 120px;
|
|
}
|
|
|
|
.w-125px {
|
|
width: 125px;
|
|
}
|
|
|
|
.w-150px {
|
|
width: 150px;
|
|
}
|
|
|
|
.w-160px {
|
|
width: 160px;
|
|
}
|
|
|
|
.w-170px {
|
|
width: 170px;
|
|
}
|
|
|
|
.w-180px {
|
|
width: 180px;
|
|
}
|
|
|
|
.w-190px {
|
|
width: 190px;
|
|
}
|
|
|
|
.w-200px {
|
|
width: 200px;
|
|
}
|
|
|
|
.w-210px {
|
|
width: 210px;
|
|
}
|
|
|
|
.w-220px {
|
|
width: 220px;
|
|
}
|
|
|
|
.w-230px {
|
|
width: 230px;
|
|
}
|
|
|
|
.w-240px {
|
|
width: 240px;
|
|
}
|
|
|
|
.w-250px {
|
|
width: 250px;
|
|
}
|
|
|
|
/* Heights (1 to 10, then 5 by 5 until 100). */
|
|
.h-0px {
|
|
height: 0px;
|
|
}
|
|
|
|
.h-1px {
|
|
height: 1px;
|
|
}
|
|
|
|
.h-2px {
|
|
height: 2px;
|
|
}
|
|
|
|
.h-3px {
|
|
height: 3px;
|
|
}
|
|
|
|
.h-4px {
|
|
height: 4px;
|
|
}
|
|
|
|
.h-5px {
|
|
height: 5px;
|
|
}
|
|
|
|
.h-6px {
|
|
height: 6px;
|
|
}
|
|
|
|
.h-7px {
|
|
height: 7px;
|
|
}
|
|
|
|
.h-8px {
|
|
height: 8px;
|
|
}
|
|
|
|
.h-9px {
|
|
height: 9px;
|
|
}
|
|
|
|
.h-10px {
|
|
height: 10px;
|
|
}
|
|
|
|
.h-11px {
|
|
height: 11px;
|
|
}
|
|
|
|
.h-12px {
|
|
height: 12px;
|
|
}
|
|
|
|
.h-13px {
|
|
height: 13px;
|
|
}
|
|
|
|
.h-14px {
|
|
height: 14px;
|
|
}
|
|
|
|
.h-15px {
|
|
height: 15px;
|
|
}
|
|
|
|
.h-16px {
|
|
height: 16px;
|
|
}
|
|
|
|
.h-17px {
|
|
height: 17px;
|
|
}
|
|
|
|
.h-18px {
|
|
height: 18px;
|
|
}
|
|
|
|
.h-19px {
|
|
height: 19px;
|
|
}
|
|
|
|
.h-20px {
|
|
height: 20px;
|
|
}
|
|
|
|
.h-21px {
|
|
height: 21px;
|
|
}
|
|
|
|
.h-22px {
|
|
height: 22px;
|
|
}
|
|
|
|
.h-23px {
|
|
height: 23px;
|
|
}
|
|
|
|
.h-24px {
|
|
height: 24px;
|
|
}
|
|
|
|
.h-25px {
|
|
height: 25px;
|
|
}
|
|
|
|
.h-30px {
|
|
height: 30px;
|
|
}
|
|
|
|
.h-35px {
|
|
height: 35px;
|
|
}
|
|
|
|
.h-40px {
|
|
height: 40px;
|
|
}
|
|
|
|
.h-45px {
|
|
height: 45px;
|
|
}
|
|
|
|
.h-50px {
|
|
height: 50px;
|
|
}
|
|
|
|
.h-55px {
|
|
height: 55px;
|
|
}
|
|
|
|
.h-60px {
|
|
height: 60px;
|
|
}
|
|
|
|
.h-65px {
|
|
height: 65px;
|
|
}
|
|
|
|
.h-70px {
|
|
height: 70px;
|
|
}
|
|
|
|
.h-75px {
|
|
height: 75px;
|
|
}
|
|
|
|
.h-80px {
|
|
height: 80px;
|
|
}
|
|
|
|
.h-85px {
|
|
height: 85px;
|
|
}
|
|
|
|
.h-90px {
|
|
height: 90px;
|
|
}
|
|
|
|
.h-95px {
|
|
height: 95px;
|
|
}
|
|
|
|
.h-100px {
|
|
height: 100px;
|
|
}
|
|
|
|
.h-105px {
|
|
height: 105px;
|
|
}
|
|
|
|
.h-110px {
|
|
height: 110px;
|
|
}
|
|
|
|
.h-115px {
|
|
height: 115px;
|
|
}
|
|
|
|
.h-120px {
|
|
height: 120px;
|
|
}
|
|
|
|
.h-125px {
|
|
height: 125px;
|
|
}
|
|
|
|
.h-150px {
|
|
height: 150px;
|
|
}
|
|
|
|
.h-160px {
|
|
height: 160px;
|
|
}
|
|
|
|
.h-170px {
|
|
height: 170px;
|
|
}
|
|
|
|
.h-180px {
|
|
height: 180px;
|
|
}
|
|
|
|
.h-190px {
|
|
height: 190px;
|
|
}
|
|
|
|
.h-200px {
|
|
height: 200px;
|
|
}
|
|
|
|
.h-210px {
|
|
height: 210px;
|
|
}
|
|
|
|
.h-220px {
|
|
height: 220px;
|
|
}
|
|
|
|
.h-230px {
|
|
height: 230px;
|
|
}
|
|
|
|
.h-240px {
|
|
height: 240px;
|
|
}
|
|
|
|
.h-250px {
|
|
height: 250px;
|
|
}
|
|
|
|
/* Widths percentage. */
|
|
.w-1 {
|
|
width: 1%;
|
|
}
|
|
|
|
.w-2 {
|
|
width: 2%;
|
|
}
|
|
|
|
.w-3 {
|
|
width: 3%;
|
|
}
|
|
|
|
.w-4 {
|
|
width: 4%;
|
|
}
|
|
|
|
.w-5 {
|
|
width: 5%;
|
|
}
|
|
|
|
.w-6 {
|
|
width: 6%;
|
|
}
|
|
|
|
.w-7 {
|
|
width: 7%;
|
|
}
|
|
|
|
.w-8 {
|
|
width: 8%;
|
|
}
|
|
|
|
.w-9 {
|
|
width: 9%;
|
|
}
|
|
|
|
.w-10 {
|
|
width: 10%;
|
|
}
|
|
|
|
.w-15 {
|
|
width: 15%;
|
|
}
|
|
|
|
.w-20 {
|
|
width: 20%;
|
|
}
|
|
|
|
.w-25 {
|
|
width: 25%;
|
|
}
|
|
|
|
.w-30 {
|
|
width: 30%;
|
|
}
|
|
|
|
.w-35 {
|
|
width: 35%;
|
|
}
|
|
|
|
.w-40 {
|
|
width: 40%;
|
|
}
|
|
|
|
.w-45 {
|
|
width: 45%;
|
|
}
|
|
|
|
.w-50 {
|
|
width: 50%;
|
|
}
|
|
|
|
.w-55 {
|
|
width: 55%;
|
|
}
|
|
|
|
.w-60 {
|
|
width: 60%;
|
|
}
|
|
|
|
.w-65 {
|
|
width: 65%;
|
|
}
|
|
|
|
.w-70 {
|
|
width: 70%;
|
|
}
|
|
|
|
.w-75 {
|
|
width: 75%;
|
|
}
|
|
|
|
.w-80 {
|
|
width: 80%;
|
|
}
|
|
|
|
.w-85 {
|
|
width: 85%;
|
|
}
|
|
|
|
.w-90 {
|
|
width: 90%;
|
|
}
|
|
|
|
.w-95 {
|
|
width: 95%;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100%;
|
|
}
|
|
/* Heights (1 to 10, then 5 by 5 until 100). */
|
|
.h-1 {
|
|
height: 1%;
|
|
}
|
|
|
|
.h-2 {
|
|
height: 2%;
|
|
}
|
|
|
|
.h-3 {
|
|
height: 3%;
|
|
}
|
|
|
|
.h-4 {
|
|
height: 4%;
|
|
}
|
|
|
|
.h-5 {
|
|
height: 5%;
|
|
}
|
|
|
|
.h-6 {
|
|
height: 6%;
|
|
}
|
|
|
|
.h-7 {
|
|
height: 7%;
|
|
}
|
|
|
|
.h-8 {
|
|
height: 8%;
|
|
}
|
|
|
|
.h-9 {
|
|
height: 9%;
|
|
}
|
|
|
|
.h-10 {
|
|
height: 10%;
|
|
}
|
|
|
|
.h-15 {
|
|
height: 15%;
|
|
}
|
|
|
|
.h-20 {
|
|
height: 20%;
|
|
}
|
|
|
|
.h-25 {
|
|
height: 25%;
|
|
}
|
|
|
|
.h-30 {
|
|
height: 30%;
|
|
}
|
|
|
|
.h-35 {
|
|
height: 35%;
|
|
}
|
|
|
|
.h-40 {
|
|
height: 40%;
|
|
}
|
|
|
|
.h-45 {
|
|
height: 45%;
|
|
}
|
|
|
|
.h-50 {
|
|
height: 50%;
|
|
}
|
|
|
|
.h-55 {
|
|
height: 55%;
|
|
}
|
|
|
|
.h-60 {
|
|
height: 60%;
|
|
}
|
|
|
|
.h-65 {
|
|
height: 65%;
|
|
}
|
|
|
|
.h-70 {
|
|
height: 70%;
|
|
}
|
|
|
|
.h-75 {
|
|
height: 75%;
|
|
}
|
|
|
|
.h-80 {
|
|
height: 80%;
|
|
}
|
|
|
|
.h-85 {
|
|
height: 85%;
|
|
}
|
|
|
|
.h-90 {
|
|
height: 90%;
|
|
}
|
|
|
|
.h-95 {
|
|
height: 95%;
|
|
}
|
|
|
|
.h-100 {
|
|
height: 100%;
|
|
}
|
|
.f-8 {
|
|
font-size: 8px !important;
|
|
}
|
|
|
|
.f-9 {
|
|
font-size: 9px !important;
|
|
}
|
|
|
|
.f-10 {
|
|
font-size: 10px !important;
|
|
}
|
|
|
|
.f-11 {
|
|
font-size: 11px !important;
|
|
}
|
|
|
|
.f-12 {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.f-14 {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.f-16 {
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
.f-18 {
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.f-20 {
|
|
font-size: 20px !important;
|
|
}
|
|
|
|
.f-22 {
|
|
font-size: 22px !important;
|
|
}
|
|
|
|
.f-24 {
|
|
font-size: 24px !important;
|
|
}
|
|
.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.block {
|
|
display: block !important;
|
|
}
|
|
|
|
.inline {
|
|
display: inline !important;
|
|
}
|
|
|
|
.inline-block {
|
|
display: inline-block !important;
|
|
}
|
|
.mx-auto {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.text-start {
|
|
text-align: left;
|
|
}
|
|
|
|
.text-end {
|
|
text-align: right;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.justify-start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.v-align-t {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.v-align-m {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.v-align-b {
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.h-align-l {
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
.h-align-m {
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
.h-align-r {
|
|
margin-left: auto !important;
|
|
}
|
|
|
|
/* Book reader. */
|
|
.reader-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.reader-toolbar {
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border-bottom: 1px solid var(--color-border, #444);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.reader-toolbar #reader-title {
|
|
margin-left: 10px;
|
|
font-size: 1.1rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.reader-toc {
|
|
flex: 0 0 auto;
|
|
max-height: 40%;
|
|
overflow: auto;
|
|
padding: 10px 20px;
|
|
border-bottom: 1px solid var(--color-border, #444);
|
|
}
|
|
|
|
.reader-toc ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.reader-toc > ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.reader-toc a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.reader-content {
|
|
flex: 1 1 auto;
|
|
overflow-y: auto;
|
|
padding: 24px 32px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reader-content img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.reader-content p {
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
/* Music album track list. */
|
|
.tracks-table {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.tracks-table .track-number-column {
|
|
width: 44px;
|
|
}
|
|
|
|
.tracks-table .track-duration-column {
|
|
width: 64px;
|
|
}
|
|
|
|
.track-name-link {
|
|
text-decoration: none;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.track-name-link:visited {
|
|
color: #9AA7B0;
|
|
}
|
|
|
|
.track-name-link:hover {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Music album artwork carousel. */
|
|
.artwork-carousel {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 6px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.artwork-carousel-item {
|
|
flex: 0 0 auto;
|
|
width: 56px;
|
|
height: 56px;
|
|
padding: 0;
|
|
border: 1px solid #555555;
|
|
background-color: #00000033;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.artwork-carousel-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.artwork-carousel-item.selected {
|
|
border-color: #6DCBFE;
|
|
}
|
|
|
|
.artwork-carousel-item:hover {
|
|
border-color: #FFFFFF;
|
|
}
|
|
|
|
/* Audio player bar. This is the application fallback styling: the themes own the final look, and the
|
|
audio player script owns the state. The 'not-shown' and 'full-height' classes on the container, and
|
|
the matching 'audio-player-not-shown' and 'audio-player-full-height' classes on main, are the contract. */
|
|
.audio-player-container {
|
|
position: fixed;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 997;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 50px;
|
|
overflow: hidden;
|
|
background-color: #1C1C1C;
|
|
border-top: 1px solid #444444;
|
|
transition: height 0.4s ease;
|
|
}
|
|
|
|
.audio-player-container.not-shown {
|
|
height: 0px;
|
|
border-top-width: 0px;
|
|
}
|
|
|
|
/* The shuffle scope menu opens above the bar, so the bar lets it overflow while the menu is open. Every other state keeps
|
|
the overflow hidden that collapses the bar to its height. */
|
|
.audio-player-container.is-menu-open {
|
|
overflow: visible;
|
|
}
|
|
|
|
/* The 'hidden' attribute keeps the bar unrendered until the audio player script takes over, so that a page load
|
|
never shows it, not even for a frame while the stylesheets settle. The script removes it once the bar is already
|
|
in its hidden state, so the removal is never visible. */
|
|
.audio-player-container[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* While the audio player applies its initial hidden state, its transitions, and the offset transition of the content
|
|
area, are suppressed, so that a page load never slides the bar or the content into place. The player removes the
|
|
marker once it is initialized, and later show, hide and expand transitions work normally. */
|
|
html.audio-player-initializing main,
|
|
html.audio-player-initializing .audio-player-container {
|
|
transition: none !important;
|
|
}
|
|
|
|
/* The fallback layout has no theme to position the content area, so it reserves room for the bar itself, consuming the
|
|
same classes a theme consumes on main. A themed layout positions main itself and does not carry this class. */
|
|
.application-fallback-layout main {
|
|
padding-bottom: 50px;
|
|
transition: padding-bottom 0.4s ease;
|
|
}
|
|
|
|
.application-fallback-layout main.audio-player-not-shown {
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.audio-player-container.full-height {
|
|
height: calc(100% - 22px); /* full height minus the height of the menu bar */
|
|
}
|
|
|
|
.audio-player-bar {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 50px;
|
|
padding: 0px 10px;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-cover-thumbnail {
|
|
flex: 0 0 auto;
|
|
width: 36px;
|
|
height: 36px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.audio-player-track-name {
|
|
flex: 1 1 20%;
|
|
min-width: 0px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.audio-player-time {
|
|
flex: 0 0 auto;
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.audio-player-progress {
|
|
position: relative;
|
|
flex: 2 1 40%;
|
|
min-width: 40px;
|
|
height: 6px;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
/* A touch drag is claimed by the control instead of the browser, which would otherwise cancel the gesture. */
|
|
touch-action: none;
|
|
}
|
|
|
|
/* The bar exposes three distinct states a theme can style independently: the not yet downloaded track
|
|
('audio-player-progress-undownloaded'), the downloaded but not played part ('audio-player-progress-downloaded'),
|
|
and the played part ('audio-player-progress-played'). The player publishes the start and the width of each state as
|
|
the custom properties below, and this stylesheet consumes them; a theme overrides these rules, or consumes the same
|
|
properties itself, to give each state its own look and the bar its own shape or orientation. */
|
|
.audio-player-progress-played,
|
|
.audio-player-progress-downloaded,
|
|
.audio-player-progress-undownloaded {
|
|
position: absolute;
|
|
top: 0px;
|
|
height: 100%;
|
|
}
|
|
|
|
.audio-player-progress-played {
|
|
left: var(--audio-player-progress-played-start, 0%);
|
|
width: var(--audio-player-progress-played-width, 0%);
|
|
background-color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-progress-downloaded {
|
|
left: var(--audio-player-progress-downloaded-start, 0%);
|
|
width: var(--audio-player-progress-downloaded-width, 0%);
|
|
background-color: #5A6B78;
|
|
}
|
|
|
|
.audio-player-progress-undownloaded {
|
|
left: var(--audio-player-progress-undownloaded-start, 0%);
|
|
width: var(--audio-player-progress-undownloaded-width, 100%);
|
|
background-color: #333333;
|
|
}
|
|
|
|
/* While a seek waits for the range of its target position the bar pulses, so the loading state is visible without a
|
|
separate element. A theme restyles it through the 'is-buffering' class. The pulse is a decoration, so it is dropped
|
|
when the visitor asked for reduced motion; the 'is-buffering' class and the state attribute still mark the state. */
|
|
.audio-player-progress.is-buffering {
|
|
animation: audio-player-progress-buffering 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes audio-player-progress-buffering {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.audio-player-progress.is-buffering {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.audio-player-progress.is-scrubbing {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.audio-player-volume.is-scrubbing {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* The queue controls hold the shuffle scope menu, the skip controls and the repeat toggle. They sit next to the play
|
|
control, so the bar reads as one transport row. */
|
|
.audio-player-queue-controls {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
/* The button class is the current hook; the play-pause and mute class names are kept as aliases so a theme that targets
|
|
those older hooks directly still gets the same box. */
|
|
.audio-player-button,
|
|
.audio-player-play-pause,
|
|
.audio-player-mute {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0px;
|
|
background-color: transparent;
|
|
border: 0px;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-button:disabled,
|
|
.audio-player-button.is-disabled,
|
|
.audio-player-play-pause:disabled,
|
|
.audio-player-play-pause.is-disabled,
|
|
.audio-player-mute:disabled,
|
|
.audio-player-mute.is-disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
/* The skip icons are drawn with CSS, so a theme restyles them without an image. */
|
|
.audio-player-previous-icon,
|
|
.audio-player-next-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 5px 8px 5px 0px;
|
|
border-color: transparent #E6E6E6 transparent transparent;
|
|
}
|
|
|
|
.audio-player-previous-icon {
|
|
box-shadow: -3px 0px 0px #E6E6E6;
|
|
}
|
|
|
|
.audio-player-next-icon {
|
|
border-width: 5px 0px 5px 8px;
|
|
border-color: transparent transparent transparent #E6E6E6;
|
|
box-shadow: 3px 0px 0px #E6E6E6;
|
|
}
|
|
|
|
/* The shuffle and repeat glyphs are text, so a theme can replace them with its own imagery while keeping the hooks. */
|
|
.audio-player-shuffle-control {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.audio-player-shuffle-icon,
|
|
.audio-player-repeat-icon {
|
|
display: block;
|
|
font-size: 17px;
|
|
line-height: 1;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-shuffle.is-active .audio-player-shuffle-icon,
|
|
.audio-player-repeat.is-active .audio-player-repeat-icon {
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-repeat {
|
|
position: relative;
|
|
}
|
|
|
|
.audio-player-repeat-one-badge {
|
|
display: none;
|
|
position: absolute;
|
|
right: 3px;
|
|
bottom: 2px;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-repeat.is-one .audio-player-repeat-one-badge {
|
|
display: block;
|
|
}
|
|
|
|
/* The shuffle scope menu opens above the control, because the bar is anchored to the bottom of the page. */
|
|
.audio-player-shuffle-menu {
|
|
position: absolute;
|
|
right: 0px;
|
|
bottom: calc(100% + 6px);
|
|
z-index: 998;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 150px;
|
|
padding: 4px;
|
|
background-color: #1C1C1C;
|
|
border: 1px solid #444444;
|
|
}
|
|
|
|
.audio-player-shuffle-menu[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.audio-player-shuffle-menu button {
|
|
padding: 6px 8px;
|
|
background: none;
|
|
border: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-shuffle-menu button:hover,
|
|
.audio-player-shuffle-menu button.is-selected {
|
|
background-color: #2A2A2A;
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
/* The play affordance is a right pointing triangle, and the pause affordance two bars, both drawn with CSS
|
|
so that a theme can restyle them without an image. */
|
|
.audio-player-play-pause-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 6px 0px 6px 10px;
|
|
border-color: transparent transparent transparent #E6E6E6;
|
|
}
|
|
|
|
.audio-player-play-pause.is-playing .audio-player-play-pause-icon {
|
|
width: 10px;
|
|
height: 12px;
|
|
border-width: 0px;
|
|
border-right: 3px solid #E6E6E6;
|
|
border-left: 3px solid #E6E6E6;
|
|
}
|
|
|
|
.audio-player-volume-control {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* The speaker cone of the mute toggle is drawn with CSS, so that a theme restyles it without an image. */
|
|
.audio-player-mute-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 5px 8px 5px 0px;
|
|
border-color: transparent #E6E6E6 transparent transparent;
|
|
}
|
|
|
|
.audio-player-mute.is-muted .audio-player-mute-icon {
|
|
border-right-color: #8A8A8A;
|
|
}
|
|
|
|
/* The volume fill is positioned from the custom properties the player publishes, exactly like the progress bar, so a
|
|
theme restyles or reorients it without any inline geometry. touch-action is disabled on both sliders so a touch drag
|
|
is claimed by the control instead of the browser, which would otherwise cancel the gesture mid-drag. */
|
|
.audio-player-volume {
|
|
position: relative;
|
|
width: 80px;
|
|
height: 6px;
|
|
background-color: #333333;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
}
|
|
|
|
.audio-player-volume-level {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: var(--audio-player-volume-start, 0%);
|
|
width: var(--audio-player-volume-width, 100%);
|
|
height: 100%;
|
|
background-color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-volume.is-muted .audio-player-volume-level {
|
|
background-color: #5A6B78;
|
|
}
|
|
|
|
.audio-player-controls {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audio-player-controls button {
|
|
background: none;
|
|
border: none;
|
|
padding: 0px;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-expanded {
|
|
display: none;
|
|
flex: 1 1 auto;
|
|
min-height: 0px;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.audio-player-container.full-height .audio-player-expanded {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.audio-player-cover-image {
|
|
flex: 0 0 auto;
|
|
width: 240px;
|
|
height: 240px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.audio-player-queue {
|
|
flex: 1 1 auto;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
}
|
|
|
|
.audio-player-queue-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid #333333;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-queue-item.is-played .audio-player-queue-item-title {
|
|
color: #8A8A8A;
|
|
}
|
|
|
|
.audio-player-queue-item.is-current .audio-player-queue-item-title {
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-queue-item:focus {
|
|
outline: 1px solid #6DCBFE;
|
|
}
|
|
|
|
.audio-player-queue-item-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|