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

Страница интерфейса MediaWiki
Нет описания правки
Метка: ручная отмена
Нет описания правки
Строка 8: Строка 8:
     image-rendering: pixelated;                /* Universal support since 2021  */
     image-rendering: pixelated;                /* Universal support since 2021  */
}
}
.flex-container {
display: flex;
    align-items: flex-start;
}
.flex-image {
flex-shrink: 0;
    margin-right: 20px;
}
.flex-image-description {
flex-grow: 1;
}


.uplinkbuybutton {
.uplinkbuybutton {

Версия от 16:48, 18 января 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.tabs-label {
	background-color: #19191d !important;
	color: lightgrey;
}

img {
    image-rendering: pixelated;                 /* Universal support since 2021   */
}

.flex-container {
	display: flex;
    align-items: flex-start;
}

.flex-image {
	flex-shrink: 0; 
    margin-right: 20px;
}

.flex-image-description {
	flex-grow: 1;
}


.uplinkbuybutton {
    background: #464966;
    width: 12%;
    height: 9%;
    color: white;
    text-align:center;
    font-weight: bolder;
    float: right;
    clip-path: 
    polygon(
        0% 0%, 
        0% 60%,
        15% 100%,
        100% 100%, 
        100% 40%,
        85% 0%
    );
}

.tooltip{
  position: relative;
  display: inline;
}

.tooltiptext {
    position: absolute;
    display: initial;
    z-index: 99999;
    width: 295px;
    left: -120px;
    top: 42px;
    padding: 5px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.2s;
    border: 1px solid #465298;
    background-color: #27272E;
}

.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 0.98;
}

.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	text-align: left
}

.wikitable>tr>th,
.wikitable>tr>td,
.wikitable>*>tr>th,
.wikitable>*>tr>td {
	border: 1px solid black;
}

.wikitable>*>tr>th {
	background: #27272e;
	border: 1px solid black;
	color: white
}

.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 0.98;
}
@media screen and (min-width:851px) {
	.mobile {
		display: none
	}
	
}

@media screen and (max-width:850px) {
	.nomobile {
		display: none
	}
	.tooltip{
  position: static;
}
	.tooltiptext{
		box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
        position: fixed;
	    width: 80vw;
	    top: 40vh;
	    left: 0;
	    margin: 0 auto;
	    right: 0;
	}
	.mobilefont{
		font-size: 80%
	}
}

.hover_img_special {
    top: 0;
    left: 0;
    display: none
}

.img_special:hover .hover_img_special {
    display: inline;
}

.img_special:hover .img_spec {
    display: none;
}

.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
	border-color: #fc3;
	background-color: #fef6e7
}

html body.mediawiki .mbox-small {
	clear: right;
	float: right;
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em
}

.messagebox.small {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em
}

.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background-color: #f8eaba
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	float: left;
	text-align: left
}

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
	vertical-align: top
}

.infobox-label,
.infobox-data,
.infobox th,
.infobox td {
	text-align: left
}

.infobox .infobox-above,
.infobox .infobox-title,
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center
}

.infobox-title,
.infobox caption {
	padding: 0.2em
}

.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center
}

.infobox .infobox-navbar {
	text-align: right
}

.ambox td.mbox-imageright {
	padding: 2px 0.5em 2px 0
}

.mw-default-size {
	background-color: #21212600 !important;
	border-color: black !important;
}

.mw-default-size img {
	border-color: black !important;
}

.mw-default-size figcaption {
	background-color: #21212600 !important;
	border-color: black !important;
}
.mw-halign-right {
	background-color: #27272E00 !important;
	border-color: black !important;
}

.mw-halign-right img {
	border-color: black !important;
}

.mw-halign-right figcaption {
	background-color: #27272E00 !important;
	border-color: black !important;
}
.mw-halign-left {
	background-color: #27272E00 !important;
	border-color: black !important;
}

.mw-halign-left img {
	border-color: black !important;
}

.mw-halign-left figcaption {
	background-color: #27272E00 !important;
	border-color: black !important;
}
.mw-halign-center {
	background-color: #27272E00 !important;
	border-color: black !important;
}

.mw-halign-center img {
	border-color: black !important;
}

.mw-halign-center figcaption {
	background-color: #27272E00 !important;
	border-color: black !important;
}

th.navbox-group {
	white-space: nowrap;
	text-align: right
}

.mw-parser-output .mw-collapsible-toggle {
	font-weight: normal;
	text-align: right;
	padding-right: 0.2em;
	padding-left: 0.2em
}

td.mbox-image {
	border: none;
	padding: 2px 0 2px 0.9em;
	text-align: center
}

td.mbox-imageright {
	border: none;
	padding: 2px 0.9em 2px 0;
	text-align: center
}