Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content deleted Content added
m minor flex adjustments
m margin and box shadow added to flex
Line 423: Line 423:
/* Create two unequal columns that sits next to each other */
/* Create two unequal columns that sits next to each other */
/* left column */
/* left column */
.left {
.left-side {
flex: 65%;
flex: 65%;
background-color: #f7f7f7;
background-color: #f7f7f7;
padding: 10px;
padding: 15px;
margin: 5px;
box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}
}


/* right column */
/* right column */
.right {
.right-side {
flex: 25%;
flex: 25%;
background-color: #dbdbdb;
background-color: #dbdbdb;
padding: 10px;
padding: 15px;
margin: 5px;
box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}
}


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
@media screen and (max-width: 800px) {
.row {
.row {
flex-direction: column;
flex-direction: column;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.