MediaWiki:Common.css
Страница интерфейса MediaWiki
Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.law-td {
text-decoration: underline;
}
.law-td:hover {
cursor: pointer;
color: #1d4e8a;
}
.law-selected {
outline: 2px solid #529ff1;
}
.blink {
font-weight: bold;
color: red;
animation: blink 0.3s infinite alternate;
}
@keyframes blink {
from { color: darkred; }
to { color: red; }
}
/* Зеленый, желтый, оранжевый, красный, темно-красный */
.td-bg1 { background-color: #d9ead3; }
.td-bg2 { background-color: #fff2cc; }
.td-bg3 { background-color: #f9cb9c; }
.td-bg4 { background-color: #f4cccc; }
.td-bg5 { background-color: #e89b9b; }
.th-bg1 { background-color: #93c47d; }
.th-bg2 { background-color: #ffd966; }
.th-bg3 { background-color: #e69138; }
.th-bg4 { background-color: #e06666; }
.th-bg5 { background-color: #cc0000; }
/* Вертикальный табс */
.vtabs {
display: flex;
width: 100%;
border: 1px solid #ccc;
border-radius: 6px;
overflow: hidden;
}
.vtabs-buttons {
display: flex;
flex-direction: column;
width: 220px;
background-color: #e6ebf6;
border-right: 1px solid #ccc;
}
.vtabs-button {
padding: 12px 16px;
cursor: pointer;
font-weight: bold;
color: #333;
border-bottom: 1px solid #ddd;
transition: background 0.2s, color 0.2s;
}
.vtabs-button:hover {
background-color: #d5dae6;
}
.vtabs-button.active {
background-color: #eef2f9;
color: #2a6ddf;
border-left: 4px solid #2a6ddf;
}
.vtabs-content-wrapper {
flex-grow: 1;
padding: 20px;
background: #eef2f9;
}
.vtabs-content {
display: none;
}
.vtabs-content.active {
display: block;
}
/* Сворачиваемая панель */
.colstr-panel {
border: 1px solid #ccc;
border-radius: 2px;
margin: 10px 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.colstr-header {
background-color: #e6ebf6;
padding: 10px 14px;
cursor: pointer;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 5px 5px 0 0;
transition: background-color 0.1s;
}
.colstr-header:hover {
background-color: #d5dae6;
}
.colstr-content {
padding: 10px 14px;
display: none;
animation: fadeIn 0.3s ease-in-out;
}
.colstr-panel.open .colstr-content {
display: block;
}
.colstr-panel .arrow {
transition: transform 0.3s;
}
.colstr-panel.open .arrow {
transform: rotate(180deg);
}
.colstr-panel.open .colstr-header {
border-bottom: 3px solid #4a90e2;
background-color: #d5dae6;
}
@keyframes fadeIn {
from {
opacity: 0.5;
}
to {
opacity: 1;
}
}
/* Анимированный фон */
@keyframes animateBackground {
from {
background-position: 0 0;
}
to {
background-position: -960px 0;
}
}
.space-bg,
.stars-bg,
.specs-bg {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-repeat: repeat;
}
.space-bg {
background-image: url("../images/6/60/Space-bg.png");
animation: animateBackground 120s linear infinite;
z-index: -7;
}
.stars-bg {
background-image: url("../images/2/22/Stars-bg.png");
animation: animateBackground 60s linear infinite;
z-index: -6;
}
.specs-bg {
background-image: url("../images/3/38/Specs-bg.png");
animation: animateBackground 30s linear infinite;
z-index: -4;
}
/* Главная страница */
.main-panel {
display: flex;
gap: 20px;
}
.main-panel > div {
border-radius: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 50%;
}
.mp-server-panel {
justify-content: space-around;
background: oklch(0.1884 0.0291 207.77 / 53.83%);
border: 1px solid rgba(255, 255, 255, 0.3);
overflow: hidden;
backdrop-filter: blur(2px);
}
.mp-btn-category {
background: oklch(0.1884 0.0291 207.77 / 53.83%);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 15px;
overflow: hidden;
backdrop-filter: blur(2px);
}
.mp-btn-title {
background-color: rgba(255, 255, 255, 0.1);
padding: 10px;
font-weight: bold;
text-align: center;
backdrop-filter: blur(5px);
}
.mp-btn-row {
display: flex;
gap: 10px;
padding: 15px;
flex-wrap: wrap;
}
.mp-btn {
flex: 1;
text-align: center;
}
.mp-server-info {
margin-bottom: 20px;
padding: 20px;
backdrop-filter: blur(2px);
}
.mp-servers {
display: flex;
flex-direction: column;
gap: 15px;
padding: 20px;
backdrop-filter: blur(2px);
}
.mp-server {
text-align: left;
border-radius: 12px;
padding: 15px;
backdrop-filter: blur(2px);
}
.mp-server .title {
font-size: 1.1em;
margin-bottom: 8px;
}
.mp-server .desc {
font-size: 0.95em;
color: #d1d5db;
}
.mp-server .links {
margin-top: 12px;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.server-link {
padding: 6px 10px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 8px;
text-decoration: none;
color: white;
font-size: 0.9em;
}
.server-link:hover {
background-color: rgba(255, 255, 255, 0.2);
}
/* Стрелочка */
a.back-to-top {
display: none;
width: 70px;
height: 70px;
text-indent: -9999px;
position: fixed;
z-index: 999;
left: 100px;
bottom: 20px;
background-color: darkred;
background: url(https://wiki.ss13-bluemoon.ru/images/4/41/Arrowtop.png) 0% 0%/70px
70px no-repeat;
background-position: 43%;
background-position-x: center;
border-radius: 30px;
}
a.back-to-top:hover {
background-color: transparent;
}
/* Панель для гайдов */
.guide {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.guide-panel {
flex: 0 1 calc(50% - 10px);
box-sizing: border-box;
border-radius: 10px;
border: 2px solid;
background-size: 100% auto !important;
overflow: hidden;
display: flex;
}
.guide-panel .overlay {
flex: 1;
backdrop-filter: blur(5px);
background-color: rgba(0, 0, 0, 0.1);
}
.guide-panel .header {
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: flex-start;
}
.guide-panel .title {
padding: 2px;
padding-inline: 30px;
border: 2px solid;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
border-top: none;
font-size: 1.1em;
}
.guide-panel .items {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 5px;
padding: 5px;
}
.guide-panel .item {
flex: 0 1 calc(33% - 5px);
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
border: 2px solid;
border-radius: 10px;
padding: 2px;
padding-left: 5px;
}
.guide-panel .logo {
padding: 5px;
border: 2px solid;
border-top: none;
}
.guide-bg-med {
background: url(https://wiki.ss13-bluemoon.ru/images/1/17/Guide-bg-med.png) center top no-repeat; !important
}
.guide-bg-cargo {
background: url(https://wiki.ss13-bluemoon.ru/images/2/28/Guide-bg-cargo.png) center top no-repeat; !important
}
.guide-bg-engi {
background: url(https://wiki.ss13-bluemoon.ru/images/d/dd/Guide-bg-engi.png) center top no-repeat; !important
}
.guide-bg-rnd {
background: url(https://wiki.ss13-bluemoon.ru/images/a/a2/Guide-bg-rnd.png) center top no-repeat; !important
}
.guide-bg-sec {
background: url(https://wiki.ss13-bluemoon.ru/images/9/9a/Guide-bg-sec.png) center top no-repeat; !important
}
.guide-bg-service {
background: url(https://wiki.ss13-bluemoon.ru/images/2/2f/Guide-bg-service.png) center top no-repeat; !important
}
.guide-bg-misc {
background: url(https://wiki.ss13-bluemoon.ru/images/4/47/Guide-bg-misc.png) center top no-repeat; !important
}
.guide-bg-antag {
background: url() center top no-repeat; !important
}