MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
column-gap: 15px; | column-gap: 15px; | ||
row-gap: 60px; | row-gap: 60px; | ||
} | |||
.grid.two-columns{ | |||
grid-template-columns: repeat( 2, minmax(450px, 1fr) ); | |||
} | |||
.grid.two-columns.slideshare{ | |||
grid-template-columns: 800px auto; | |||
} | } | ||
.grid.three-columns{ | .grid.three-columns{ | ||
grid-template-columns: repeat( 3, minmax(450px, 1fr) ); | grid-template-columns: repeat( 3, minmax(450px, 1fr) ); | ||
} | |||
.grid.two-columns .full-width{ | |||
grid-column: span 2; | |||
} | } | ||
.grid.three-columns .full-width{ | .grid.three-columns .full-width{ |
Revision as of 15:15, 2 January 2020
/* CSS placed here will be applied to all skins */
.grid{
display: grid;
column-gap: 15px;
row-gap: 60px;
}
.grid.two-columns{
grid-template-columns: repeat( 2, minmax(450px, 1fr) );
}
.grid.two-columns.slideshare{
grid-template-columns: 800px auto;
}
.grid.three-columns{
grid-template-columns: repeat( 3, minmax(450px, 1fr) );
}
.grid.two-columns .full-width{
grid-column: span 2;
}
.grid.three-columns .full-width{
grid-column: span 3;
}
/* Common */
.box-header{
background-color: #f6f6f6;
padding: 1px;
}
.text-center{
text-align: center;
}
pre{
background-color: transparent;
border: none;
padding: 0;
white-space: pre-wrap;
}