mirror of
https://github.com/urlysses/1991.git
synced 2024-11-26 11:38:05 +11:00
General styling updates (better text hierarchy)
This commit is contained in:
parent
0060efb69c
commit
8846cd2a67
21
1991.css
21
1991.css
@ -95,7 +95,7 @@ section {
|
||||
main h1 {
|
||||
margin-top: 8%;
|
||||
margin-bottom: 0;
|
||||
font-family: "Rubik Mono One";
|
||||
font-family: "Rubik Mono One", sans-serif;
|
||||
background: #fff;
|
||||
color: #2637dd;
|
||||
padding: 0.1em 0.3em;
|
||||
@ -106,6 +106,21 @@ main h1 {
|
||||
|
||||
h2 {
|
||||
margin-top: 5%;
|
||||
position: relative;
|
||||
}
|
||||
h2::first-letter {
|
||||
color: #2637dd;
|
||||
}
|
||||
h2:after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 0.7em;
|
||||
height: 2em;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -0.05em;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
@ -146,6 +161,10 @@ pre {
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
}
|
||||
p {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: #fff;
|
||||
|
Loading…
Reference in New Issue
Block a user