Template:Main Page/style.css: Difference between revisions

add style
(Ngyikp changed the content model of the page Template:Main Page/style.css from "wikitext" to "Sanitized CSS")
Tag: content model change
(add style)
Line 1:
.homepage {
font-size: 1.1em;
text-align: center;
}
 
.homepage h1 {
border: 0;
font-family: Domigorgon, Nunito, sans-serif;
}
 
.homepage .mw-headline {
font-size: 1.2em;
font-weight: normal;
}
 
.homepage .bodySearch {
margin: 1.5em;
}
 
.homepage .navigation ul {
font-family: Domigorgon, Nunito, sans-serif;
list-style: none;
margin: 2em;
}
 
.homepage .navigation li {
display: inline-block;
transition: background-color .2s ease;
}
 
.homepage .navigation li:hover {
transition: none;
}
 
.homepage .navigation a {
display: block;
font-size: 1.5em;
padding: .5em;
text-decoration: none;
}
 
.homepage .navigation li:nth-child(4n+1):hover {
background: #00f3dd;
}
 
.homepage .navigation li:nth-child(4n+2):hover {
background: #d8ff55;
}
 
.homepage .navigation li:nth-child(4n+3):hover {
background: #ffa694;
}
 
.homepage .navigation li:nth-child(4n+4):hover {
background: #b69aff;
}