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

Материал из Телемапедии
 
Нет описания правки
Метка: ручная отмена
 
(не показано 25 промежуточных версий этого же участника)
Строка 2: Строка 2:


.mtitle-container {
.mtitle-container {
    width: 100%;
     display: flex;
     display: flex;
}
}
Строка 11: Строка 12:
.mtitle-caption-cell {
.mtitle-caption-cell {
     flex-grow: 1;
     flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 20px;
}
#p-logo {
    width: 10em;
    height: 220px;
}


#p-logo a,
#p-logo a:hover {
display: block;
height: 220px;
width: 10em;
background-repeat: no-repeat;
background-position: 35% 50% !important;
text-decoration: none;
}
#mw-panel #p-logo + .portal {
background-image: none;
margin-top: 0.5em;
}
.blinking-advert {
box-sizing: border-box;
text-align: center;
-webkit-transition: all 0.45s ease-in-out;
-moz-transition: all 0.45s ease-in-out;
transition: all 0.45s ease-in-out;
}
@keyframes oto_coledj {
from { color: #f22; }
10% {color: #ff227d;}
40% { color: #000; }
80% {color: #d03909;}
100% { color: #f22; }
}
.blinking-advert-blink {
animation: oto_coledj 0.8s linear 0s infinite;
}
}
.blinking-advert:hover { transform: scale(1.05); }

Текущая версия от 00:06, 28 февраля 2023

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

.mtitle-container {
    width: 100%;
    display: flex;
}

.mtitle-image-cell {
    width: 400px;
}

.mtitle-caption-cell {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 20px;
}

#p-logo {
    width: 10em;
    height: 220px;
}

#p-logo a,
#p-logo a:hover {
	display: block;
	height: 220px;
	width: 10em;
	background-repeat: no-repeat;
	background-position: 35% 50% !important;
	text-decoration: none;
}

#mw-panel #p-logo + .portal {
	background-image: none;
	margin-top: 0.5em;
}


.blinking-advert {
box-sizing: border-box;
text-align: center;
-webkit-transition: all 0.45s ease-in-out;
-moz-transition: all 0.45s ease-in-out;
transition: all 0.45s ease-in-out;
}
@keyframes oto_coledj {
from { color: #f22; }
10% {color: #ff227d;}
40% { color: #000; }
80% {color: #d03909;}
100% { color: #f22; }
}
.blinking-advert-blink {
animation: oto_coledj 0.8s linear 0s infinite;
}
.blinking-advert:hover { transform: scale(1.05); }