Difference between revisions of "MediaWiki:Mobile.css"

971 bytes removed ,  16:26, 26 March 2022
m
Didn't work
(Attempting to add collapsible elements into the mobile css.)
Tags: Mobile edit Mobile web edit Advanced mobile edit
m (Didn't work)
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 13: Line 13:




/* ----------------- NEW COLLAPSABLE ELEMENT ----------------- */
/* -----------------  
 
Mobile Collapsable Element
 
----------------- */
span.mw-customtoggle-myDivision.mw-customtoggle {
font-size: x-large;
color: #0645ad;
background-color: #fffcdb;
padding: 8px 8px 14px 8px;
margin: 20px 0px;
border-top: 1px solid #bbbbbb;
border-right: 1px solid #bbbbbb;
border-left: 1px solid #bbbbbb;
display: initial;
}
 
.mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
    float: left;
}
 
#mw-customcollapsible-myDivision {
width: 90%;
text-align: left;
padding: 30px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
 
#mw-customcollapsible-myDivision2 {
width: 90%;
text-align: left;
    padding: 15px;
    line-height: 0px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
 
#mw-customcollapsible-myDivision3 {
width: 90%;
text-align: left;
    padding: 15px;
    line-height: 0px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
 
.mw-collapsible li {
    line-height: 1.5em;
}
 
.mw-collapsible-content {
    margin-top: 20px;
    overflow:auto;
}