Difference between revisions of "MediaWiki:Monobook.css"

no edit summary
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
}
}


.mw-body{
body.skin--responsive .mw-body{
background:#FFFFFF;
background:#FFFFFF;
border:none;
border:none;
padding:2em;
padding:2em;
box-shadow:0 0 8px -4px #000000;
box-shadow:0 0 8px -4px #000000;
}
@media (prefers-color-scheme: dark){
body.skin--responsive .mw-body {
background: #282828;
color: #DEDEDE;
}
}
}


@media screen and (min-width: 551px){
@media screen and (min-width: 551px){
.mw-body{
body.skin--responsive .mw-body{
margin:3.8em 0 0 13.7em;
margin:3.8em 0 0 13.7em;
}
}
Line 41: Line 48:
    box-shadow: 0 -2px 8px -4px #000000;
    box-shadow: 0 -2px 8px -4px #000000;
    border-top: #CC0000 3px solid;
    border-top: #CC0000 3px solid;
}
}
@media (prefers-color-scheme: dark){
body.skin--responsive #p-cactions li.selected {
background: #282828;
color: #FFFFFF;
}
}
}
}
Line 48: Line 62:
background:#FFFFFF;
background:#FFFFFF;
color:#181818;
color:#181818;
}
@media (prefers-color-scheme: dark){
body.skin--responsive #p-cactions li.selected a {
background: #282828;
color: #FFFFFF;
}
}
}


Line 55: Line 76:
     background: #282828;
     background: #282828;
     transition:.1s ease-in-out;
     transition:.1s ease-in-out;
}
@media (prefers-color-scheme: dark){
body.skin--responsive #p-cactions li {
background: #505050;
}
}
}


Line 80: Line 107:
**********************************************/
**********************************************/


body.skin--responsive #p-personal body.skin--responsive .pbody ul a{
body.skin--responsive #p-personal .pBody ul a{
color:#47B9EA;
color:#47B9EA;
}
}


body.skin--responsive #p-personal body.skin--responsive .pbody ul {
body.skin--responsive #p-personal .pBody ul {
height:unset;
height:unset;
     background: #444444;
     background: #444444;
Line 107: Line 134:
**********************************************/
**********************************************/
@media screen and (min-width: 551px){
@media screen and (min-width: 551px){
.portlet {
body.skin--responsive .portlet {
    border: 0;
    border: 0;
    margin: 0 0.5em;
    margin: 0 0.5em;
    width: 12.6em;
}
}
}
}


#sidebar body.skin--responsive .pbody {
body.skin--responsive #sidebar .pBody {
     box-shadow: 0 0 8px -4px #000000;
     box-shadow: 0 0 8px -4px #000000;
     margin: 0.5em 0.2em;
     margin: 0.5em 0.2em;
}
}


#sidebar body.skin--responsive .pbody a{
body.skin--responsive #sidebar .pBody a{
color:#47B9EA;
color:#47B9EA;
}
}


@media screen and (min-width: 551px){
@media screen and (min-width: 551px){
body.skin--responsive .pbody {
body.skin--responsive .pBody {
    background-color: #444444;
    background-color: #444444;
    padding: .5em;
    padding: .5em;
}
body.skin--responsive #p-logo a, body.skin--responsive #p-logo a:hover{
background-size: contain;
}
}
}
}


/**********************************************
/**********************************************
**
**
** ARTICLES
** FOOTER
**
**
**********************************************/
**********************************************/
h1#firstHeading {
    display: inline-block;
    clear: both;
    border-bottom: none;
    margin: .5em 0;
    text-transform: uppercase;
}
h1#firstHeading::after {
    margin-top: 0.1em;
    content: '';
    background: #CC0000;
    width: 100%;
    height: 0.1em;
    display: block;
}


div#footer {
div#footer {