Difference between revisions of "MediaWiki:Common.css"
From Phoenix Cart User Guide
PeterRobert (talk | contribs) |
PeterRobert (talk | contribs) |
||
| (45 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
} | } | ||
/*body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }*/ | /*body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }*/ | ||
| + | .color-middle, .color-left, .color-right {background: #ea3500;} | ||
#ca-talk { display:none!important; } | #ca-talk { display:none!important; } | ||
#ca-nstab-main { display:none!important; } | #ca-nstab-main { display:none!important; } | ||
| Line 31: | Line 32: | ||
border-radius: 10px; | border-radius: 10px; | ||
border-width: 2px !important;} | border-width: 2px !important;} | ||
| − | + | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {font-family: sans-serif !important;} | |
| + | #p-logo-text a {font-family: sans-serif !important;} | ||
code { | code { | ||
color: #000; | color: #000; | ||
| Line 51: | Line 53: | ||
min-width: 210px; | min-width: 210px; | ||
border: 2px solid #ea3500; | border: 2px solid #ea3500; | ||
| + | border-radius: 10px!important; | ||
| + | padding: 10px 10px; | ||
| + | } | ||
| + | .pro { | ||
| + | flex: 1; | ||
| + | background-color:#fff3cd !important; | ||
| + | margin: 5px; | ||
| + | min-width: 210px; | ||
| + | border: 2px solid #fff3cd; | ||
border-radius: 10px!important; | border-radius: 10px!important; | ||
padding: 10px 10px; | padding: 10px 10px; | ||
| Line 66: | Line 77: | ||
margin: 5px; | margin: 5px; | ||
min-width: 210px; | min-width: 210px; | ||
| − | background-color:# | + | background-color:#fcfcfc !important; |
border: 2px solid #ea3500; | border: 2px solid #ea3500; | ||
border-radius: 10px; | border-radius: 10px; | ||
| Line 92: | Line 103: | ||
zoom: 1; | zoom: 1; | ||
vertical-align: middle; | vertical-align: middle; | ||
| + | cursor: pointer; | ||
} | } | ||
.btn-input{ | .btn-input{ | ||
| Line 115: | Line 127: | ||
background-color: #28a745; | background-color: #28a745; | ||
color: #fff; | color: #fff; | ||
| − | |||
display: inline-block; | display: inline-block; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
| Line 162: | Line 173: | ||
min-width: 4em; | min-width: 4em; | ||
max-width: 28.75em; | max-width: 28.75em; | ||
| − | margin: | + | margin-top: 4px; |
| + | margin-bottom: 4px; | ||
padding: 5px 12px; | padding: 5px 12px; | ||
border: 1px solid #c5dbec; | border: 1px solid #c5dbec; | ||
| Line 184: | Line 196: | ||
text-align: center; | text-align: center; | ||
vertical-align: middle; | vertical-align: middle; | ||
| + | } | ||
| + | .btn-red{ | ||
| + | background-color: #dc3545; | ||
| + | color: #ffffff; | ||
| + | display: inline-block; | ||
| + | box-sizing: border-box; | ||
| + | min-width: 4em; | ||
| + | max-width: 28.75em; | ||
| + | margin-top: 4px; | ||
| + | margin-bottom: 4px; | ||
| + | padding: 0.57142857em 0.9375em; | ||
| + | border: 1px solid #c5dbec; | ||
| + | border-radius: 5px; | ||
| + | font-family: inherit; | ||
| + | font-size: 1em; | ||
| + | line-height: 1; | ||
| + | text-align: center; | ||
| + | -webkit-appearance: none; | ||
| + | *display: inline; | ||
| + | zoom: 1; | ||
| + | vertical-align: middle; | ||
| + | } | ||
| + | .btn-yellow{ | ||
| + | background-color: #ffc107; | ||
| + | color: #000000; | ||
| + | display: inline-block; | ||
| + | box-sizing: border-box; | ||
| + | min-width: 4em; | ||
| + | max-width: 28.75em; | ||
| + | margin-top: 4px; | ||
| + | margin-bottom: 4px; | ||
| + | padding: 0.57142857em 0.9375em; | ||
| + | border: 1px solid #ffc107; | ||
| + | border-radius: 5px; | ||
| + | font-family: inherit; | ||
| + | font-size: 1em; | ||
| + | line-height: 1; | ||
| + | text-align: center; | ||
| + | -webkit-appearance: none; | ||
| + | *display: inline; | ||
| + | zoom: 1; | ||
| + | vertical-align: middle; | ||
| + | } | ||
| + | .btn-info{ | ||
| + | background-color: #17a2b8; | ||
| + | color: #ffffff; | ||
| + | display: inline-block; | ||
| + | box-sizing: border-box; | ||
| + | min-width: 4em; | ||
| + | max-width: 28.75em; | ||
| + | margin-top: 4px; | ||
| + | margin-bottom: 4px; | ||
| + | padding: 0.57142857em 0.9375em; | ||
| + | border: 1px solid #17a2b8; | ||
| + | border-radius: 5px; | ||
| + | font-family: inherit; | ||
| + | font-size: 1em; | ||
| + | line-height: 1; | ||
| + | text-align: center; | ||
| + | -webkit-appearance: none; | ||
| + | *display: inline; | ||
| + | zoom: 1; | ||
| + | vertical-align: middle; | ||
| + | } | ||
| + | .btn-secondary{ | ||
| + | background-color: #6c757d; | ||
| + | color: #ffffff; | ||
| + | display: inline-block; | ||
| + | box-sizing: border-box; | ||
| + | min-width: 4em; | ||
| + | max-width: 28.75em; | ||
| + | margin-top: 4px; | ||
| + | margin-bottom: 4px; | ||
| + | padding: 0.57142857em 0.9375em; | ||
| + | border: 1px solid #6c757d; | ||
| + | border-radius: 5px; | ||
| + | font-family: inherit; | ||
| + | font-size: 1em; | ||
| + | line-height: 1; | ||
| + | text-align: center; | ||
| + | -webkit-appearance: none; | ||
| + | *display: inline; | ||
| + | zoom: 1; | ||
| + | vertical-align: middle; | ||
| + | } | ||
| + | /*Hide titles on main pages*/ | ||
| + | body.page-Welcome_to_PhoenixWiki.action-view h1.firstHeading, body.page-Welcome_to_PhoenixWiki.action-submit h1.firstHeading { display: none; } | ||
| + | body.page-Welcome_to_CE_Phoenix_Wiki.action-view h1.firstHeading, body.page-Welcome_to_CE_Phoenix_Wiki.action-submit h1.firstHeading { display: none; } | ||
| + | |||
| + | /*moves right sidebar to left*/ | ||
| + | @media (min-width: 1340px) { | ||
| + | #mw-content-block { | ||
| + | display: block; | ||
| + | } | ||
| + | #mw-content, | ||
| + | #content-bottom-stuff { | ||
| + | margin-left: 16em; | ||
| + | } | ||
| + | #mw-content-wrapper { | ||
| + | float: right; | ||
| + | margin-left: -16em; | ||
| + | width: 100%; | ||
| + | } | ||
| + | #mw-related-navigation { | ||
| + | width: 16em; | ||
| + | padding: 0 1em 0 0; | ||
| + | } | ||
| + | #mw-site-navigation { | ||
| + | width: 16em; | ||
| + | padding: 0 1em 0 0; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | #user-tools h2, | ||
| + | #site-navigation h2, #site-tools h2, #page-tools h2 { | ||
| + | filter: invert(99%); /* Adjust for color */ | ||
| + | } | ||
| + | #personal h2 span { | ||
| + | filter: invert(99%); /* Adjust for color */ | ||
| + | } | ||
| + | |||
| + | @media (max-width: 1099px) { | ||
| + | #site-navigation, #site-tools, #page-tools, .sidebar-chunk { | ||
| + | background-color: transparent !important; | ||
| + | } | ||
} | } | ||
Latest revision as of 08:58, 26 February 2025
/* CSS placed here will be applied to all skins */
/* Images should be responsive */
img {
max-width:100%;
height:auto;
}
/*body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }*/
.color-middle, .color-left, .color-right {background: #ea3500;}
#ca-talk { display:none!important; }
#ca-nstab-main { display:none!important; }
#ca-history { display:none!important; }
#ca-viewsource { display:none!important; }
#ca-watch { display:none!important; }
#ca-unwatch { display:none!important; }
#mw-content-block{background-color:#343a40!important;}
#mw-content-container{background-color: #343a40!important; border-bottom:transparent;}
#mw-header-container{background-color:#343a40!important; color: #e6e6e6 !important;}
#p-logo-text a {color: #e6e6e6 !important;}
#mw-footer{background-color:#343a40!important;}
#user-tools{color: #c1c1c1 !important;}
#mw-header-nav-hack{background-color:#343a40!important;}
#site-navigation{background-color:#e6e6e6!important; border-color: #ea3500 !important;
border-radius: 10px;
border-width: 2px !important;}
#site-tools{background-color:#e6e6e6!important; border-color: #ea3500 !important;
border-radius: 10px;
border-width: 2px !important;}
#page-tools{background-color:#e6e6e6!important; border-color: #ea3500 !important;
border-radius: 10px;
border-width: 2px !important;}
.sidebar-chunk{background-color:#e6e6e6!important; border-color: #ea3500 !important;
border-radius: 10px;
border-width: 2px !important;}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {font-family: sans-serif !important;}
#p-logo-text a {font-family: sans-serif !important;}
code {
color: #000;
background-color: #eeeeee;
border: 1px solid #eaecf0;
border-radius: 2px;
padding: 1px 4px;}
.mainpage_box {
flex: 1;
margin: 5px;
min-width: 210px;
border: 1px solid #CCC;
padding: 0px 10px 10px 10px;
}
.advert {
flex: 1;
background-color:#e6e6e6 !important;
margin: 5px;
min-width: 210px;
border: 2px solid #ea3500;
border-radius: 10px!important;
padding: 10px 10px;
}
.pro {
flex: 1;
background-color:#fff3cd !important;
margin: 5px;
min-width: 210px;
border: 2px solid #fff3cd;
border-radius: 10px!important;
padding: 10px 10px;
}
.pip {
flex: 1;
margin: 5px;
min-width: 210px;
border: 2px solid red;
background: #ffff004a;
padding: 10px 10px;
}
.contribute{
flex: 1;
margin: 5px;
min-width: 210px;
background-color:#fcfcfc !important;
border: 2px solid #ea3500;
border-radius: 10px;
border-width: 2px !important;
padding: 10px 10px;
}
.btn-grey {
background-color: #f8f9fa;
color: #222222;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin: 0;
padding: 0.57142857em 0.9375em;
border: 1px solid #a2a9b1;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
font-weight: bold;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
cursor: pointer;
}
.btn-input{
background-color: #DDDDDD;
color: #222222;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin: 0;
padding: 1px 6px;
border: 1px solid #a2a9b1;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-green {
background-color: #28a745;
color: #fff;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin: 0;
padding: 0.57142857em 0.9375em;
border: 1px solid #a2a9b1;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-orange{
background-color: #f7b43f;
color: #fff;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin: 0;
padding: 0.57142857em 0.9375em;
border: 1px solid #f25c2c;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
font-weight: bold;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-blue{
background-color: #dfeffc;
color: #2e6e9e;
opacity: .7;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin-top: 4px;
margin-bottom: 4px;
padding: 5px 12px;
border: 1px solid #c5dbec;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-primary{
background-color: #007bff;
color: #ffffff;
padding: 0.8rem 0.8rem 0.6rem 0.8rem;
border: 2px solid #007bff;
border-radius: 5px;
font-family: inherit;
text-align: center;
vertical-align: middle;
}
.btn-red{
background-color: #dc3545;
color: #ffffff;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin-top: 4px;
margin-bottom: 4px;
padding: 0.57142857em 0.9375em;
border: 1px solid #c5dbec;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-yellow{
background-color: #ffc107;
color: #000000;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin-top: 4px;
margin-bottom: 4px;
padding: 0.57142857em 0.9375em;
border: 1px solid #ffc107;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-info{
background-color: #17a2b8;
color: #ffffff;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin-top: 4px;
margin-bottom: 4px;
padding: 0.57142857em 0.9375em;
border: 1px solid #17a2b8;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
.btn-secondary{
background-color: #6c757d;
color: #ffffff;
display: inline-block;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
margin-top: 4px;
margin-bottom: 4px;
padding: 0.57142857em 0.9375em;
border: 1px solid #6c757d;
border-radius: 5px;
font-family: inherit;
font-size: 1em;
line-height: 1;
text-align: center;
-webkit-appearance: none;
*display: inline;
zoom: 1;
vertical-align: middle;
}
/*Hide titles on main pages*/
body.page-Welcome_to_PhoenixWiki.action-view h1.firstHeading, body.page-Welcome_to_PhoenixWiki.action-submit h1.firstHeading { display: none; }
body.page-Welcome_to_CE_Phoenix_Wiki.action-view h1.firstHeading, body.page-Welcome_to_CE_Phoenix_Wiki.action-submit h1.firstHeading { display: none; }
/*moves right sidebar to left*/
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 16em;
}
#mw-content-wrapper {
float: right;
margin-left: -16em;
width: 100%;
}
#mw-related-navigation {
width: 16em;
padding: 0 1em 0 0;
}
#mw-site-navigation {
width: 16em;
padding: 0 1em 0 0;
}
}
#user-tools h2,
#site-navigation h2, #site-tools h2, #page-tools h2 {
filter: invert(99%); /* Adjust for color */
}
#personal h2 span {
filter: invert(99%); /* Adjust for color */
}
@media (max-width: 1099px) {
#site-navigation, #site-tools, #page-tools, .sidebar-chunk {
background-color: transparent !important;
}
}