Template:Community/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 3: Line 3:
@media screen and (max-width: 600px) {
@media screen and (max-width: 600px) {
   .infobox table {
   .infobox table {
     margin-left: auto;
  clear: left;
     margin-right: auto;
     margin-left: auto !important;
     width: 100%;
     margin-right: auto !important;
     width: 100% !important;
   }
   }
}
}

Revision as of 17:06, 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;
  }
}

.infobox table {
	border: solid #1a1a1b 1px;
	margin: 0 0 1em 1em;
	font-size: 95%;
	background: #ccd;
	color: #1a1a1b;
	width: 310px;
	padding: 10px;
	text-align: left;
	float: right;
}

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