MediaWiki:Common.css

From Secure Group Wiki
Revision as of 16:04, 3 January 2020 by Michaelt (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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.three-columns > div, .grid.two-columns > div{
    /*height: 450px;*/
    border: 2px solid #f6f6f6;
    padding-bottom: 10px;
}

.grid.two-columns .full-width{
    grid-column: span 2;
}
.grid.three-columns .full-width{
    grid-column: span 3;
    height: auto;
}

/* 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;
}