Skip to content

Z-Lib Darkened by ozzymand

Screenshot of Z-Lib Darkened

Details

Authorozzymand

LicenseNo License

Category1lib.ph

Created

Updated

Size9.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A darkened version of Z-Lib's private links.

Notes

WARNING: TECHNICALLY NOT FINISHED, THERE ARE HARDCODED COLORS I CANNOT CHANGE WITH CSS, PAIR THIS WITH DARK READER FOR BEST EXPERIENCE!

A darkened version of Z-Lib's private links.

If you look at the code, I am sorry...

Source code

/* ==UserStyle==
@name         Z-Lib Darkened
@version      20230508.20.36
@namespace    ?
==/UserStyle== */

@-moz-document domain("1lib.ph") {
:root {
    --search-back: #383838;
    --search-front: #dadada;
    --border: #565656;
    --link: #49afd0;
    --link-hover: #224c77;
    --dropdown-text: #ccc;
    --dropdown-hover-text: #ccc;
    --dropdown-hover: #5b5b5b;
}

body {
    background: #000;
}

.super-puper-main-container {
    background: #1f1f1f;
}

/* Various tweaks to the booklists elements */
.readlist-items-vertical .readlist-item {
    color: white;
    background: #2f2f2f;
    box-shadow: 4px 6px 8px #111;
}

.readlist_item--editors-choice {
    box-shadow: 4px 6px 8px #adff2f2e, inset 0 0 0 2px var(--editor_choice-outline_color, greenyellow) !important;
}

.readlist-tabs .tab-item {
    border-color: #5f5f5f;
}

.page-title__name {
    color: #afafaf;
}

.readlist_item--editors-choice__label {
    border-radius: 8px 0 8px 0;
}

/* Make top boxes N Books and N Articles be rounded =) */
#colorBoxes > ul:nth-child(1) > li:nth-child(1) {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

#colorBoxes > ul:nth-child(1) > li:nth-child(2) {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Enable fixed navbar */
.itemFullText {
    padding-top: 54px;
}

.super-puper-main-container > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
    position: fixed;
    background: #131313;
    top: 0;
    z-index: 19999;
}

/* NavBar menu dropdown fix */
.menu-upd {
    background-color: #292929;
}
/* 
    If anyone is reading this, I am sorry, I cannot make the X button 
    work. It is some JS fuckery I cannot figure out, my sincierest
    apologies towards those who find discomfort in the white X background :(
*/
.menu-cats__item-title {
    color: #cdcaca;
}
.menu-item__text {
    color: #d5d5d5;
}

/* Fix the title double line height and author name chop */
.readlist-info .author {
    width: auto;
}

.title.text-overflow {
    height: 18px;
    width: 90px;
}

/* Fix the input fields */
.zlibPageMybooklists__searchField {
    border-color: var(--border);
    background: var(--search-back);
    color: var(--search-front);
}

/* Continuation of input fields: Select languages bars' dropdown */
.multiselect-input {
    border-color: var(--border);
    background-color: var(--search-back);
    color: var(--search-front);
}

.multiselect-group-list-wrap__patch {
    background: var(--search-back);
}

.multiselect-delimiter {
    visibility: hidden;
}

.multiselect-group-list {
    background-color: var(--search-back);
    color: var(--search-front);
}

.multiselect-item-wrap {
    color: #ccc;
}
.multiselect-item-wrap:hover {
    background-color: #656565;
    color: #fff;
}

.multiselect-footer {
    background: #1c1c1c;
    border-color: #414040;
}

.multiselect-item_selected {
    background: #454444;
}

.z-btn:disabled {
    background: #1f1f1f;
    border-color: #2f2f2f;
}

.z-btn:disabled:hover {
    background: #ff000024;
    border-color: #2f2f2f;
}

.z-btn-secondary {
    background: #adff2f3b;
    color: white;
    border-color: #4f4f4f;
}

.z-btn-secondary:hover {
    background: #adff2fcf;
    color: black;
    border-color: #4f4f4f;
}

/* Most popular dropdown */
.zlibPageMybooklists__filterItemSelect {
    background-color: #3f3f3f;
    color: black;
}

/* Main Page Fixes */
.b-search-input {
    background: var(--search-back);
}

.b-search-input .input {
    box-shadow: inset 0px 6px 4px -6px #161616;
}

.b-search-input .input input {
    color: var(--search-front)
}

#searchModeTabs li.active,
#searchModeTabs li.active a {
    background: var(--search-back);
    color: var(--search-front);
}

.b-search-input .button input,
.b-search-input .button button {
    background: var(--search-back);
    color: var(--search-front);
}
.b-search-input .button button:hover {
    background: #565656;
    color: #fff;
}

/* 
                            Book View Page fixes 
*/
.book-comments-info {
    color: #ccc;
}

#sendToEmailButtonBox > button:nth-child(1) {
    background-color: var(--search-back);
    color: var(--search-front);
    border-color: var(--border);
}

/* 
        -- Send to kindle 
*/
.dropdown-widget {
    background-color: var(--search-back);
    color: var(--search-front);
}

.dropdown-widget.easy-widget .dropdown-widget__section__content--inset {
    background-color: var(--search-back);
    color: var(--search-front);
}

.dropdown-widget.easy-widget .dropdown-widget__section__content--inset a {
    color: var(--link);
}

.dropdown-widget.easy-widget .dropdown-widget__section__content--inset a:hover {
    color: #2e7b93;
}

/* 
        -- Send to ...  
*/
.details-buttons-container .book-details-button .btn-default {
    background: var(--search-back);
    color: var(--search-front);
    border-color: var(--border);
}

.details-buttons-container .book-details-button .btn-group.open .btn-default {
    background: var(--search-back);
    color: var(--search-front);
    border-color: var(--link);
}

#shareToButtonBox .dropdown-menu .share-to-widget {
    background: var(--search-back);
    color: var(--search-front);
}

#shareToButtonBox .share-to-widget.menu-content .menu-row {
    color: var(--dropdown-text);
}

.share-to-widget.menu-content .menu-row:hover {
    background: var(--dropdown-hover);
}

.details-buttons-container__divider {
    border-color: var(--border);
}

/* 
        -- Paperback ... 
*/
.menu-content_paperback,
.categoriesFilter__button,
.categoriesFilter__dialog,
.categoriesFilter__dialogMain,
.categoriesFilter__listItem,
.search-input-container .search-input,
.cBoxLarge,
.cOlEAo,
.z-content,
.z-content h2,
.z-content h3,
div.blogContentBox,
div.blogContentBox .blogText p,
.white-block-container,
.white-block-container h2,
.winners-uploaders,
.winners-editors,
.winners-moderators,
div.tab-content,
.rating-row,
.itemFullText,
.dstats-content .d-filter input,
.z-modal-content,
.z-modal-content__main > :not(:first-child),
.suggestion-book-container {
    background: var(--search-back);
    color: var(--search-front);
    border-color: var(--border);
}

div.faq h5 {
    color: #fff;
}

.menu__link_paperback:hover {
    background: #5b5b5b;
    color: var(--search-front);
}

.dropdown-menu {
    background: var(--search-back);
}

.text--hint a:hover {
    color: var(--link);
}

/* 
        -- Something wrong?  
*/
.dropdown-menu .divider,
.navbar-nav .divider {
    background-color: var(--border);
}

ul.dropdown-menu a {
    color: var(--search-front);
}

ul.dropdown-menu a:hover {
    background: var(--dropdown-hover);
    color: var(--dropdown-hover-text);
}

#bookDescriptionBox {
    color: #cbcbcb;
}

.property_value {
    color: #cbcbcb;
}

.property_value a {
    color: var(--link);
}

.property_value a:hover {
    color: var(--link-hover);
}


/* 
        Comments
*/
div.jscommentsCommentBox {
    background: var(--search-back);
    color: var(--dropdown-text);
    box-shadow: 0px 1px 3px #434141;
}

#jscommentsNamefield {
    background: var(--search-back);
    color: var(--dropdown-text);
    border-color: var(--border);
}

#jscommentsTextarea {
    background: var(--search-back);
    color: var(--dropdown-text);
    border-color: var(--border);
}

.jscommentsFormHelp {
    border-color: var(--border);
}

/* 
                    Misc I am too lazy to sort
*/
.zlibPageMybooklists__create,
.zlibPageMybooklists__viewButton {
    background-color: var(--search-back);
}

.carousel-cell-inner .cover-wrapper {
    background: #1f1f1f;
}

.carousel-cell-inner {
    border-color: var(--border);
}

.carousel-buttons-inside .carousel-left,
.carousel-buttons-inside .carousel-right {
    background: #161616 center no-repeat;
}

.carousel-buttons-inside .carousel-left {
    background-image: url('/img/icon-arrow-triagle-left-gray.svg');
}
.carousel-buttons-inside .carousel-right {
    background-image: url('/img/icon-arrow-triagle-right-gray.svg');
}
.categoriesFilter__listItemContainer.categoriesFilter__listItemContainer_state_active,
.categoriesFilter__listItemContainer,
.categoriesFilter__listLink,
.categoriesFilter__searchFieldInput {
    background: var(--search-back);
    color: var(--search-front);
    border-color: var(--border);
}
.categoriesFilter__listItemContainer.categoriesFilter__listItemContainer_state_active,
.categoriesFilter__listItemContainer:hover,
.categoriesFilter__listLink:hover {
    background: var(--dropdown-hover);
    color: var(--dropdown-hover-text);
    border-color: var(--border);
}
a.categoriesFilter__resetButton:visited,
a.categoriesFilter__resetButton:focus,
a.categoriesFilter__resetButton,
a.categoriesFilter__listLink:visited,
a.categoriesFilter__listLink:focus,
a.categoriesFilter__listLink {
    color: var(--dropdown-hover-text);
}
.categoriesFilter__dialogFooter {
    border-color: var(--border);
}
.categoriesFilter__resetButton {
    background: var(--dropdown-hover);
    border: var(--border);
}


#searchResultBox {
    background: var(--search-back);
    border-color: var(--border);
    color: var(--search-front);
}
.resItemBox .bookDetailsBox div.bookProperty .property_value {
    color: var(--search-front);
}
.resItemBox h3 a:link,
.resItemBox h3 a:visited {
    color: #fff;
}
#searchResultBox .divider {
    border-color: var(--border);
}

#categoriesContainer a {
    color: var(--link);
}
#categoriesContainer a:hover {
    color: var(--link-hover);
}
.fiction-type a.active {
    color: #b6e1ff;
}

.ieACKQ,
.dz-message__top {
    background: #0104;
}
.fMRwZM,
.fMRwZM:first-child,
.bdGHDG {
    border-color: var(--border);
}
.fPjEGq,
.kanLLe,
.lgLzQw,
.hsqvSJ,
.dIVhIT,
.jGFqyy,
.iswgvP {
    background-color: var(--search-back);
    color: var(--search-front);
}

/* 
                                Footer Fix 
*/
#footer {
    border-color: var(--border);
}
}

Reviews

No reviews yet.