Last active
February 19, 2024 08:43
-
-
Save imDaniX/1e8f228dbe13c37e48da189303002be0 to your computer and use it in GitHub Desktop.
Wide RuBukkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Wide RuBukkit | |
@namespace imDaniX:rubukkit | |
@updateURL https://gist.github.com/imDaniX/1e8f228dbe13c37e48da189303002be0/raw/wide-rubukkit.user.css | |
@homepageURL https://rubukkit.org/threads/wide-rubukkit-walks-ctil-dlja-stylus.175623/ | |
@version 1.0.22 | |
@preprocessor stylus | |
@description Простенький стиль для обновления визуала rubukkit.org | |
@var text maxWidth "Максимальная ширина основного окна" 1200px | |
@var checkbox newLogo "Использовать логотип от RBWide?" 0 | |
@var checkbox shadows "Добавить тени логотипу и основному окну?" 1 | |
@var checkbox hideBanners "Скрыть плашки разработчиков и переводчиков?" 1 | |
@var checkbox hideNews "Скрыть объявления сайта с главной страницы?" 0 | |
@var checkbox hideAds "Скрыть партнерский материал?" 1 | |
@var checkbox hideRss "Скрыть кнопки RSS?" 1 | |
@author imDaniX | |
==/UserStyle== */ | |
@-moz-document domain("rubukkit.org") { | |
#content > div:nth-child(1) { | |
max-width: maxWidth !important; | |
} | |
#navigation { | |
max-width: maxWidth !important; | |
} | |
.footer { | |
margin-bottom: 24px; | |
} | |
.footer > div:nth-child(1) { | |
max-width: maxWidth !important; | |
} | |
#searchBar { | |
max-width: maxWidth !important; | |
} | |
#QuickSearch { | |
right: 20px; | |
top: -25px; | |
} | |
.navTabs { | |
border-radius: 0; | |
border-color: #2b485c; | |
padding: 0 35px; | |
} | |
.footer .pageContent { | |
border-bottom-right-radius: 0; | |
border-bottom-left-radius: 0; | |
} | |
#content > div:nth-child(1) > div:nth-child(1) { | |
if (shadows !important) { | |
box-shadow: 0px 0px 10px #0000002e; | |
} | |
} | |
#logo > a:nth-child(1) > img:nth-child(2) { | |
if (newLogo !important) { | |
width: 400px; | |
height: 59px; | |
box-sizing: border-box; | |
padding-left: 400px; | |
background: url(https://i.ibb.co/K90knW8/RuBukkit.png) left top no-repeat; | |
background-size: contain; | |
} | |
if (shadows !important) { | |
filter: drop-shadow(3px 2px 2px #0000003b); | |
} | |
} | |
if (hideBanners !important) { | |
.userBanner.translator.wrapped { | |
display: none; | |
} | |
.userBanner.developer.wrapped { | |
display: none; | |
} | |
.username .style7 { | |
color: #1061b3; | |
} | |
.username .style5 { | |
color: #1061b3; | |
} | |
} | |
#forums .categoryText > .nodeTitle > a { | |
font-weight: bold; | |
font-size: 10pt; | |
if (shadows !important) { | |
text-shadow: 2px 1px 3px #00000030; | |
} | |
} | |
.navTabs .navTab.selected .tabLinks { | |
background: linear-gradient(180deg, #74c1ee 10px, #2096e1 30px); | |
} | |
.navTabs .navTab.selected .navLink { | |
background: linear-gradient(180deg, #9fc9e2 1px, #74c1ee 30px); | |
} | |
.nodeList .categoryStrip { | |
background: linear-gradient(180deg, #74c1ee 10px, #2096e1 30px); | |
border-bottom: #1061b3; | |
padding: 8px 10px; | |
} | |
.discussionList .sectionHeaders { | |
background: linear-gradient(180deg, #74c1ee 10px, #2096e1 30px); | |
border-bottom: #1061b3; | |
border-radius: 5px; | |
} | |
.discussionListItem.visible.sticky > .listBlock.posterAvatar { | |
background-color: rgb(255, 255, 200) | |
} | |
.discussionListItem.visible.sticky > .stats { | |
background-color: rgb(255, 255, 200) | |
} | |
.discussionList .stats { | |
width: 155px; | |
} | |
.panel.Notice.DismissParent.notice_4 { | |
display: none; | |
} | |
.panel.Notice.DismissParent.notice_5 { | |
display: none; | |
} | |
.PageNav > span.pageNavHeader { | |
display: none; | |
} | |
#rightContentBox { | |
display: none; | |
} | |
.sharePage.infoBlock.section > .secondaryContent { | |
display: none; | |
} | |
if (hideAds !important) { | |
.footerLegal { | |
display: none; | |
} | |
.sharePage { | |
display: none; | |
} | |
} | |
if (hideRss !important) { | |
.tinyIcon.feedIcon { | |
display: none; | |
} | |
} | |
.rubadv-post { | |
display: none; | |
} | |
.choosers { | |
display: none; | |
} | |
} | |
@-moz-document url("http://rubukkit.org/"), url("http://www.rubukkit.org/"), url("https://rubukkit.org/"), url("https://www.rubukkit.org/") { | |
if (hideNews !important) { | |
#rubukkit-org\.1 { | |
display: none; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment