Difference between revisions of "MediaWiki:Common.css"
From Drawn to Life Wiki
| Line 29: | Line 29: | ||
font-size: 12px; | font-size: 12px; | ||
font-weight: 700; | font-weight: 700; | ||
| − | line-height: | + | line-height: 0; |
margin: 0; | margin: 0; | ||
padding: 13px 11px; | padding: 13px 11px; | ||
Revision as of 13:42, 21 November 2020
/***********/
/* Tabbers */
/***********/
#mw-content-text .tabber div.tabbertab,
#mw-content-text .tabber ul.tabbernav {
border: none;
}
#mw-content-text .tabber ul.tabbernav {
display: flex;
flex-flow: row nowrap;
padding: 0;
font-family: Rubik,"Helvetica Neue",Helvetica,Arial,sans-serif;
overflow: auto;
}
/**
* @section Tab restyling
* @element .tabbernav li
*/
#mw-content-text .tabber ul.tabbernav li {
display: flex;
}
#mw-content-text .tabber ul.tabbernav li:not(.tabberactive) a,
#mw-content-text .tabber ul.tabbernav li.tabberactive a {
background: initial;
border-color: currentColor;
border-width: 0 0 2px !important;
color: inherit;
font-size: 12px;
font-weight: 700;
line-height: 0;
margin: 0;
padding: 13px 11px;
text-align: center;
text-transform: uppercase;
transition: opacity 0.3s;
white-space: nowrap;
}
#mw-content-text .tabber ul.tabbernav li:not(.tabberactive) a {
opacity: 0.25;
}
#mw-content-text .tabber ul.tabbernav li:not(.tabberactive):hover a {
opacity: 0.5;
}