Template:Main Page/style.css: Difference between revisions
Content added Content deleted
(Ngyikp changed the content model of the page Template:Main Page/style.css from "wikitext" to "Sanitized CSS") Tag: content model change |
(fix image sizing on small screens) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.homepage { |
.homepage { |
||
font-size: 1.1em; |
|||
text-align: center; |
|||
} |
|||
.homepage .logo img { |
|||
max-width: 100%; |
|||
height: auto; |
|||
} |
|||
.homepage h1 { |
|||
border: 0; |
|||
font-family: Domigorgon, Nunito, sans-serif; |
|||
margin-top: .2em; |
|||
} |
|||
.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 0 4em; |
|||
} |
|||
.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; |
|||
} |
|||
.homepage .discord { |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
} |
|||
.homepage .discord .external { |
|||
color: #5865F2; |
|||
} |
|||
.homepage .discord .mw-file-element { |
|||
padding-right: 8px; |
|||
} |
} |
Latest revision as of 22:00, 18 March 2024
.homepage {
font-size: 1.1em;
text-align: center;
}
.homepage .logo img {
max-width: 100%;
height: auto;
}
.homepage h1 {
border: 0;
font-family: Domigorgon, Nunito, sans-serif;
margin-top: .2em;
}
.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 0 4em;
}
.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;
}
.homepage .discord {
display: flex;
justify-content: center;
align-items: center;
}
.homepage .discord .external {
color: #5865F2;
}
.homepage .discord .mw-file-element {
padding-right: 8px;
}