Warning.png

Поддержка Wiki прекращена, она доступна в режиме архива. Информация в ней устарела и может быть неактуальной.

Изменения

Перейти к: навигация, поиск

MediaWiki:Mobile.css

2807 байтов убрано, 21:40, 29 января 2017
Нет описания правки
/* CSS placed here will affect users of the mobile site *Minecraft skin **/@import "/resources/src/jquery.tipsy/jquery.tipsy.css";
/** Minecraft skin **/
/* Minecraft font */
@font-face {
.oo-ui-toolbar-bar { border: none!important }
 
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted;
}
 
.tooltip .tooltiptext {
visibility: hidden;
background-color: #fff;
text-align: center;
border-radius: 3px;
padding: 3px 7px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -55px;
opacity: 0;
transition: opacity .3s;
border: 1px solid #aaa;
}
 
.tooltip .tooltiptext:before,
.tooltip .tooltiptext:after {
content: "";
position: absolute;
bottom: -10px;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #fff transparent transparent transparent;
}
 
.tooltip .tooltiptext:before {
border-top-color: #777;
bottom: -11px;
}
 
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
 
 
{
text-align: center;
color: #fff;
background: #111;
position: absolute;
z-index: 100;
padding: 15px;
}
#tooltip:after /* triangle decoration */
{
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #111;
content: '';
position: absolute;
left: 50%;
bottom: -10px;
margin-left: -10px;
}
#tooltip.top:after
{
border-top-color: transparent;
border-bottom: 10px solid #111;
top: -20px;
bottom: auto;
}
#tooltip.left:after
{
left: 10px;
margin: 0;
}
#tooltip.right:after
{
right: 10px;
left: auto;
margin: 0;
}
 
/* Styling for minecraft style tooltip */
#minetip-tooltip {
position: fixed;
top: 0;
left: 0;
background-color: #100010;
background-color: rgba(16, 0, 16, 0.94);
color: #FFF;
padding: 0.375em;
font-family: Minecraft, sans-serif;
font-size: 16px;
word-spacing: 4px;
white-space: nowrap;
line-height: 1.25em;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
margin: 0.125em 0.25em;
pointer-events: none;
z-index: 99;
}
#minetip-tooltip:before {
content: "";
position: absolute;
top: 0.125em;
right: -0.125em;
bottom: 0.125em;
left: -0.125em;
border: 0.125em solid #100010;
border-style: none solid;
border-color: rgba(16, 0, 16, 0.94);
}
#minetip-tooltip:after {
content: "";
position: absolute;
top: 0.125em;
right: 0;
bottom: 0.125em;
left: 0;
border: 0.125em solid #2D0A63;
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}
 
#minetip-tooltip > .description,
#minetip-tooltip > .minetip-description {
display: block;
margin-top: 0.25em;
}

Навигация