A "Work-In-Progress" style that aims to fix some issues I have with f95zone
F95Fix by ozzymand
Details
Authorozzymand
LicenseNo License
Categoryf95zone.to
Created
Updated
Size3.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Currently implemented:
- Max width posts
- Max width navbar
Source code
/* ==UserStyle==
@name F95Fix
@namespace github.com/openstyles/stylus
@version 1.1.0
@description A "Work-In-Progress" style that aims to fix some issues I have with f95
@author Me
@preprocessor stylus
@var checkbox wideLatest "Enable wide Latest Games" 0
@var checkbox hideBanner "Hide banner in Latest Games" 0
==/UserStyle== */
@-moz-document regexp(".*f95zone.to\\/threads\\/.*") {
/* Post body */
.p-body-inner {
max-width: 100%;
}
/* Tags and title */
.p-pageWrapper > .p-body-header .pageContent {
max-width: 100%;
}
/* Navbar */
.p-nav-inner{
max-width: 100%;
backdrop-filter: blur(5px);
background: #2426290f;
}
.uix_headerContainer .p-navSticky.is-sticky .p-nav,
.p-nav {
backdrop-filter: blur(10px);
background: #242629c7;
}
.p-sectionLinks{
background: #212426;
}
/* Advertisment links removal (Ai Garbage) */
.p-nav-list > li:nth-child(4),
.p-nav-list > li:nth-child(6),
.p-nav-list > li:nth-child(7) {
visibility: hidden;
width: 0;
}
/* Fix for new expanded navbar (3 elements only) */
.p-nav .p-nav-scroller {
width: 100%;
}
/*
I HAVE NO CLUE WHAT THIS ELEMENT IS, IT'S INVISIBLE
BY DEFAULT, SO IDK WHAT THEY THINKING!!!!!!!!!!
*/
.samAlignCenter.samCustomSize {
all: unset;
height: 0px !important;
width: 0px !important;
}
/* Experimental, not working rn */
/* .notices{
width: 44px;
height: 55px;
transition: height 2s ease;
transition: width 0.5s ease;
}
.notice-content{
height: 0px;
width: 0px;
opacity: 0;
overflow: hidden;
}
.notices:hover{
width: 90%;
height: 55px;
}
.notice-content:hover{
height: 55px;
width: 100%;
opacity: 100%;
} */
}
@-moz-document regexp(".*f95zone.to\\/sam\\/.*") {
/* Parity with post-view navbar */
.p-nav-inner {
max-width: 100%;
backdrop-filter: blur(15px);
background: #2426290f;
}
.uix_headerContainer .p-navSticky.is-sticky .p-nav,
.p-nav {
background: #242629c7;
}
/* Change tag background to lower red */
div#latest-page_items-wrap_inner div.resource-tile a.resource-tile_link div.resource-tile_hover-wrap div.resource-tile_tags span {
background: #923232;
}
/* Announcement banner
Blurred because it never changes anyway */
if hideBanner {
.notices {
visibility: hidden !important;
height: 0;
width: 0;
}
/* Old method of hiding, with special hover show */
/* .notices {
width: 96%;
z-index: 6;
filter: blur(5px) opacity(0);
transition: ease-in-out 100ms;
}
.notices:hover,
.notices.notices--block .notice:hover {
z-index: 8;
filter: blur(0) opacity(1);
} */
}
/* Maximize game list grid view to 100% of the window */
if wideLatest {
.p-body-inner,
main#latest-page_main-wrap {
width: 99.5%;
max-width: 100%;
}
div#latest-page_sub-nav {
position: fixed;
top: 0;
padding-top: 65px;
z-index: 999;
}
div#latest-page_items-wrap div.sub-nav_paging {
visibility: hidden;
height: 0;
width: 0;
}
}
if wideLatest and hideBanner{
.notices{
height: 10px;
}
}
if wideLatest and !hideBanner{
.notices{
padding-top: 40px;
}
}
}