User:Dr.Bryan/UWStyle.css

@import url("//community.fandom.com/load.php?mode=articles&only=styles&articles=User:Dr.Bryan/MinimizedBalancedEditors.css"); @import url("//community.fandom.com/load.php?mode=articles&only=styles&articles=User:Dr.Bryan/CodeHighlight.css");


 * focus {outline: none;}

/* -- Отступы -- */ .page__main {padding: 20px 15px 0 25px;} .page__right-rail { border-radius: 0; padding: 20px 20px 0; } .page__right-rail.is-rail-hidden {width: 0 !important;}

/* Left sticky buttons */ @media only screen and (min-width: 1024px) { .page-side-tools { opacity: .3; transition: .5s; } .page-side-tools:hover { opacity: 1; } }

/* wds-list */ .fandom-community-header .wds-list {background: none !important;} .fandom-community-header__local-navigation li {padding: 0 !important;} .fandom-community-header__local-navigation li a {padding: 8px 10px !important;} .fandom-community-header__local-navigation .wds-dropdown__content, .fandom-community-header__local-navigation .wds-dropdown-level-2__content {padding: 5px !important;} .wds-dropdown-level-2__content {position: fixed !important; top: -1px !important;}

/* Тогглер правой колонки */ .right-rail-toggle svg {fill: var(--theme-link-color); transition: color .3s;} .right-rail-toggle:hover svg {fill: var(--theme-link-color--hover);} .right-rail-toggle {z-index: 2;} .page__right-rail.is-rail-hidden .right-rail-toggle { background-color: rgba(var(--theme-page-dynamic-color-1--rgb),.1) !important; }

/* Хэдер */ .page__main h1 {font-size: 28px; line-height: normal; font-weight: 400;} .page-header {margin: 0 0 10px; line-height: normal; border-bottom: 1px solid var(--theme-border-color);} .page-header__top {align-items: center; font-size: 14px;} .page-header__actions, .page-header__categories>:last-child {padding: 0;} .page-header__languages {margin: 0; font-weight: normal !important;} .page-header__languages .wds-dropdown__toggle { margin: 0 20px 0 10px; font-weight: 400; transition: .3s; color: var(--theme-link-color); text-transform: capitalize; } .theme-fandomdesktop-light :is(.page-header__action-button,.page-header__languages .wds-dropdown__toggle) { color: var(--theme-page-accent-mix-color); --wds-text-button-label-color: var(--theme-page-accent-mix-color); } .theme-fandomdesktop-light :is(.page-header__action-button,.page-header__languages .wds-dropdown__toggle):hover { --wds-text-button-label-color: var(--wds-text-button-label-color--hover); color: var(--wds-text-button-label-color--hover) !important; }

/* В инфобоксах */ p:empty, p.empty-p + p {display: none;} /* На прочих страницах (например, где вместо инфобокса только картинка) */ .ns-0:not(.mainpage):not(.action-history) .page-content .mw-parser-output > p:first-of-type, .ns-0:not(.mainpage):not(.action-history) .page-content .mw-parser-output > p+p {margin: 0;} .page-content {line-height: 1.5;} .page-content .mw-parser-output > p, .page-content .mw-parser-output > h2, .page-content .mw-parser-output > h3 {margin: 0 0 .5em !important; padding: 0; line-height: 1.5;}

/* -- Фиксит отступы Быстрых ссылок (из подключенного скрипта QuickLinks) -- */ padding: 0; max-height: 32px; overflow: hidden; transition: .5s; }
 * 1) cql-module {
 * 1) cql-module:hover {max-height: 280px;}

.cql-module-header {margin: 0 !important;} .cql-module-content {display: flex; margin: 10px 0;} .cql-listing {padding: 0px 10px;} .cql-listing-entry { padding: 0; margin: 0; line-height: normal; }

/* -- Заголовок страницы в редакторе -- */ .ve-fd-header__label {display: none;} .ve-fd-header {justify-content: center; padding: 0 170px 5px;}

/* Хайлайт */ .mw-highlight { background: transparent; } .mw-parser-output pre { white-space: pre-wrap; word-break: break-word; background-color: rgba(255,238,6,0.06) !important; border: 1px dashed var(--theme-border-color); padding: 8px !important; line-height: 18px !important; } .mw-parser-output pre span {font-weight: normal !important;}

pre .p {color: var(--theme-page-text-color) !important;} pre .nc {color: var(--pygments-c) !important;} pre .p+.p+.nn,.c+.p+.nn {color: var(--pygments-nl) !important;} pre .nt,.mi,.mf {color: var(--pygments-ne) !important;} pre .nf,.nb {color: var(--pygments-gd) !important;} pre .k {color: var(--pygments-sr) !important;} pre .kt {color: var(--pygments-cp) !important;} pre .kc {color: var(--pygments-na) !important;} pre .nd,.kp,.cp,.bp {color: var(--pygments-go) !important;} pre .o+.kc,.kc+.o,.n+.o,.p+.o,.o+.n {color: var(--pygments-m) !important;border-bottom: 1px dotted #ccc;}

/* == Вики-деятельность, заливка правок == */ .mw-special-Recentchanges { --main-color: #52c12a; --maim-color-bg: rgb(189 32 45 / 5%); --user-color-bg: rgb(140 0 255 / 5%); --new-color-bg: rgb(0 191 255 / 5%); --mediawiki-color-bg: rgb(189 32 45 / 5%); --template-color-bg: rgb(148 19 71 / 8%); --delete-color-bg: rgb(179 0 0 / 3%); --protect-color-bg: rgb(178 212 1 / 10%); --project-color: green; }

.wds-tabs.activity-tabs a { color: #3a3a3a; } .wds-tabs__tab.wds-is-current{ box-shadow: inset 0 -2px 0 0 #3a3a3a !important; }

table.mw-enhanced-rc { margin: 5px 0; padding: 0px 0px 5px 0; background-image: linear-gradient(to right, #d5ffb738, transparent); border-left-color: var(--main-color); }

table.mw-enhanced-rc::before { left: 10px; top: 10px; } span.mw-collapsible-toggle.mw-collapsible-arrow.mw-enhancedchanges-arrow.mw-enhancedchanges-arrow-space.mw-collapsible-toggle-expanded, .mw-icon-arrow-collapsed, .mw-collapsible-arrow.mw-collapsible-toggle-collapsed { left: 35px; top: 10px; }

.mw-changeslist-line-inner { padding-left: 40px !important; }

.mw-changeslist .mw-tag-marker, .mw-changeslist .mw-title, span.mw-changeslist-line-inner-articleLink { margin-bottom: 0px !important; }

/* правки */ table.mw-enhanced-rc.mw-changeslist-ns-8:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns8-'], table[class^='mw-changeslist-ns8-'], table.mw-enhanced-rc.mw-changeslist-ns-9:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns9-'], table[class^='mw-changeslist-ns9-'] { background-image: linear-gradient(to right, var(--maim-color-bg), transparent); }

/* Участник */ table.mw-enhanced-rc.mw-changeslist-ns-2:not(.mw-changeslist-src-mw-new):not(.mw-collapsible):not(.mw-changeslist-log-block), table[class*=' mw-changeslist-ns2-'], table[class^='mw-changeslist-ns2-'], table.mw-enhanced-rc.mw-changeslist-ns-3:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns3-'], table[class^='mw-changeslist-ns3-'], table.mw-enhanced-rc.mw-changeslist-ns-1202:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns1202-'], table[class^='mw-changeslist-ns1202-'] { border-left-color: var(--user-color); background-image: linear-gradient(to right, var(--user-color-bg), transparent); }

/* Новые страницы */ table.mw-enhanced-rc.mw-changeslist-src-mw-new, table.mw-enhanced-rc.mw-changeslist-ns-6, table[class*=' mw-changeslist-ns6-'], table[class^='mw-changeslist-ns6-'], table.mw-enhanced-rc.mw-changeslist-ns-7, table[class*=' mw-changeslist-ns7-'], table[class^='mw-changeslist-ns7-'], table.mw-enhanced-rc.mw-changeslist-log-upload { border-left-color: var(--new-color); background-image: linear-gradient(to right, var(--new-color-bg), transparent); }

/* MediaWiki */ table.mw-enhanced-rc.mw-changeslist-ns-8:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns8-'], table[class^='mw-changeslist-ns8-'], table.mw-enhanced-rc.mw-changeslist-ns-9:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns9-'], table[class^='mw-changeslist-ns9-'] { border-left-color: var(--mediawiki-color); background-image: linear-gradient(to right, var(--mediawiki-color-bg), transparent); }

/* Шаблоны */ table.mw-enhanced-rc.mw-changeslist-ns-10:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns10-'], table[class^='mw-changeslist-ns10-'], table.mw-enhanced-rc.mw-changeslist-ns-11:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns11-'], table[class^='mw-changeslist-ns11-'], table.mw-enhanced-rc.mw-changeslist-ns-828:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns828-'], table[class^='mw-changeslist-ns828-'], table.mw-enhanced-rc.mw-changeslist-ns-829:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns1829-'], table[class^='mw-changeslist-ns829-'] { border-left-color: var(--template-color); background-image: linear-gradient(to right, var(--template-color-bg), transparent); }

/* Защищена */ table.mw-enhanced-rc.mw-changeslist-log-move, table.mw-enhanced-rc.mw-changeslist-log-protect { border-left-color: var(--protect-color); background-image: linear-gradient(to right, var(--protect-color-bg), transparent); }

/* Удалена */ table.mw-enhanced-rc.mw-changeslist-log-delete, table.mw-enhanced-rc.mw-changeslist-log-block { border-left-color: var(--delete-color); background-image: linear-gradient(to right, var(--delete-color-bg), transparent); }

/* Project */ table.mw-enhanced-rc.mw-changeslist-ns-4:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns4-'], table[class^='mw-changeslist-ns4-'], table.mw-enhanced-rc.mw-changeslist-ns-5:not(.mw-changeslist-src-mw-new):not(.mw-collapsible), table[class*=' mw-changeslist-ns5-'], table[class^='mw-changeslist-ns5-'] { border-left-color: var(--project-color); }

/* -- "Откатить" в свежих правках -- */ .mw-changeslist-line-inner-rollback { opacity: 0.2; position: absolute; right: 20px; bottom: 0; transition: 0.5s; } .mw-changeslist-line-inner-rollback:hover { opacity: 1; transition: 0.5s; }

/* -- Фикс цвета имени и коммента -- */ .mw-changeslist-line-inner-logEntry .comment, .mw-changeslist-line-inner-logEntry .comment a { color: gray; line-height: 15px; font-weight: normal !important; text-shadow: none; font-size: 14px; }