MediaWiki:Common.css

Материал из Энциклосамсонии
Перейти к навигацииПерейти к поиску

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

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
.pmargin p {
	margin: 0;
}

.pmargin figure {
	margin: 0;
}

.mainpage-catalogue ul {
	columns: 2;
}

.mainpage-container .mw-heading {
	margin-top: 0px;
	padding-top: 0px;
}

.mainpage-container .mw-changeslist-legend {
	display: none;
}

.mainpage-warning .mw-heading {
	border-bottom: 1px solid IndianRed;
}
a[href$="/Instalol"],
a[href$=":Instalol"] {
    color: #6FD80A;
}

#p-logo {
	margin-bottom: 0;
	margin-top: 30px;
}

.pmargin > .CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem {
	display: none;
}

.pmargin .CategoryTreePageBullet {
	display: none;
}

.pmargin .CategoryTreeChildren {
	margin-left: 7px;
}

.pmargin > .CategoryTreeTag > .CategoryTreeSection > .CategoryTreeChildren {
	display: grid;
	grid-template-columns: auto auto;
}

.mainpage-yellow {
	border: 1px solid yellow;
	background-color: LightYellow;
}

.mainpage-yellow .mw-heading2 {
	border-bottom-color: Khaki;
}

.mainpage-red {
	border: 1px solid red;
	background-color: LightPink;
}

.mainpage-red .mw-heading2 {
	border-bottom-color: IndianRed;
}

.mainpage-yellow > .CategoryTreeTag > .CategoryTreeSection > .CategoryTreeChildren > .CategoryTreeSection {
	width: fit-content;
}

.mainpage-green {
	border: 1px solid green;
	background-color: #d8FBd8;
}

.mainpage-green .mw-heading2 {
	border-bottom-color: #b8FBb8;
}

.button-template {
  display: inline-block;
  padding: 8px 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: white;
  background: linear-gradient(45deg, #4CAF50, #45A049);
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  user-select: none;
}

.button-template:hover {
  background: linear-gradient(45deg, #45A049, #4CAF50);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: white;
}

.button-template:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
}

.my-button {
  display: inline-block;
  padding: 0.5em 1.2em;
  background-color: #2a7ae2;
  color: white;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(42, 122, 226, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}
.my-button:hover {
  background-color: #195bb5;
  box-shadow: 0 4px 12px rgba(25, 91, 181, 0.8);
}

.profile-user-group {
	background-color: rgba(127, 127, 127, 0.15);
}

#profile-top {
	border-bottom: none;	
}

#sidebar {
	margin-top: 25px;
}

.mwe-popups-extract {
	line-height: normal;
}

.mwe-popups-extract::after {
	display: none;
}

.mwe-popups-container {
	font-size: 127%;
}

.mwe-popups {
	font-size: 100%;
}

.mw-parser-output .welcome-box {
    position: relative;
    background: linear-gradient(-45deg, #0f0a1c, #1d1133, #0d1b2a, #112233);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    border: 2px solid #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    border-radius: 14px;
    padding: 24px;
    overflow: visible;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mw-parser-output .welcome-box::before,
.mw-parser-output .welcome-box::after {
    position: absolute;
    font-size: 32px;
    z-index: 10;
    animation: balloonWobble 4s ease-in-out infinite alternate;
}

.mw-parser-output .welcome-box::before {
    content: "🎈🎈";
    top: -25px;
    left: -15px;
}

.mw-parser-output .welcome-box::after {
    content: "🎈🎈";
    top: -25px;
    right: -15px;
    animation-delay: 0.7s;
}


@keyframes balloonWobble {
    0% { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-8px) rotate(4deg); }
}