MediaWiki:Common.css: Difference between revisions

From Exagear International
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.infobox {
.infobox {
     background: #eee;
     border: 1px solid #a2a9b1;
    border: 1px solid #aaa;
background: #f8f9fa;
    float: right;
margin-bottom: .5em;
    margin: 0 0 1em 1em;
margin-left: 1em;
    padding: 1em;
padding: .4em;
    width: 400px;
float: right;
clear: right;
font-size: 90%;
width: 23em;
vertical-align: middle;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 125%;
     text-align: center;
     text-align: center;
}
}
.infobox-image {
.infobox-image {
    text-align: center;
text-align: center;
}
}
.infobox th {
.infobox th {
     text-align: right;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 120px;
Line 22: Line 29:
     vertical-align: top;
     vertical-align: top;
}
}
.sitenotice {
.sitenotice {
     background-color: #f8f9fa;
     background-color: #f8f9fa;
Line 78: Line 84:
     vertical-align: top;
     vertical-align: top;
}
}
#mw-content-text h2 {
 
#mw-content-text h1 {
     margin-top: 0px;
     margin-top: 0px;
     padding: 0px;
     padding: 0px;
     vertical-align: top;
     vertical-align: top;
}
}
 
#mw-content-text h2 {
#mw-content-text h3 {
     margin-top: 0px;
     margin-top: 0px;
     padding: 0px;
     padding: 0px;
Line 90: Line 96:
}
}


#mw-content-text h4 {
#mw-content-text h3 {
     margin-top: 0px;
     margin-top: 0px;
     padding: 0px;
     padding: 0px;
     vertical-align: top;
     vertical-align: top;
}
}


.mainpagechapter {
.mainpagechapter {
Line 105: Line 112:




.main-top-header {
border-bottom-color: transparent;
margin-bottom: 0.25em;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}


.mw-parser-output .main-wrapper{
.mw-parser-output .main-wrapper{
Line 123: Line 122:
     margin:0 0.75rem;
     margin:0 0.75rem;


    background-color: #fff;
    border: 1px solid #c8ccd1;
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    margin-bottom: 2px;
    padding: 1rem;
}


.mw-parser-output .main-wikimedia
{
    padding-top:1.5rem;padding-left:1.5rem;padding-right:1.5rem;
}
}


.mw-parser-output .main-top {
@media(max-width:719px){
     clear:both;
   
    font-size:1rem;
.mw-parser-output .main-box-responsive-image>.floatleft,.mw-parser-output .main-box-responsive-image>.floatright{
    margin-top:1rem;
     float:none;margin-left:-1rem;margin-right:-1rem;text-align:center
    padding-bottom:1.5rem;
}
}
.mw-parser-output .main-top-left>p{
.mw-parser-output .main-box-responsive-image>.floatleft>a,.mw-parser-output .main-box-responsive-image>.floatright>a{
     font-size:0.875em;margin:0;
     display:block
}
}
.mw-parser-output .main-top-right{
 
     font-size:0.875em;margin-top:0.5em;
 
.hidethis{
     display: none;
}
}


.mw-parser-output .main-top-right>ul{
    display:none;margin-top:0.5rem;
}
.mw-parser-output .main-top-header{
    border-bottom:0;margin-bottom:0;margin-top:0;
}
.mw-parser-output .main-top-articleCount{
margin-bottom:0;
}


.mw-parser-output .main-box>p:last-child{
    margin-bottom:0;
}
.mw-parser-output .main-box-image-only>.main-box-content{
    margin:0.5rem -1rem 0;text-align:center;
}
.mw-parser-output .main-box-image-only>.main-box-content img{
    height:auto;max-width:100%;
}


.mw-parser-output .main-box-imageCaption
@media(min-width:720px){
{
 
    display:flex;justify-content:center;
.mw-parser-output .main-box-left{ height:25%;
}
   
.mw-parser-output .main-box-imageCaption>p{
     border-radius:2px;border-width:1px;margin-bottom:1rem;margin-left:0;margin-right:0}}@media(min-width:1280px){.mw-parser-output .main-box{margin-bottom:1.5rem;padding:1.5rem}body.skin-minerva .mw-parser-output .main-box,body.skin-vector-2022 .mw-parser-output .main-box{padding:1rem}body:not(.skin-minerva):not(.skin-vector-2022) .mw-parser-output .main-box-image-only>.main-box-content{margin-left:-1.5rem;margin-right:-1.5rem}}
     margin-bottom:0;
}
.mw-parser-output .main-box-subtitle{
    color:#72777d;line-height:1.25;margin-top:-.125em;
}
.mw-parser-output .main-box-header{
    margin-top:-.15em;
}
.mw-parser-output .main-box-header a{
    color:inherit;
}
.mw-parser-output .main-box-subtitle+.main-box-header{
    margin-top:0;
}
.mw-parser-output .main-box-header a:focus,.mw-parser-output .main-box:hover .main-box-header a,.mw-parser-output .main-box:hover .main-featuredLists-link a
{
    color:#0645ad;
}

Latest revision as of 09:06, 19 November 2022

.infobox {
    border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin-bottom: .5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 90%;
	width: 23em;
	vertical-align: middle;
	line-height: 1.5em;
	border-collapse: separate;
	border-spacing: 2px;
}
.infobox-title {
    font-size: 125%;
    text-align: center;
}
.infobox-image {
	text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}
.sitenotice {
    background-color: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    margin-bottom: 1rem;
    padding: 1rem;
}


.languagebanner {
    align-items: center;
    width: fit-content(20em);
    background-color: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 1px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    margin-bottom: 2px;
    padding: 2px;
}


.welcomebanner {
    align-items: center;
    background-image: url(https://www.exagear.wiki/images/exagearwiki_welcomebanner.png);
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    background-color: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    margin-bottom: 1rem;
    padding: 1rem;

}


.main-top-header{
    margin-bottom: 0.6em;
    border-bottom: 0px solid #a2a9b1;
    
}


.welcomebanner table{
    background-color: transparent;

}

#mw-content-text h1 {
    margin-top: 0px;
    padding: 0px;
    vertical-align: top;
}

#mw-content-text h1 {
    margin-top: 0px;
    padding: 0px;
    vertical-align: top;
}
#mw-content-text h2 {
    margin-top: 0px;
    padding: 0px;
    vertical-align: top;
}

#mw-content-text h3 {
    margin-top: 0px;
    padding: 0px;
    vertical-align: top;
}


.mainpagechapter {
    background-color: #fff;
    border: 1px solid #c8ccd1;
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    margin-bottom: 2px;
    padding: 1rem;
}



.mw-parser-output .main-wrapper{
     display:flex;
     margin:0 -0.75rem;
}

.mw-parser-output .main-wrapper-column{
     flex:1;
     margin:0 0.75rem;


}

@media(max-width:719px){
     
.mw-parser-output .main-box-responsive-image>.floatleft,.mw-parser-output .main-box-responsive-image>.floatright{
    float:none;margin-left:-1rem;margin-right:-1rem;text-align:center
}
.mw-parser-output .main-box-responsive-image>.floatleft>a,.mw-parser-output .main-box-responsive-image>.floatright>a{
    display:block
}


.hidethis{
    display: none;
}



@media(min-width:720px){

.mw-parser-output .main-box-left{ height:25%;
    
    border-radius:2px;border-width:1px;margin-bottom:1rem;margin-left:0;margin-right:0}}@media(min-width:1280px){.mw-parser-output .main-box{margin-bottom:1.5rem;padding:1.5rem}body.skin-minerva .mw-parser-output .main-box,body.skin-vector-2022 .mw-parser-output .main-box{padding:1rem}body:not(.skin-minerva):not(.skin-vector-2022) .mw-parser-output .main-box-image-only>.main-box-content{margin-left:-1.5rem;margin-right:-1.5rem}}