MediaWiki:Common.css: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
.mw-footer {
.mw-footer {
     display: none;
     display: none;
}
.list {
  display: flex;
}
.card {
  width: 20%;
  margin: 0 5px;
  /* following for demo only */
  border: 1px solid red;
  height: 100px;
}
/* if you wantcards tight up to left and right edges of row */
.card:first-child {
  margin-left: 0;
}
.card:last-child {
  margin-right: 0;
}
}

Revision as of 15:43, 21 December 2023

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

/* White background in body */
body {
	background-color: white;
	transition: background-color 1s ease;
}
/* Mediawiki horizontal navigation styles */
#mw-head {
    background-color: white;
	transition: background-color 1s ease;
	display: none;
}
#mw-page-base {
	background-color: white;
	transition: background-color 1s ease;
	background-image: none;
}
#p-logo a {
    display: none;
}
.mw-footer {
    display: none;
}

.list {
  display: flex;
}

.card {
  width: 20%;
  margin: 0 5px;
  /* following for demo only */
  border: 1px solid red;
  height: 100px;
}


/* if you wantcards tight up to left and right edges of row */
.card:first-child {
  margin-left: 0;
}

.card:last-child {
  margin-right: 0;
}