MediaWiki:Common.css

De Wiki Gla
Revisão de 09h39min de 20 de julho de 2021 por Mestre (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após salvar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/* Force lining numbers in headers (for fonts like Georgia) */
h1,
h2,
.firstHeading {
    -moz-font-feature-settings: "lnum";
    -webkit-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
}

/* Consistent size for sub/sup */
.mw-body sub,
.mw-body sup,
span.reference /* for Parsoid */ {
    font-size: 80%;
}


/* Hide confusing "Discussion" tab on [[Project:Support_desk]],
 * For sanity, only do this if [[Project_talk:Support_desk]] is a
 * redirect (which goes back to [[Project:Support_desk]]).
 * If that is changed for some reason, it automatically comes back.
 */
.page-Project_Support_desk #ca-talk a.mw-redirect {
 display: none;
}


.bronzeinfobox {
background: none;
border: none;
float: left;
padding: 1em;
width: 400px;
box-shadow: 0 0 .3em #999;
border-radius: .3em;
margin: 1em 0 2em 0;
}
.bronzeinfobox-title {
border: 1px solid #813625;
border-radius: 7px 7px 0px 0px;
font-size: 1.5em;
text-align: center;
background-color: #d67d69;
font-weight: bold;
}
.bronzeinfobox-star {
text-align: center;
padding-top: 0.2em;
}
.bronzeinfobox-image {
text-align: center;
padding: 0.5em;
padding-bottom: 10px;
}
.bronzeinfobox th {
text-align: center;
vertical-align: middle;
background-color: #d67d69;
width: 400px;
}
.bronzeinfobox td {
text-align: center;
vertical-align: top;
background-color: #f5f5f5;
padding: 6px;
width: 400px;
}

.speech-bubble {
    position: relative;
    background: #302b28;
    color: #FFFFFF;
    font-family: Arial;
    font-size: 13px;
    line-height: 16px;
    box-shadow: 6px 6px 2px -1px rgba(163, 163, 163, 0.68);
    text-align: center;
    width: 549px;
    height: 93px;
    border-radius: 10px;
    padding-top: 10px;
    border: 2px solid #9f755b;
}
.speech-bubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-width: 19px 20px 0 0;
    border-color: #302b28 transparent transparent transparent;
    bottom: -19px;
    left: 9%;
    margin-left: -10px;
}

.goldinfobox {
background: none;
border: none;
float: left;
padding: 1em;
width: 400px;
box-shadow: 0 0 .3em #999;
border-radius: .3em;
margin: 1em 0 2em 0;
}
.goldinfobox-title {
border: 1px solid #c88e3a;
border-radius: 7px 7px 0px 0px;
font-size: 1.5em;
text-align: center;
background-color: #eabc00;
font-weight: bold;
}
.goldinfobox-star {
text-align: center;
padding-top: 0.2em;
}
.goldinfobox-image {
text-align: center;
padding: 0.5em;
padding-bottom: 10px;
}
.goldinfobox th {
text-align: center;
vertical-align: middle;
background-color: #eabc00;
width: 400px;
}
.goldinfobox td {
text-align: center;
vertical-align: top;
background-color: #f5f5f5;
padding: 6px;
width: 400px;
}


/*Main Line Not Just Link Margin - From left Side*/
ul#nav{
margin:3;
padding:2;
list-style-type:none;
border:none;
background:#fff;
padding:.5em;
width:auto;
}
/*Drop Menu Line Colors that "flash" to load Menu*/
ul#nav li ul{
background:#fff;
margin:0;
padding:5;
width:auto;
}
ul#nav li{
position:relative;
margin:5;
width:auto;
padding:5;
list-style-type:none;
background:333;
color:#333;
line-height:150%;
}
/*Main Link Font Color and "loading border" set to fff for invisibility*/
ul#nav a{
border:1px solid #fff;
color:#333;
text-decoration:none;
display:block;
}
/*Mouse over option text color*/
ul#nav a:hover{
border:1px inset #333;
background:#333;
color:#333;
}
/*Color of Text option drop down without mouse on them.*/
ul#nav li li a{
padding-left:1em;
color:#006AFF;
text-decoration:none;
display:block;
}
ul#nav li li a:hover{
background:#cef;
}

/* DDM relative dropdown example */
.hiddenChild{
position: absolute;
left: -999em;
}
.shownChild{
left:-1px;
}
p{
clear:both;float:none;
}
/*Parent initial border information white fff set to hide "optional options area"*/
ul#nav.dhtml{
list-style-image: none;
display: block;
position:relative;
width:auto;
border:2px solid #fff;
background:#333
margin:2;
padding:2;
list-style-type:none;
height:1.5em;
}
/*WIDTH IS TOP OPTION WIDTH. (OPTION WIDTH - 1)*/
ul#nav.dhtml li{
position:relative;
float:left;
width:9em;
border-right:1px solid #333;
border-top:1px solid #333;
border-left:1px solid #333;
border-bottom:1px solid #333;
}
/*Initial background color of options with mouse hovered over main link*/
ul#nav.dhtml ul{
list-style-image: none;
display: block;
top:1.5em;
position:absolute;
border-top:1px solid #333;
border-right:1px solid #333;
border-left:1px solid #333;
background:#333;
width:auto;
z-index:10;
}
ul#nav.dhtml li a,ul#nav.dhtml li a:hover{
border:none;
background:#333;
}
ul#nav.dhtml li a{
padding:0 .5em;
background:#333;
}
/*Options background color when main category is highlighted with mouse and options not selected WIDTH IS OPTIONS WIDTH*/
ul#nav.dhtml ul li{
border:none;
width:9em;
background:#fff;
}
/*No Mouse On Main Link Background*/
ul#nav.dhtml li.isParent{
background:#cef;
}
/*Yes Mouse On Main Link Background*/
ul#nav.dhtml li.isActive{
background:#fff;
}
ul#nav.dhtml li.isActive a{
background:cef;
}
ul#nav.dhtml li.isActive ul a{
padding:0 .5em;
}
ul#nav.dhtml a:hover{
background:#333;
}
ul#nav.dhtml li.isParent a:hover{
background:#333;
}
ul#nav.dhtml li.isActive ul a:hover{
background:#333;
}