MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
>Arrow768 Нет описания правки |
Flaco (обсуждение | вклад) (common/edits) |
||
Строка 1: | Строка 1: | ||
/* CSS | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
.tooltip{ | .tooltip{ | ||
position: relative; | position: relative; | ||
Строка 14: | Строка 9: | ||
z-index: 2; | z-index: 2; | ||
width: 250px; | width: 250px; | ||
padding: | padding: 20px; | ||
visibility: hidden; | visibility: hidden; | ||
opacity: 0; | opacity: 0; | ||
Строка 22: | Строка 17: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background-color: #ffdd66; | background-color: #ffdd66; | ||
} | |||
.tooltiptable { | |||
position: absolute; | |||
display: block; | |||
z-index: 2; | |||
max-width:600px; | |||
width:max-content; | |||
padding: 10px; | |||
top:11pt; | |||
right:-55px; | |||
visibility: hidden; | |||
opacity: 0; | |||
white-space: normal; | |||
text-align: left; | |||
transition: all 0.2s; | |||
border: 1px solid #666; | |||
background-color: #ff6666; | |||
} | } | ||
Строка 27: | Строка 40: | ||
visibility: visible; | visibility: visible; | ||
opacity: 1; | opacity: 1; | ||
} | |||
.tooltip:hover>.tooltiptable { | |||
visibility: visible; | |||
opacity: 1; | |||
} | |||
/* hide the "Retrieved from" message */ | |||
.printfooter { | |||
display: none; | |||
} | |||
div.tabcontent{ | |||
display:none | |||
} | |||
div.tabcontent.current{ | |||
display:block | |||
} | |||
div.switchtab.label.current{ | |||
color:#000; | |||
background-color:#00FF00 | |||
} | |||
div.divbutton:target{ | |||
cursor: pointer; | |||
display: none; | |||
width: auto; | |||
height: auto; | |||
} | |||
div.divbutton:target::before{ | |||
cursor: pointer; | |||
width: 80%; | |||
height: auto; | |||
} | |||
.kaskadavionics_menu_button a{ | |||
display:block; | |||
text-align:center; | |||
line-height:19px !important; | |||
font-size:13px; | |||
color:#00FF00 !important; | |||
text-decoration:none | |||
} | |||
.kaskadavionics_menu_button a:hover{ | |||
text-decoration:none; | |||
display:block; | |||
background:rgba(0,256,0,1) none repeat scroll 0% 0%; | |||
line-height:19px !important; | |||
font-size:13px; | |||
color:#000 !important | |||
} | |||
img { | |||
image-rendering: optimizeSpeed; | |||
image-rendering: -webkit-optimize-contrast; | |||
image-rendering: optimize-contrast; | |||
image-rendering: -moz-crisp-edges; | |||
image-rendering: -o-crisp-edges; | |||
image-rendering: crisp-edges; | |||
image-rendering: pixelated; | |||
-ms-interpolation-mode: nearest-neighbor; | |||
} | |||
/* Горизонтальный список */ | |||
#mw-content-text .hlist ul { | |||
display: inline; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#mw-content-text .hlist li { | |||
display: inline; | |||
} | |||
#mw-content-text .hlist li:not(:last-child) { | |||
padding-right: 0.286em; | |||
} | |||
#mw-content-text .hlist li:not(:last-child)::after { | |||
content: ""; | |||
display: inline-block; | |||
position: relative; | |||
left: 0.286em; | |||
bottom: 0.214em; | |||
background-color: #000; | |||
height: 3px; | |||
width: 3px; | |||
} | |||
#mw-content-text .hlist li li:first-child::before { | |||
content: "("; | |||
font-weight: normal; | |||
} | |||
#mw-content-text .hlist li li:last-child::after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
#mw-content-text .hlist li li li { | |||
font-size: x-small; | |||
} | } |
Версия от 18:45, 8 июня 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.tooltip{
position: relative;
}
.tooltiptext {
position: absolute;
display: block;
z-index: 2;
width: 250px;
padding: 20px;
visibility: hidden;
opacity: 0;
white-space: normal;
text-align: left;
transition: all 0.2s;
border: 1px solid #aaa;
background-color: #ffdd66;
}
.tooltiptable {
position: absolute;
display: block;
z-index: 2;
max-width:600px;
width:max-content;
padding: 10px;
top:11pt;
right:-55px;
visibility: hidden;
opacity: 0;
white-space: normal;
text-align: left;
transition: all 0.2s;
border: 1px solid #666;
background-color: #ff6666;
}
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 1;
}
.tooltip:hover>.tooltiptable {
visibility: visible;
opacity: 1;
}
/* hide the "Retrieved from" message */
.printfooter {
display: none;
}
div.tabcontent{
display:none
}
div.tabcontent.current{
display:block
}
div.switchtab.label.current{
color:#000;
background-color:#00FF00
}
div.divbutton:target{
cursor: pointer;
display: none;
width: auto;
height: auto;
}
div.divbutton:target::before{
cursor: pointer;
width: 80%;
height: auto;
}
.kaskadavionics_menu_button a{
display:block;
text-align:center;
line-height:19px !important;
font-size:13px;
color:#00FF00 !important;
text-decoration:none
}
.kaskadavionics_menu_button a:hover{
text-decoration:none;
display:block;
background:rgba(0,256,0,1) none repeat scroll 0% 0%;
line-height:19px !important;
font-size:13px;
color:#000 !important
}
img {
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
/* Горизонтальный список */
#mw-content-text .hlist ul {
display: inline;
margin: 0;
padding: 0;
}
#mw-content-text .hlist li {
display: inline;
}
#mw-content-text .hlist li:not(:last-child) {
padding-right: 0.286em;
}
#mw-content-text .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.286em;
bottom: 0.214em;
background-color: #000;
height: 3px;
width: 3px;
}
#mw-content-text .hlist li li:first-child::before {
content: "(";
font-weight: normal;
}
#mw-content-text .hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
#mw-content-text .hlist li li li {
font-size: x-small;
}