Template:Community/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will affect Community templates */
/* CSS placed here will affect Community templates */


@media screen and (min-width: 720px) {
@media screen and (max-width: 600px) {
   .infobox table {
   .infobox table {
     margin-left: 1.4rem;
     margin-left: auto;
     clear: right;
     margin-right: auto;
    float: right;
     width: 100%;
     width: 100%;
   }
   }

Revision as of 18:03, 7 April 2022

/* CSS placed here will affect Community templates */

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

.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.