MediaWiki:Common.css: Difference between revisions
No edit summary |
|||
Line 48: | Line 48: | ||
margin-left: 10%; | margin-left: 10%; | ||
border-radius: 5px; | border-radius: 5px; | ||
} | |||
/* Responsive grid style for the main page */ | |||
.main-page-grid { | |||
display: grid; | |||
grid-gap: 10px; | |||
grid-template-columns: auto auto; | |||
} | |||
.main-page-sections { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.main-page-section { | |||
flex: 1 0 40%; | |||
min-width: 200px; | |||
} | } |
Revision as of 15:06, 26 May 2018
/* style for Template:notice */ .ambox-speedy { border: 3px solid #b22222; background: #fee; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-notice { border: 3px solid #1e90ff; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-delete { border: 3px solid #b22222; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-content { border: 3px solid #f28500; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-style { border: 3px solid #f4c430; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-move { border: 3px solid #9932cc; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-protection { border: 3px solid #bba; width: 80%; margin-left: 10%; border-radius: 5px; } .ambox-completar { border: 3px solid #66bb77; width: 80%; margin-left: 10%; border-radius: 5px; } /* Responsive grid style for the main page */ .main-page-grid { display: grid; grid-gap: 10px; grid-template-columns: auto auto; } .main-page-sections { display: flex; flex-wrap: wrap; } .main-page-section { flex: 1 0 40%; min-width: 200px; }