MediaWiki:Common.css: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:


.list {
.list {
  display: flex;
display: flex;
}
}


.card {
.card {
  width: 20%;
width: 20%;
  /* following for demo only */
/* following for demo only */
  border: 1px solid black;
border: 1px solid black;
  border-right: none;  
border-right: none;  
  height: 100px;
height: 100px;
}
}


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


.card:last-child {
.card:last-child {
  margin-right: 0;
margin-right: 0;
  border-right: 1px solid black;
border-right: 1px solid black;
}
}
  .mw-body .firstHeading {
  .mw-body .firstHeading {
    display: none;
}
#mw-panel {
     display: none;
     display: none;
}
}

Revision as of 15:54, 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;
}
 .mw-body {
    border: none;
  }
#p-logo a {
    display: none;
}
.mw-footer {
    display: none;
}

.list {
	display: flex;
}

.card {
	width: 20%;
	/* following for demo only */
	border: 1px solid black;
	border-right: none; 
	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;
	border-right: 1px solid black;
}
 .mw-body .firstHeading {
    display: none;
}

#mw-panel {
    display: none;
}