Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

MediaWiki:Common.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: ручная отмена
Строка 266: Строка 266:
     animation: animateBackground 30s linear infinite;
     animation: animateBackground 30s linear infinite;
     z-index: -4;
     z-index: -4;
}
.pageframe {
overflow: hidden;
display: flex;
flex-direction: column;
background-color: var(--tmp-10);
box-shadow: var(--template-shadow--small) -1px var(--tmp-50);
border-radius: var(--border-radius-medium);
}
.pageframe hr {
margin: 0.5rem 0;
background-color: var(--tmp-25);
}
.pageframe-header {
display: flex;
align-items: center;
min-height: 1.75rem;
gap: 0.5rem;
padding: 2px 0.5rem 0;
background-color: var(--tmp-75);
color: var(--color-white);
border-bottom: 2px solid hsl(from var(--tmp-100) h s calc(l + 5));
}
.pageframe-header-icon {
    line-height: 1em;
}
.pageframe-header-text {
flex: 1;
font-weight: bold;
text-align: center;
line-height: 1.1rem;
padding: 0.25em 0;
}
.pageframe-content {
    padding: 0.5rem;
    border: 1px solid var(--tmp-25);
    border-top: unset;
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
}
}

Версия от 17:35, 11 августа 2025

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.law-td {
  text-decoration: underline;
}

.law-td:hover {
  cursor: pointer;
  color: #1d4e8a;
}

.law-selected {
   outline: 2px solid #529ff1;
 }


/* Зеленый, желтый, оранжевый, красный, темно-красный */ 

.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; }
}

/* Секретная буква жопа */

.pashalka-jopa-trigger {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  cursor: pointer;
  opacity: 0;
  z-index: 9999;
}

.pashalka-jopa .jopa {
  color: gold;
  font-size: 100px;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}


/* Панель с информацией о сервере */
.server-tab {
  border-radius: 10px;
  margin: 10px;
  display: flex;
  justify-content: right;
  overflow: hidden;
}
.server-tab hr {
  margin-bottom: 2px;
  margin-top: 2px;
}
.server-tab-btn {
  width: 35%;
  font-size: large;
  background-color: #406ac9;
  justify-content: center;
  align-items: center;
  display: flex;
}
.server-tab-btn:hover {
  background-color: #547fe3;
  cursor: pointer;
}
.server-tab-content {
  width: 100%;
  padding: 15px;
}


.server-tab-content-blue {
  width: 100%;
  padding: 15px;
  background-color: rgba(33, 141, 168, 0.45);
}
.server-tab-content-white {
  width: 100%;
  padding: 15px;
  background-color: rgba(91, 99, 109, 0.45);
}
.server-tab-content-red {
  width: 100%;
  padding: 15px;
  background-color: rgba(124, 35, 33, 0.45);
}

.server-tab-btn-blue {
  width: 35%;
  font-size: large;
  background-color: rgba(33, 141, 168, 0.45);
  justify-content: center;
  align-items: center;
  display: flex;
}
.server-tab-btn-white {
  width: 35%;
  font-size: large;
  background-color: rgba(91, 99, 109, 0.45);
  justify-content: center;
  align-items: center;
  display: flex;
}
.server-tab-btn-red {
  width: 35%;
  font-size: large;
  background-color: rgba(124, 35, 33, 0.45);
  justify-content: center;
  align-items: center;
  display: flex;
}

/* Анимированный фон */
@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;
}