updated css
This commit is contained in:
parent
57c06d1d1b
commit
cf9d3140df
BIN
css/Inter-Bold.woff2
Normal file
BIN
css/Inter-Bold.woff2
Normal file
Binary file not shown.
BIN
css/Inter-Regular.woff2
Normal file
BIN
css/Inter-Regular.woff2
Normal file
Binary file not shown.
@ -1,9 +1,21 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
src: url("Inter-Regular.woff2");
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
src: url("Inter-Bold.woff2");
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--txt: #c4c7c4;
|
--txt: #e2dfdb;
|
||||||
--body-bg: #272c31;
|
--body-bg: #222426;
|
||||||
--dark: #000;
|
--accent: #9a9184;
|
||||||
--accent: #42a5f5;
|
--border: #3f4447;
|
||||||
--font-body: "Consolas", monaco, "Liberation Mono", "Lucida Console", monospace;
|
--font-body: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -15,32 +27,36 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
max-width: 1000px;
|
max-width: 800px;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0 2.5rem 0;
|
||||||
}
|
|
||||||
|
|
||||||
header a {
|
|
||||||
color: var(--accent);
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header a:hover {
|
nav,
|
||||||
text-decoration: none !important;
|
footer {
|
||||||
|
margin-bottom: 1.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav a {
|
||||||
padding-bottom: 1rem;
|
border: 1px solid var(--border);
|
||||||
|
border-radius: .3rem;
|
||||||
|
margin: .7rem;
|
||||||
|
padding: .4rem 1.2rem;
|
||||||
|
text-decoration: none;
|
||||||
|
box-shadow: 0px 2px 3px -2px rgba(0,0,0,.3);
|
||||||
|
user-select: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a,
|
nav a:hover {
|
||||||
footer a {
|
color: var(--txt);
|
||||||
padding: 1rem;
|
border: 1px solid #51585c;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
@ -48,7 +64,6 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main p {
|
main p {
|
||||||
max-width: 70%;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -66,15 +81,7 @@ main ul {
|
|||||||
|
|
||||||
.inline {
|
.inline {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
color: #06c;
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
margin: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@ -89,18 +96,15 @@ a {
|
|||||||
transition: 300ms;
|
transition: 300ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
a:hover,
|
||||||
text-shadow: 0 0 .4rem var(--txt);
|
a:active {
|
||||||
|
color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background: var(--dark);
|
|
||||||
padding: .2rem .3rem;
|
padding: .2rem .3rem;
|
||||||
border-radius: .3rem;
|
border-radius: .3rem;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
margin: .3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
|
||||||
a:active {
|
|
||||||
text-decoration: underline !important;
|
|
||||||
color: var(--accent);
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user