MediaWiki:Common.css: Difference between revisions

From Auranogi
No edit summary
No edit summary
Line 125: Line 125:
padding: 2px;
padding: 2px;
border: 1px solid white;
border: 1px solid white;
cursor: pointer;
}
}


Line 136: Line 137:
.NavFrame .NavContent {
.NavFrame .NavContent {
display: none;
display: none;
padding: 8px;
padding: 8px;
background-color: white;
background-color: white;
color: black;
color: black;
font-weight: normal;
font-weight: normal;
}
}

Revision as of 10:17, 21 February 2023

/* <pre> */

#p-navigation {
 background-color: #1195db;
 border-radius: 6px;
}

#p-navigation a {
 color:white;
 font-weight: bold;
 line-height: normal;
}

#p-navigation a:hover {
 text-decoration-line: none;
 color: #cff6ff;
}

.page-Main_Page h1.firstHeading {
 display: none;
} 

#mainHomeContent {
 display: flex;
}

#homeRight {
 display: flex;
 margin-left: auto; 
}



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


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

.content-tile {
 margin-right: 0;
}
}


/* MediaWiki:DynamicNav.js */

.NavFrame {
	background-color: #1195db;
	padding: 1px;
	color: white;
	text-align: center;
	font-weight: bold;
}

.NavFrame .NavHead {
	padding: 2px;
	border: 1px solid white;
	cursor: pointer;
}

.NavFrame .navigation {
	float: right;
	color: #fff;
	margin-right: 8px;
	width: 50px;
}

.NavFrame .NavContent {
	display: none;
	padding: 8px;
	background-color: white;
	color: black;
	font-weight: normal;
}