mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-11 05:11:40 +00:00
🔡 Typographic changes
This commit is contained in:
@ -8,7 +8,7 @@ body {
|
||||
border-top: 1rem solid red;
|
||||
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
||||
font-size: 20px;
|
||||
padding: 0;
|
||||
padding: 2rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -28,6 +28,25 @@ h1 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
.title__thicc {
|
||||
font-size: 10vh;
|
||||
line-height: 0.75;
|
||||
padding: 0;
|
||||
margin: 0.5rem 0rem;
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.help {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.help li {
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, [col] 1fr [col]);
|
||||
@ -43,11 +62,11 @@ h1 {
|
||||
}
|
||||
|
||||
.box {
|
||||
grid-column: span 2;
|
||||
background: black;
|
||||
color: white;
|
||||
padding: 1rem;
|
||||
margin: 2rem;
|
||||
height: auto;
|
||||
}
|
||||
.box a {
|
||||
color: white;
|
||||
@ -73,96 +92,6 @@ h1 {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 200px) {
|
||||
#title, #description, #summary {
|
||||
grid-column: span 4;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.list, .item {
|
||||
grid-column: span 4;
|
||||
}
|
||||
|
||||
.list {
|
||||
padding: 0 auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.title__thicc {
|
||||
font-size: 9vw;
|
||||
line-height: 0.75;
|
||||
padding: 0;
|
||||
margin: 0.5rem 0rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 600px) {
|
||||
body {
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-row-gap: 1em;
|
||||
}
|
||||
|
||||
#title {
|
||||
grid-column: 1/span 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
#summary {
|
||||
grid-column: 3/span 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
#description {
|
||||
grid-column: span 4;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.item {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
}
|
||||
.small {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
#title {
|
||||
grid-column: 1/span 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
#description {
|
||||
grid-column: 2/span 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
#summary {
|
||||
grid-column: 1/span 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.list {
|
||||
grid-row: span 3;
|
||||
grid-column: span 1;
|
||||
}
|
||||
}
|
||||
.block__dictionary {
|
||||
max-width: 50rem;
|
||||
margin-left: auto;
|
||||
@ -259,6 +188,7 @@ p {
|
||||
p {
|
||||
margin: 0.75rem 0;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.style__italics {
|
||||
|
Reference in New Issue
Block a user