Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 96: | Line 96: | ||
padding: 0.5em; | padding: 0.5em; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.tab-menu { | |||
width: 100%; | |||
} | |||
.tab-menu ul { | |||
width: 100%; | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-betwen; | |||
align-items: center; | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.tab-menu ul li { | |||
height: 54px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
padding: 0.3em; | |||
border-right: solid 1px #a2a9b1; | |||
border-top: 0; | |||
background-color: #069; | |||
color: white; | |||
flex: 1; | |||
} | |||
.tab-menu ul li:last-child { | |||
border-right: none; | |||
} | |||
.tab-menu ul li a { | |||
color: #fff; | |||
text-decoration: none; | |||
} | |||
.tab-menu ul li a:hover { | |||
text-decoration: underline; | |||
} | |||
.tab-menu ul li.active { | |||
background-color: #d7e8f9; | |||
} | |||
.tab-menu ul li.active a { | |||
color: #000000; | |||
font-weight: bold; | |||
} | } | ||
Revision as of 16:11, 6 November 2022
/* CSS placed here will be applied to all skins */
.row {
clear:both;
}
.rowFlex {
display: flex;
gap: 0 20px;
margin-bottom: 20px;
}
.col {
flex: 1;
}
.box {
margin: 0;
min-width: 210px;
border: 1px solid #CCC;
padding: 0 20px 20px;
}
.box h3 {
font-size: 1.2em;
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
padding: 20px 0;
margin: 0 0 20px;
font-weight: bold;
border-bottom: 1px solid #CCC;
}
.box .mw-headline {
display: flex;
gap: 0 8px;
align-items: center;
}
.mainpage-box {
border: 1px solid #CCC;
}
.mainpage-box:not(:first-child) {
margin-top: 1.5em;
}
.mainpage-box.mainpage-box-orange {
border-color: #fad67d;
}
.mainpage-box.mainpage-box-green {
border-color: #bbfa7c;
}
.mainpage-box.mainpage-box-blue {
border-color: #abd5f5;
}
.mainpage-box .mainpage-box-title {
padding: 0.2em 0.5em;
font-size: 125%;
font-weight: bold;
}
.mainpage-box.mainpage-box-orange .mainpage-box-title {
background-color: #fad67d;
}
.mainpage-box.mainpage-box-green .mainpage-box-title {
background-color: #bbfa7c;
}
.mainpage-box.mainpage-box-blue .mainpage-box-title {
background-color: #abd5f5;
}
.mainpage-box .mainpage-box-content {
padding: 0.4em 1em 0.3em;
}
.mainpage-actions {
white-space: nowrap;
text-align: right;
}
.mainpage-actions ul {
margin: 0;
padding: 0;
}
.mainpage-actions li {
display: inline-block;
margin: 0;
padding: 0.5em;
font-weight: bold;
}
.tab-menu {
width: 100%;
}
.tab-menu ul {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-betwen;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
}
.tab-menu ul li {
height: 54px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0.3em;
border-right: solid 1px #a2a9b1;
border-top: 0;
background-color: #069;
color: white;
flex: 1;
}
.tab-menu ul li:last-child {
border-right: none;
}
.tab-menu ul li a {
color: #fff;
text-decoration: none;
}
.tab-menu ul li a:hover {
text-decoration: underline;
}
.tab-menu ul li.active {
background-color: #d7e8f9;
}
.tab-menu ul li.active a {
color: #000000;
font-weight: bold;
}
#mw-panel #n-Create-a-Page {
margin-bottom:20px !important;
}
#mw-panel #n-Create-a-Page a{
display:block;
text-align: center;
font-weight: 600;
color: #fff;
background-color: #36c;
padding: 10px;
border-radius: 2px;
}
#mw-panel #n-Create-a-Page a:hover{
text-decoration:none;
opacity:0.85;
}
.button a{
display:inline-block;
text-align: center;
font-weight: 600;
color: #fff;
background-color: #36c;
padding: 10px 15px;
border-radius: 2px;
}
.button a:hover{
text-decoration:none;
opacity:0.85;
}
#mw-head .vector-menu-content-list #pt-createaccount {
padding-top:3px;
}
#mw-head .vector-menu-content-list #pt-createaccount a {
padding: 8px 12px;
background: #3366cc;
color: #fff;
font-weight: 600;
border-radius: 2px;
display: inline-block;
}
#footer-places-about,
#footer-places-disclaimer {
display:none !important;
}