Difference between revisions of "MediaWiki:Gadget-artTab.css"
Jump to navigation
Jump to search
Pianoforte (talk | contribs) |
Pianoforte (talk | contribs) |
||
Line 39: | Line 39: | ||
text-shadow:none; | text-shadow:none; | ||
z-index:5; | z-index:5; | ||
+ | } | ||
+ | |||
+ | .artTabContent { | ||
+ | margin: auto; | ||
} | } |
Revision as of 07:50, 26 December 2017
#artTab {
overflow: hidden;
position:relative;
}
/* Style the buttons inside the tab */
#artTab > div > button {
padding: 3px 6px;
margin: 2px 2px;
border-radius: 15px;
border: none;
text-shadow:none;
z-index:5;
font-family: arial;
font-weight: bold;
font-size: 1em;
opacity:0.5;
background-color: #4E443C;
color:#F0b000;
-moz-transition: all .2s ease-in;
-o-transition: all .2s ease-in;
-webkit-transition: all .2s ease-in;
transition: all .2s ease-in;
opacity:0.5;
}
/* Change background color of buttons on hover */
#artTab button:hover {
opacity:1;
}
/* Create an active/current tablink class */
#artTab button.active {
color:#4E443C;
background-color: #F0b000;
border-radius: 15px;
border: none;
text-shadow:none;
z-index:5;
}
.artTabContent {
margin: auto;
}