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

Страница интерфейса MediaWiki
(Отмена правки 8710, сделанной Dantes (обсуждение))
Метка: отмена
Нет описания правки
Строка 487: Строка 487:


/*Данте Морпехи*/
/*Данте Морпехи*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111111;
    color: #e0e0e0;
}
.header {
    text-align: center;
    padding: 30px 20px;
    background-color: #1B1B1B;
    border-bottom: 2px solid #A9A9A9;
}
.header-logo {
    width: 100px;
    height: auto;
}
.header-title {
    font-size: 36px;
    color: white;
    margin: 15px 0;
}
.header-subtitle {
    font-size: 22px;
    color: #A9A9A9;
}
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}
.card {
    background-color: #1B1B1B;
    border-radius: 8px;
    margin: 15px;
    padding: 20px;
    width: 250px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.card-title {
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
.card-list {
    list-style: none;
    padding: 0;
}
.card-list li {
    font-size: 16px;
    margin: 8px 0;
}
.card-list li a {
    color: #e0e0e0;
    text-decoration: none;
}
.card-list li a:hover {
    color: #ff3e3e;
    text-decoration: underline;
}
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1B1B1B;
    border-top: 2px solid #A9A9A9;
    color: #A9A9A9;
    margin-top: 20px;
}


/*Данте Морпехи*/
/*Данте Морпехи*/

Версия от 05:48, 25 августа 2024

/*Данте код главного меню*/
.standard-link td,
.standard-link th {
    vertical-align: middle;
    padding: 4px;
}

.standard-link a {
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #888;
    border-radius: 4px;
    padding: 4px;
    margin: 2px;
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: all 0.3s ease;
}

.standard-link a:hover {
    background-color: #666;
    color: #fff;
    border-color: #fff;
}

/* Стиль для выделения элемента при наведении */
.standard-link .highlight {
    background-color: #666;
    color: #fff;
    border-color: #fff;
}

.standard-link .highlight img {
    border-color: #fff;
}
/*Данте код главного меню*/

* { font-family: Arial }

body {
    color: #FAFAFA;
}

.tabs-label {
	background-color: #19191d !important;
	color: lightgrey;
}

.tabber__tab:visited {
    color: white;
}

.tabber__tab[aria-selected='true']:visited {
    color: #44cbf5;
}

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: 62px;
    height: 27px;
    color: white;
    text-align:center;
    font-weight: bolder;
    float: right;
    padding-top: 4px;
    clip-path: 
    polygon(
        0px 0px, 
        0px 18px,
        9px 27px,
        62px 27px, 
        62px 10px,
        53px 0px
    );
}

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

#p-namespaces {
    float: left;
    width: 100%;
}

p {
    margin-bottom: 1.5em;
}

.infobox-table {
	z-index: 3 !important;
	overflow: hidden;
	width: 400px;
	max-width: 100%;
	margin-bottom: 1rem;
	padding-bottom: 20px !important;
	background: hsl(205,25%,15%);
	border-radius: 8px;
	border-spacing: 0;
	font-size: 0.875rem;
	text-align: left;
	display: block;
}

.infobox-table tr:not(#infobox-table-img-bg) {
	display: flex;
	margin-top: 10px;
}

.infobox-table th,
.infobox-table td {
	padding: 0 15px !important;
}

.infobox-table th,
.infobox-table tr > td:first-child {
	font-weight: 600;
}

.infobox-table tr > td:first-child {
	color: hsl(205,25%,65%);
	font-size: 0.8125rem;
	font-weight: normal;
	letter-spacing: 0.75px;
}

.infobox-table th,
th.infobox-table-name {
	color: hsl(205,80%,95%);
}

.infobox-table th {
	padding-top: 15px !important;
	border-top: 1px solid;
	border-color: rgba(255,255,255,0.05);
	font-size: 1rem;
	text-align: left !important;
}

th.infobox-table-name {
	padding-top: 0 !important;
	border: 0 !important;
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.4rem !important;
	line-height: 1.4;
}

.infobox-table-img {
	background: rgba(255,255,255,0.07000000000000001); /* var(--background-color-quiet--hover) */
}

.infobox-table .infobox-table-img {
	padding: 0 !important;
}

.infobox-table-img img {
	max-width: 100%;
	height: auto !important;
}

/* Neutral background for all transprent SVG */
.infobox-table-img img[ src$='.svg' ] {
	background: #eaecf0;
}

.infobox-table-img a.image {
	background: 0 !important;
}

.infobox-table .image:hover img {
	transform: scale(1.1);
}

.infobox-table ul,
.infobox-table ol {
	margin-top: 0;
}

.infobox-button {
	display: block;
	width: 100%;
}

.infobox-button > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

@media only screen and (max-width: 720px) {
	.infobox-table {
		margin-right: auto;
		margin-left: auto;
	}
}


/*Данте Морпехи*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111111;
    color: #e0e0e0;
}

.header {
    text-align: center;
    padding: 30px 20px;
    background-color: #1B1B1B;
    border-bottom: 2px solid #A9A9A9;
}

.header-logo {
    width: 100px;
    height: auto;
}

.header-title {
    font-size: 36px;
    color: white;
    margin: 15px 0;
}

.header-subtitle {
    font-size: 22px;
    color: #A9A9A9;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    background-color: #1B1B1B;
    border-radius: 8px;
    margin: 15px;
    padding: 20px;
    width: 250px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.card-title {
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    font-size: 16px;
    margin: 8px 0;
}

.card-list li a {
    color: #e0e0e0;
    text-decoration: none;
}

.card-list li a:hover {
    color: #ff3e3e;
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #1B1B1B;
    border-top: 2px solid #A9A9A9;
    color: #A9A9A9;
    margin-top: 20px;
}

/*Данте Морпехи*/