MediaWiki:Common.css: Difference between revisions

From Auranogi
No edit summary
No edit summary
Line 7: Line 7:
#homeRight {
#homeRight {
  display: flex;
  display: flex;
margin-left: 1em;
}
}


Line 13: Line 14:
#mainHomeContent {
#mainHomeContent {
   display: block;
   display: block;
}
#homeRight {
margin-left: 0;
}
}
}
}

Revision as of 19:38, 3 November 2022

/* <pre> */

#mainHomeContent {
 display: flex;
}

#homeRight {
 display: flex;
 margin-left: 1em; 
}


@media screen and (max-width:650px) {
#mainHomeContent {
  display: block;
}
#homeRight {
 margin-left: 0; 
}
}

.home #toc {
	display: none;
}

.home h1 {
    font-size: 2.5em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.15em;
}

.home h2 {
	font-size: 1.25em;
	font-weight: bold;
	border: none;
	margin: 0 0 0.15em;
}

h1 small, h2 small {
   font-size: 12px;
}

.invert {
	color: white;
}

.content-tile {
	border: 1px solid #438ab5;
	background-color: #3980ab;
	padding: 1em;
	width: 100%;
	margin-right: 1em;
	margin-bottom: 1em;
}

@media (min-width: 590px) {
   .content-tile {
       width: 25%;
   }
}

.content-tile p {
	font-size: 1.25em;
	font-weight: bold;
}

.content-tile a, .content-tile a.new, .content-tile a.new:visited {
	color: white;
}

.colored {
	padding: 1em;
	background-color: #3980ab;
	color: white;
}

.colored h1, .colored h2, .colored h3, .colored h4 {
	color: white;
}

.colored a, .colored a.new, .colored a.new:visited {
	color: #54e1ef !important;
}