Difference between revisions of "MediaWiki:Monobook.css"

 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
/* CSS placed here will affect users of the Monobook skin */


/* See also: [[MediaWiki:Common.css]] */
body{
background:#EAEAEA;
}
 
body.skin--responsive .mw-body{
background:#FFFFFF;
border:none;
padding:2em;
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){
body.skin--responsive .mw-body{
margin:3.8em 0 0 13.7em;
}
}
 
@media screen and (min-width: 551px){
div#column-content {
    margin: 0 0 0.6em -14.2em;
}
}
 
@media screen and (min-width: 551px){
body.skin--responsive #p-cactions {
left:13.5em;
top:2.3em;
}
}
 
/**********************************************
**
** ACTION TABS
**
**********************************************/
 
@media screen and (min-width: 551px){
body.skin--responsive #p-cactions li.selected {
    box-shadow: 0 -2px 8px -4px #000000;
    border-top: #CC0000 3px solid;
}
}


body  
@media (prefers-color-scheme: dark){
{
body.skin--responsive #p-cactions li.selected {
  background: #AEAEAE;
background: #282828;
color: #FFFFFF;
}
}
}


div.pBody
body.skin--responsive #p-cactions li.selected a{
{
border:none;
  background:#444444;
background:#FFFFFF;
color:#181818;
}
}


div#content {
@media (prefers-color-scheme: dark){
  -moz-border-radius-topleft: 1em;
body.skin--responsive #p-cactions li.selected a {
  -moz-border-radius-bottomleft: 1em;
background: #282828;
  border: 4px solid #444444;  
color: #FFFFFF;
  background:#D9D9D9;
}
}
}


div.pBody {
body.skin--responsive #p-cactions li {
  -moz-border-radius-topright: 1em;
    border: none;
  -moz-border-radius-bottomright: 1em;
    border-bottom: none;
  border: 4px ridge #C0C0C0;  
    background: #282828;
    transition:.1s ease-in-out;
}
}


#p-personal .pBody ul {
@media (prefers-color-scheme: dark){
background: #444444;
body.skin--responsive #p-cactions li {
        float: right;
background: #505050;
padding-left: 5px;
}
height: 1.45em;
border-bottom: 2px solid #CC0000;
border-left: 2px solid #CC0000;
border-bottom-left-radius: 0.5em;
        box-shadow: 0px 0px 4px 2px #000000;
}
}


#p-personal li a{
body.skin--responsive #p-cactions li:hover{
        color: #47B9EA;
border-top:2px #CC0000 solid;
        font-weight: bold;
box-shadow: 0 -2px 8px -4px #000000;
}
}


.portlet a {
body.skin--responsive #p-cactions li a{
color: #47B9EA;
position:relative;
background: none;
font-weight:bold;
}
}


.portlet a:visited {
body.skin--responsive #p-cactions li a, body.skin--responsive #p-cactions li a:hover{
color: #006ECB;
color:#EDEDED;
background: none;
background:none;
border:none;
box-shadow:none;
}
}


div#footer {
/**********************************************
background-color: #444444;
**
border: 2px solid #282828;
** PERSONAL LINKS
color: #C0C0C0;
**
**********************************************/
 
body.skin--responsive #p-personal .pBody ul a{
color:#47B9EA;
}
}


div#footer a
body.skin--responsive #p-personal .pBody ul {
{
height:unset;
  color:#47B9EA;
    background: #444444;
    border-bottom: 2px solid #CC0000;
    border-left: none;
    border-bottom-left-radius: 0;
    box-shadow: 0 0 8px 0 #000000;
    padding: .25em 1em;
}
}


div#footer a:visited
@media screen and (min-width: 551px){
{
li#pt-userpage, li#pt-anonuserpage {
  color:#006ECB;
    background-position: center left;
}
}
}


/* Page Tabs */
 
#p-cactions li a{
/**********************************************
border: 2px solid #CC0000;
**
border-bottom: none;
** LEFT NAVIGATION
        background: #505050;
**
        box-shadow: 0px 0px 4px 2px #000000;
**********************************************/
        position: static;
@media screen and (min-width: 551px){
        color: #47B9EA;
body.skin--responsive .portlet {
        font-weight: bold;
    border: 0;
    margin: 0 0.5em;
}
}
}


#p-cactions li.selected a{
body.skin--responsive #sidebar .pBody {
border: 2px solid #282828;
    box-shadow: 0 0 8px -4px #000000;
        background-color: #C0C0C0;
    margin: 0.5em 0.2em;
        color:#006ECB;
}
}
#p-cactions li a:hover {
 
z-index: 3;
body.skin--responsive #sidebar .pBody a{
text-decoration: none;
color:#47B9EA;
background: #282828;
}
border: 2px solid #CC0000;
 
        color:#47B9EA;
@media screen and (min-width: 551px){
body.skin--responsive .pBody {
    background-color: #444444;
    padding: .5em;
}
body.skin--responsive #p-logo a, body.skin--responsive #p-logo a:hover{
background-size: contain;
}
}
 
 
 
/**********************************************
**
** FOOTER
**
**********************************************/
 
div#footer {
    background-color: #181818;
    border: none;
    color: #C0C0C0;
    box-shadow: 0 0 4px -1px #000000;
}
 
div#footer ul a{
color:#47B9EA;
}
}

Latest revision as of 20:38, 24 November 2022

/* CSS placed here will affect users of the Monobook skin */

body{
	background:#EAEAEA;
}

body.skin--responsive .mw-body{
	background:#FFFFFF;
	border:none;
	padding:2em;
	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){
	body.skin--responsive .mw-body{
		margin:3.8em 0 0 13.7em;
	}	
}

@media screen and (min-width: 551px){
	div#column-content {
	    margin: 0 0 0.6em -14.2em;
	}
}

@media screen and (min-width: 551px){
	body.skin--responsive #p-cactions {
		left:13.5em;
		top:2.3em;
	}
}

/**********************************************
**
**		ACTION TABS
**
**********************************************/

@media screen and (min-width: 551px){
	body.skin--responsive #p-cactions li.selected {
	    box-shadow: 0 -2px 8px -4px #000000;
	    border-top: #CC0000 3px solid;
	}
}

@media (prefers-color-scheme: dark){
	body.skin--responsive #p-cactions li.selected {
		background: #282828;
		color: #FFFFFF;
	}
}

body.skin--responsive #p-cactions li.selected a{
	border:none;
	background:#FFFFFF;
	color:#181818;
}

@media (prefers-color-scheme: dark){
	body.skin--responsive #p-cactions li.selected a {
		background: #282828;
		color: #FFFFFF;
	}
}

body.skin--responsive #p-cactions li {
    border: none;
    border-bottom: none;
    background: #282828;
    transition:.1s ease-in-out;
}

@media (prefers-color-scheme: dark){
	body.skin--responsive #p-cactions li {
		background: #505050;
	}
}

body.skin--responsive #p-cactions li:hover{
	border-top:2px #CC0000 solid;
	box-shadow: 0 -2px 8px -4px #000000;
}

body.skin--responsive #p-cactions li a{
	position:relative;
	font-weight:bold;
}

body.skin--responsive #p-cactions li a, body.skin--responsive #p-cactions li a:hover{
	color:#EDEDED;
	background:none;
	border:none;
	box-shadow:none;
}

/**********************************************
**
**		PERSONAL LINKS
**
**********************************************/

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

body.skin--responsive #p-personal .pBody ul {
	height:unset;
    background: #444444;
    border-bottom: 2px solid #CC0000;
    border-left: none;
    border-bottom-left-radius: 0;
    box-shadow: 0 0 8px 0 #000000;
    padding: .25em 1em;
}

@media screen and (min-width: 551px){
	li#pt-userpage, li#pt-anonuserpage {
	    background-position: center left;
	}
}


/**********************************************
**
**		LEFT NAVIGATION
**
**********************************************/
@media screen and (min-width: 551px){
	body.skin--responsive .portlet {
	    border: 0;
	    margin: 0 0.5em;
	}
}

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

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

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



/**********************************************
**
**		FOOTER
**
**********************************************/

div#footer {
    background-color: #181818;
    border: none;
    color: #C0C0C0;
    box-shadow: 0 0 4px -1px #000000;
}

div#footer ul a{
	color:#47B9EA;
}