MediaWiki:Common.css: различия между версиями
imported>BOT Purple Нет описания правки |
imported>He11Force В попытках сделать div-button |
||
Строка 64: | Строка 64: | ||
div.kaskadavionics{ | div.kaskadavionics{ | ||
background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png) | background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png) | ||
} | |||
.divbutton:target{ | |||
cursor: pointer; | |||
display: none; | |||
width: auto; | |||
height: auto; | |||
} | |||
.divbutton:target::before{ | |||
cursor: pointer; | |||
width: 80%; | |||
height: auto; | |||
} | } | ||
.kaskadavionics_menu_button a{ | .kaskadavionics_menu_button a{ |
Версия от 11:30, 13 марта 2022
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.tooltip{
position: relative;
}
.tooltiptext {
position: absolute;
display: block;
z-index: 2;
width: 250px;
padding: 10px;
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.kaskadavionics{
background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png)
}
.divbutton:target{
cursor: pointer;
display: none;
width: auto;
height: auto;
}
.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: pixelated;
}