Нет описания правки |
SHEGARE (обсуждение | вклад) (попытка починить tooltip) |
||
| Строка 55: | Строка 55: | ||
53px 0px | 53px 0px | ||
); | ); | ||
} | } | ||
| Строка 104: | Строка 76: | ||
} | } | ||
@media screen and (min-width:851px) { | @media screen and (min-width:851px) { | ||
.mobile { | .mobile { | ||
| Строка 115: | Строка 83: | ||
} | } | ||
.tooltip { | |||
position: relative; | |||
display: inline | |||
} | |||
.tooltiptext { | |||
position: absolute; | |||
min-width: 240px; | |||
max-width: 100%; | |||
left: -240px; | |||
right: -240px; | |||
top: 125%; | |||
margin-left: auto; | |||
margin-right: auto; | |||
z-index: 99; | |||
padding: 22px; | |||
pointer-events: none; | |||
visibility: hidden; | |||
transition: all 0.1s; | |||
border: 1px solid #3366cc; | |||
border-radius: 1.4rem; | |||
background-color: #27272E | |||
} | |||
.tooltip:hover>.tooltiptext { | |||
visibility: visible; | |||
opacity: 1; | |||
} | } | ||
@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; | position: fixed; | ||
width: 80vw; | |||
top: 40vh; | |||
left: 0; | |||
margin: 0 auto; | |||
right: 0; | |||
} | |||
.mobilefont { | |||
font-size: 80% | |||
} | |||
} | } | ||
.hover_img_special { | .hover_img_special { | ||
Версия от 23:36, 19 августа 2024
* { 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
);
}
.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
}
@media screen and (min-width:851px) {
.mobile {
display: none
}
}
.tooltip {
position: relative;
display: inline
}
.tooltiptext {
position: absolute;
min-width: 240px;
max-width: 100%;
left: -240px;
right: -240px;
top: 125%;
margin-left: auto;
margin-right: auto;
z-index: 99;
padding: 22px;
pointer-events: none;
visibility: hidden;
transition: all 0.1s;
border: 1px solid #3366cc;
border-radius: 1.4rem;
background-color: #27272E
}
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 1;
}
@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;
}
}