Template:Infobox/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 10: Line 10:
}
}


:root.skin-citizen-dark .infobox {
skin-citizen-dark .infobox {
border: 2px solid red;
border: 2px solid red !important;
}
}



Revision as of 19:46, 7 April 2022

/* CSS placed here will affect Community templates */

@media screen and (max-width: 600px) {
  .infobox table {
  	clear: left;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
}

skin-citizen-dark .infobox {
	border: 2px solid red !important;
}

.skin-citizen-dark .infobox table {
	background: rgb(31, 38, 44);
	color: #FFF;
}

.skin-citizen-light .infobox table, .skin-timeless .infobox table, .skin-vector .infobox table {
	background: rgb(180, 190, 185);
	color: #1a1a1b;
}

.infobox table {
	
	margin: 0 0 1em 1em;
	font-size: 95%;
	width: 310px;
	padding: 10px;
	text-align: left;
	float: right;
	border-radius:16px;
}

.infoboxheader {
	background-color: #ff4500;
	color: #fff;
	text-align: center;
	font-size:125%;
	font-weight:bold;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.