Template:Infobox/style.css: Difference between revisions

Template page
m (Adjusted infobox)
(Added drop shadow to infobox)
Line 23: Line 23:
background: rgb(31, 38, 44);
background: rgb(31, 38, 44);
color: #FFF;
color: #FFF;
 
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06), 0 10px 10px rgba(0, 0, 0, 0.06);
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
font-size: 95%;
font-size: 95%;

Revision as of 04:57, 8 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-light .infobox table, .skin-timeless .infobox table, .skin-vector .infobox table {
	background: rgb(180, 190, 185) !important;
	color: #1a1a1b !important;
}


.infobox-image .image:hover img {
    transform: scale( 1.1 );
}

.infobox table {
	background: rgb(31, 38, 44);
	color: #FFF;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06), 0 10px 10px rgba(0, 0, 0, 0.06);
	margin: 0 0 1em 1em;
	font-size: 95%;
	width: 400px;
	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.