Difference between revisions of "MediaWiki:Common.css"

From Tâi-oân-pit
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
       flex: 50%;
       flex: 50%;
     }
     }
}
.row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}
.column {
display: flex;
flex-direction: column;
flex-basis: 100%;
}
@media screen and (min-width: 800px) {
.column {
flex: 1
}
}
}

Revision as of 2021 nî 1 goe̍h 7 ji̍t, 07:48

/* CSS placed here will be applied to all skins */

@media all and ( min-width: 720px ) {
    .mp-row {
      display: flex;
    }

    .mp-left-col {
      flex: 55%;
    }

    .mp-right-col {
      flex: 45%;
    }
    
    .mp-col {
      flex: 50%;
    }
}

.row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}

.column {
display: flex;
flex-direction: column;
flex-basis: 100%;
}

@media screen and (min-width: 800px) {
.column {
flex: 1
}

}