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

Материал из Энциклосамсонии
Перейти к навигацииПерейти к поиску
 
(не показано 235 промежуточных версий 3 участников)
Строка 1: Строка 1:
.pmargin > p {
.pmargin p {
margin: 0;
margin: 0;
}
}


.pmargin > figure {
.pmargin figure {
margin: 0;
margin: 0;
}
}
Строка 11: Строка 11:
}
}


.mainpage-recent li {
.mainpage-container .mw-heading {
height: fit-content;
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: #0400ff;
}
 
#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-file-description:hover img {
overflow: hidden;
transform: scale(1.1);
}
 
.mw-file-description:hover::after {
background-image: url(/w/resources/assets/easteregg.png) !important;
height: 15px !important;
}
 
.mw-parser-output .welcome-box {
    position: relative;
    overflow: visible !important;
    contain: none !important;
}
 
.mw-parser-output .welcome-box::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    height: 75px;
    background-image: url('/w/resources/assets/balloons.png'), url('/w/resources/assets/balloons.png');
    background-position: 0 0, 100px 3px;
    background-size: auto 100%, auto 100%;
    background-repeat: repeat-x, repeat-x;
    z-index: 999;
    mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
 
.mw-parser-output .welcome-box::after {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    height: 75px;
    background-image: url('/w/resources/assets/balloons.png'), url('/w/resources/assets/balloons.png');
    background-position: left top, right top;
    background-size: auto 100%, auto 100%;
    background-repeat: no-repeat, no-repeat;
    z-index: 1000;
}
 
.citizen-menu__card-content .citizen-menu__heading {
    background: linear-gradient(90deg, #ff4d4d, #ffff4d, #4dff4d, #4dffff, #4d4dff, #ff4dff, #ff4d4d) !important;
    background-size: 100% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
   
    animation: rainbowHueShift 4s linear infinite !important;
    animation-duration: 4s !important;
    animation-iteration-count: infinite !important;
}
 
@media (prefers-reduced-motion: reduce) {
    .citizen-menu__card-content .citizen-menu__heading {
        animation: rainbowHueShift 4s linear infinite !important;
        animation-duration: 4s !important;
    }
}
.page-Komputersem.action-view .mw-parser-output a:not(.image):not(.mw-file-description),
.mw-parser-output .welcome-box a:not(.image):not(.mw-file-description) {
    background: linear-gradient(90deg, #ff4d4d, #ffff4d, #4dff4d, #4dffff, #4d4dff, #ff4dff, #ff4d4d) !important;
    background-size: 100% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    vertical-align: top !important;
    font-weight: bold !important;
    animation: rainbowHueShift 4s linear infinite !important;
    animation-duration: 4s !important;
    animation-iteration-count: infinite !important;
}
 
@media (prefers-reduced-motion: reduce) {
    .page-Komputersem.action-view .mw-parser-output a:not(.image):not(.mw-file-description),
    .mw-parser-output .welcome-box a:not(.image):not(.mw-file-description) {
        animation: rainbowHueShift 4s linear infinite !important;
        animation-duration: 4s !important;
    }
}
 
@keyframes rainbowHueShift {
    0% { filter: hue-rotate(0deg) drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)); }
    100% { filter: hue-rotate(360deg) drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)); }
}
}

Текущая версия от 18:24, 30 августа 2026

.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: #0400ff;
}

#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-file-description:hover img {
overflow: hidden;
transform: scale(1.1);
}

.mw-file-description:hover::after {
	background-image: url(/w/resources/assets/easteregg.png) !important;
	height: 15px !important;
}

.mw-parser-output .welcome-box {
    position: relative;
    overflow: visible !important;
    contain: none !important;
}

.mw-parser-output .welcome-box::before {
    content: "";
    position: absolute;
    top: -25px; 
    left: -25px;
    right: -25px;
    height: 75px; 
    background-image: url('/w/resources/assets/balloons.png'), url('/w/resources/assets/balloons.png');
    background-position: 0 0, 100px 3px;
    background-size: auto 100%, auto 100%;
    background-repeat: repeat-x, repeat-x; 
    z-index: 999;
    mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}

.mw-parser-output .welcome-box::after {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    height: 75px;
    background-image: url('/w/resources/assets/balloons.png'), url('/w/resources/assets/balloons.png');
    background-position: left top, right top;
    background-size: auto 100%, auto 100%;
    background-repeat: no-repeat, no-repeat;
    z-index: 1000;
}

.citizen-menu__card-content .citizen-menu__heading {
    background: linear-gradient(90deg, #ff4d4d, #ffff4d, #4dff4d, #4dffff, #4d4dff, #ff4dff, #ff4d4d) !important;
    background-size: 100% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    
    animation: rainbowHueShift 4s linear infinite !important;
    animation-duration: 4s !important;
    animation-iteration-count: infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .citizen-menu__card-content .citizen-menu__heading {
        animation: rainbowHueShift 4s linear infinite !important;
        animation-duration: 4s !important;
    }
}
.page-Komputersem.action-view .mw-parser-output a:not(.image):not(.mw-file-description),
.mw-parser-output .welcome-box a:not(.image):not(.mw-file-description) {
    background: linear-gradient(90deg, #ff4d4d, #ffff4d, #4dff4d, #4dffff, #4d4dff, #ff4dff, #ff4d4d) !important;
    background-size: 100% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    vertical-align: top !important;
    font-weight: bold !important;
    animation: rainbowHueShift 4s linear infinite !important;
    animation-duration: 4s !important;
    animation-iteration-count: infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .page-Komputersem.action-view .mw-parser-output a:not(.image):not(.mw-file-description),
    .mw-parser-output .welcome-box a:not(.image):not(.mw-file-description) {
        animation: rainbowHueShift 4s linear infinite !important;
        animation-duration: 4s !important;
    }
}

@keyframes rainbowHueShift {
    0% { filter: hue-rotate(0deg) drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)); }
    100% { filter: hue-rotate(360deg) drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)); }
}