Add lists, font variants
This commit is contained in:
parent
1f9e8ba7f6
commit
5c3d826e32
2 changed files with 32 additions and 48 deletions
|
@ -19,6 +19,10 @@ body {
|
|||
font-family: "Inter var", "Inter", sans-serif;
|
||||
color: var(--text);
|
||||
margin: 0;
|
||||
margin-top: 4rem;
|
||||
padding: 1rem;
|
||||
font-weight: 350;
|
||||
font-feature-settings: "ss01", "ss02", "ss03", "cv05", "cv08";
|
||||
}
|
||||
|
||||
h1, h2, h3 {font-weight: 250}
|
||||
|
@ -33,7 +37,10 @@ h4 {font-size: 1.2rem}
|
|||
h5 {font-size: 1rem}
|
||||
h6 {font-size: .8rem}
|
||||
|
||||
p {font-weight: 350}
|
||||
p {
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--link);
|
||||
text-decoration: none;
|
||||
|
@ -45,14 +52,16 @@ a:hover {text-decoration: underline;}
|
|||
}
|
||||
|
||||
nav {
|
||||
position: sticky;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 4rem;
|
||||
line-height: 2rem;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
background: var(--bg-00);
|
||||
color: var(--text-00);
|
||||
font-variant: small-caps;
|
||||
}
|
||||
nav > * {
|
||||
margin-right: 1rem;
|
||||
|
@ -70,3 +79,7 @@ nav .logo {
|
|||
height: 2rem;
|
||||
border: .1rem solid white;
|
||||
}
|
||||
|
||||
ul {list-style-type: "–"}
|
||||
ol {list-style-type: decimal-leading-zero}
|
||||
li {padding-left: .5rem}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue