MediaWiki:Mobile.css: Difference between revisions

From Exagear International
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
m (Reverted edits by Ilya114 (talk) to last revision by Wikiadmin)
Tag: Rollback
Line 71: Line 71:
     display: flex;
     display: flex;
}
}
#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;
}
#mw-content-text h4 {
    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
}
}
@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}}
.mw-parser-output .main-box-right{ 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}}


body.page-Main_Page-Заглавная_страница.action-view h1.firstHeading, body.page-Main_Page-Заглавная_страница.action-submit h1.firstHeading {  
body.page-Main_Page-Заглавная_страница.action-view h1.firstHeading, body.page-Main_Page-Заглавная_страница.action-submit h1.firstHeading {  
display: none; }
display: none; }

Revision as of 02:22, 15 October 2022

/* All CSS here will be loaded for users of the mobile site */



.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;
}


.welcomebanner {
    align-items: center;
    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;

}

.language-selector
{
    display: none;
}


.languagebanner {
    width: auto;
    align-items: left;
    background-color: #ffffff;
    margin-bottom: 1px;
    padding: 1px;
}

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

}

.welcomebanner table{
    background-color: #f8f9fa;

}

.wikitable{
    background-color: #ffffff;
}

.mw-parser-output .main-box-left-hidden{
    display: none;
}
.mw-parser-output .main-box-right-hidden{
    display: none;
}

.mw-parser-output .main-box-left{
    display: flex;
}
.mw-parser-output .main-box-right{
    display: flex;
}

body.page-Main_Page-Заглавная_страница.action-view h1.firstHeading, body.page-Main_Page-Заглавная_страница.action-submit h1.firstHeading { 
	display: none; }