MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(45 intermediate revisions by the same user not shown)
Line 24: Line 24:


/*==Considerations table==*/
/*==Considerations table==*/
.consideration-summary { display:list-item; list-style-position:inside; margin:0 auto 0.7em 0.7em; border:2px solid #FF0; font-style:italic }
.consideration-summary { margin:-0.125em 0 0.125em 1em; display:list-item; list-style:square inside; font-style:italic; color:#652; text-decoration:underline #CD0}
 
/*==Text levels==*/
pre.levels { padding:0.125em }
 
/*==Word changers==*/
.altOuter {color:#2F2; cursor:pointer; display:none}
.altInner {color:#080; border:1px solid #EEE}




/*==MediaWiki workarounds==*/
/*==MediaWiki workarounds==*/


/* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
.fullWidth img { width:100%; height:auto } /* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
.fullWidth img { width:100%; height:auto }
 
.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */
 
li { line-height:1.2em; margin:0.8em 0 } /* spacing for bullet points */
 
 
/*==Themes for Vector 2022 skin==*/
 
/* simple light green theme */
a.mw-logo                      { color:#00F }
#pt-login-2    > a:nth-child(1) { color:#00F }
#pt-userpage-2 > a:nth-child(1) { color:#00F }
body.skin-vector-2022                    { background:#CCC }
div.mw-footer-container                  { background:#CFC;padding-bottom:1em }
div.vector-header-container:nth-child(2) { background:#CFC; border-bottom:1px solid #CCC }
div.vector-header-container.vector-sticky-header-container{ border-bottom:1px solid #999;
                                                            background:#EEE; }
 
/* girly theme (becomes a rave theme if you invert the colors of your screen - one day if i have time i'll make a dark theme that's equal to the inverse)
a.mw-logo                      { color:#000; text-shadow:0 0 0.25em #FFF }
#pt-login-2    > a:nth-child(1) { color:#000; text-shadow:0 0 0.25em #FFF }
#pt-userpage-2 > a:nth-child(1) { color:#000; text-shadow:0 0 0.25em #FFF }
body.skin-vector-2022
{ background:linear-gradient(#FF9,#006); background-attachment:fixed }
div.mw-footer-container
{ background:#FCF }
div.vector-header-container:nth-child(2)
{ background:linear-gradient(#FFF,#F0F,#FFF); border:none }
div.vector-header-container.vector-sticky-header-container
{ border-bottom:1px solid #999; background:#EEE }
*/


/* unicorn theme
a.mw-logo                      { color:#FFF; text-shadow:0 0 0.5em #000 }
#pt-login-2    > a:nth-child(1) { color:#FFF; text-shadow:0 0 0.5em #000 }
#pt-userpage-2 > a:nth-child(1) { color:#FFF; text-shadow:0 0 0.5em #000 }
body.skin-vector-2022  { background:#DBF }
div.mw-footer-container{ background:#FBD }
div.vector-header-container:nth-child(2)
{ background:linear-gradient(#F00,#FF0,#0D0,#07F,#70F) }
div.vector-header-container.vector-sticky-header-container
{ border-bottom:1px solid #999; background:#EEE }
*/


/*==Themes==*/
/* RGB theme (unfinished)
body.skin-vector-2022  { background:linear-gradient(#FFF,#000,#000,#000,#000,#000,#F00,#000,#000,#0F0,#000,#000,#00F,#000,#000,#000,#000,#000,#FFF); background-attachment:fixed }
*/
 
 
/*==Themes for Legacy Vector skin==*/


/* sunrise theme:
/* sunrise theme:
Line 54: Line 107:
#content{background-color:#FFF}
#content{background-color:#FFF}
*/
*/
/* RGB theme: */
/* RGB theme:
body    {background-image:linear-gradient(#FFF 0%, #FFF 10%, #000 15%, #000 50%, #F00 55%, #000 60%, #000 65%, #0F0 70%, #000 75%, #000 80%, #00F 85%, #000 90%, #000 95%, #FFF 100%);background-color:#FFF;background-repeat:no-repeat; position:relative; z-index:1}
body    {background-image:linear-gradient(#FFF 0%, #FFF 10%, #000 15%, #000 50%, #F00 55%, #000 60%, #000 65%, #0F0 70%, #000 75%, #000 80%, #00F 85%, #000 90%, #000 95%, #FFF 100%);background-color:#FFF;background-repeat:no-repeat; position:relative; z-index:1}
#content{background-color:#FFF; box-shadow:0em 0em 0.25em #000}
#content{background-color:#FFF; box-shadow:0em 0em 0.25em #000}
Line 62: Line 115:
#footer        {background-color:#FFFFFFC0; position:relative; z-index:-1; padding-bottom:3em}
#footer        {background-color:#FFFFFFC0; position:relative; z-index:-1; padding-bottom:3em}
#footer ul li a{background-color:#FFFFFF80; position:relative; z-index:1}
#footer ul li a{background-color:#FFFFFF80; position:relative; z-index:1}
*/