User:Dr.Bryan/CodeHighlight.css

/* == Вики-деятельность, заливка правок == */ .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); }

/* - Основное - */ .WikiaPage .CodeMirror-wrap pre { border: 1px dashed rgb(var(--theme-article-text-color--rgb),.1) !important; background-color: transparent !important; line-height: 20px !important; }

/* - Основной шаблон - */ .cm-mw-template-ground { background-color: rgba(255,201,0,0.05) !important; background-image: none; color: var(--theme-article-text-color) !important; } .cm-mw-template-ground.cm-mw-template-argument-name { color: #007590 !important; } .cm-mw-template-ground.cm-mw-pagename { color: var(--theme-link-color) !important; } /* - Шаблон в шаблоне - */ .cm-mw-template2-ground { color: #80478e !important; background-color: hsla(289,100%,65%,0.05) !important; } .cm-mw-template2-ground.cm-mw-template-argument-name { color: #007590 !important; } .cm-mw-template2-ground.cm-mw-template { color: var(--accent-text-color) !important; }

.cm-mw-section-1 span, .cm-mw-section-2 span, .cm-mw-section-3 span, .cm-mw-section-4 span { background-color: rgba(76,89,236,0.13) !important; color: var(--accent-text-color) !important; } .cm-mw-ext-ref { background-color: rgba(3,141,0,0.05) !important; color: #1b7700 !important; } .cm-mw-ext-gallery { background-color: rgba(120,0,141,0.07); color: #8f1bc6 !important; }

/*.cm-mw-htmltag-bracket, .cm-mw-htmltag-name, .cm-mw-exttag-bracket, .cm-mw-exttag-name { }*/

/* - Без понятия, что это. Узнать. - */ /* Фон для кода модульных инфобоксов */ .portable-infobox pre.cm-mw-exttag { color: #859900 !important; background: #FFFCF2 !important; } /* Подсветка строки кода модульных инфобоксов */ .portable-infobox pre.cm-mw-exttag.CodeMirror-line:hover {background: #fcf5e0 !important;}

/* Подсветка всех строк кода */ .portable-infobox pre.CodeMirror-line:hover {background: #fffcf4 !important;}