MediaWiki:Common.css

Страница интерфейса MediaWiki

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
@font-face {
  font-family: 'Noto Sans Light';
  font-style: normal;
  font-weight: 100;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2'),
       url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff) format('woff'),
       url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.ttf) format('truetype');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff2) format('woff2'),
       url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff) format('woff'),
       url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.ttf) format('truetype');
}

body {
    background: linear-gradient(135deg, #1a1a1f 0%, #252530 100%);
    color: #e8e8e8;
    font-family: 'Noto Sans Light', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.mw-body {
    background: rgba(35, 35, 42, 0.95);
    border: 1px solid #404050;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    padding: 2em 3em;
    margin: 1em;
    box-sizing: border-box;
}

code {
    background: linear-gradient(135deg, #2d2d35 0%, #35353d 100%);
    border: 1px solid #404045;
    color: #b8e6ff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 90%;
    font-family: 'Consolas', 'Monaco', monospace;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

blockquote {
    overflow: hidden;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #77c1d9;
    background: linear-gradient(90deg, rgba(119, 193, 217, 0.15) 0%, rgba(119, 193, 217, 0.05) 100%);
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-style: italic;
}

img {
    image-rendering: optimizeSpeed;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

a,
a:visited,
.vector-menu-portal .vector-menu-content li a,
.vector-menu-tabs li a,
body.skin--responsive #p-cactions li a,
.vector-menu-portal .vector-menu-content li a:visited,
.vector-menu-tabs li a:visited,
body.skin--responsive #p-cactions li a:visited {
    color: #77c1d9;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover,
a:visited:hover {
    color: #9dd7ea;
    text-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

a.extiw:visited,
a.external:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited,
body.skin--responsive #p-cactions li a.external:visited {
    color: #5599cc;
}

.wikitable {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 1px solid #404050;
    color: white;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5em 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    border: 1px solid #404050;
    padding: 0.8em 1em;
    transition: background-color 0.2s ease;
}

.wikitable > * > tr > th {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    color: #b8e6ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.wikitable > * > tr:hover > td {
    background: rgba(119, 193, 217, 0.1);
}

.wikitableKZ {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.navbox {
    border: 1px solid #404050;
    width: 100%;
    clear: both;
    font-size: 90%;
    text-align: center;
    padding: 0;
    margin: 1.5em auto 0;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.infobox {
    border: 1px solid #404050;
    border-spacing: 0;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    color: white;
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0;
    float: right;
    clear: right;
    font-size: 90%;
    line-height: 1.6em;
    width: 24em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.infobox tr {
    transition: background-color 0.2s ease;
}

.infobox tr:hover {
    background: rgba(119, 193, 217, 0.08);
}

#simpleSearch {
    background: linear-gradient(135deg, #27272e 0%, #2f2f36 100%);
    border: 2px solid #404050;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#simpleSearch:focus-within {
    border-color: #77c1d9;
    box-shadow: 0 0 0 3px rgba(119, 193, 217, 0.2);
}

#searchInput {
    color: white;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
}

#searchInput::placeholder {
    color: #888;
    opacity: 0.8;
}

.vector-menu-tabs {
    background: transparent;
}

.vector-menu-tabs li {
    background: linear-gradient(135deg, #212126 0%, #27272e 100%);
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
    transition: all 0.3s ease;
    border: 1px solid #404050;
    border-bottom: none;
}

.vector-menu-tabs li:hover {
    background: linear-gradient(135deg, #27272e 0%, #2f2f36 100%);
    transform: translateY(-2px);
}

.vector-menu-tabs .selected {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    border-color: #77c1d9;
    box-shadow: 0 -2px 8px rgba(119, 193, 217, 0.3);
}

.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
    color: #b8e6ff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
body.skin--responsive .portlet,
body.skin--responsive .pBody {
    background: linear-gradient(135deg, #212126 0%, #27272e 100%);
    color: #e8e8e8;
    border: 1px solid #404050;
    border-radius: 8px;
    margin-bottom: 1em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mw-editform #wpTextbox1,
textarea {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 2px solid #404050;
    color: white;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    padding: 1em;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.mw-editform #wpTextbox1:focus,
textarea:focus {
    border-color: #77c1d9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(119, 193, 217, 0.2);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background: linear-gradient(135deg, #27272e 0%, #35353d 100%);
    border: 2px solid #404050;
    color: white;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 0.8em 1.5em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    border-color: #77c1d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.tooltip {
    position: relative;
    display: inline;
    cursor: help;
}

.tooltiptext {
    position: absolute;
    display: block;
    z-index: 99999;
    width: 320px;
    left: -140px;
    top: 45px;
    padding: 1em;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #77c1d9;
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    font-size: 13px;
    line-height: 1.5;
}

.tooltiptext::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #77c1d9;
}

.tooltip:hover > .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateY(-5px);
}

::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: #1f1f25;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #404050 0%, #505060 100%);
    border-radius: 8px;
    border: 2px solid #1f1f25;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #505060 0%, #606070 100%);
}

::-webkit-scrollbar-corner {
    background: #1f1f25;
}

h1, h2, h3, h4, h5, h6 {
    color: #b8e6ff;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #404050;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
}

h1 {
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

pre {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border: 1px solid #404050;
    border-radius: 8px;
    padding: 1em;
    overflow-x: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Consolas', 'Monaco', monospace;
}

.mw-highlight {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#pt-createaccount,
#site-tools,
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
#t-upload {
    display: none;
}

.reference {
    background-color: transparent;
}

.references li:target,
sup.reference:target {
    background: rgba(119, 193, 217, 0.2);
    border-radius: 4px;
}

.mw-body-content {
    text-align: justify;
    text-justify: inter-word;
}

.vector-legacy-sidebar {
    background: rgba(33, 33, 38, 0.8);
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
}

#footer {
    background: linear-gradient(135deg, #1a1a1f 0%, #252530 100%);
    border-top: 2px solid #404050;
    border-radius: 8px 8px 0 0;
    margin-top: 2em;
    padding: 1.5em;
    color: #b8b8b8;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}