mirror of
https://git.tacowolf.net/TacoWolf/mestizo.monster.git
synced 2026-06-12 17:00:04 -04:00
120 lines
1.7 KiB
CSS
120 lines
1.7 KiB
CSS
body {
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
main {
|
|
padding: 1em;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: start;
|
|
align-content: center;
|
|
img {
|
|
width: 4em;
|
|
}
|
|
nav {
|
|
width: 100%;
|
|
display: flex;
|
|
padding-left: 1em;
|
|
h1 {
|
|
align-content: center;
|
|
}
|
|
ul {
|
|
align-content: center;
|
|
li {
|
|
font-size: 1.5em;
|
|
padding: 0.5em;
|
|
list-style: none;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
article {
|
|
padding: 0.5em;
|
|
hgroup {
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
text-align: justify;
|
|
}
|
|
}
|
|
}
|
|
p {
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
main {
|
|
width: 100%;
|
|
}
|
|
nav {
|
|
display: flex;
|
|
h1 {
|
|
display: none;
|
|
}
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 577px) and (max-width: 768px) {
|
|
main {
|
|
width: 80%;
|
|
nav {
|
|
justify-content: space-between;
|
|
ul {
|
|
li {
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 769px) and (max-width: 1024px) {
|
|
main {
|
|
width: 666px;
|
|
nav {
|
|
justify-content: space-between;
|
|
ul {
|
|
li {
|
|
font-size: 1.2em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
|
|
main {
|
|
width: 666px;
|
|
nav {
|
|
justify-content: space-between;
|
|
ul {
|
|
li {
|
|
font-size: 1.3em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1441px) {
|
|
main {
|
|
width: 666px;
|
|
nav {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
}
|