Template:Content Row/styles.css: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
m (Sixtus verschob die Seite Vorlage:Content Row/style.css nach Vorlage:Content Row/styles.css, ohne dabei eine Weiterleitung anzulegen)
No edit summary
Line 1: Line 1:
.content_row {
+
.content_box {
display: flex;
+
flex: 1;
 
margin: 5px;
flex-direction: row;
 
flex-flow: row wrap;
+
min-width: 210px;
  +
border: 1px solid #CCC;
justify-content: space-between;
 
padding: 0;
+
padding: 0 10px 10px 10px;
  +
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
margin: 0 -5px 0 -5px;
 
  +
}
  +
.content_box h3 {
  +
/* Reset padding so is equal across skins */
  +
padding-right: 0;
  +
padding-top: 0;
  +
padding-bottom: 0;
  +
/* Padding left gets overridden by headanchor gadget */
  +
margin: 0.5em 0;
 
}
 
}

Revision as of 18:00, 9 January 2022

.content_box {
	flex: 1;
	margin: 5px;
	min-width: 210px;
	border: 1px solid #CCC;
	padding: 0 10px 10px 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.content_box h3 {
	/* Reset padding so is equal across skins */
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
}