Portfolio website written with Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wychdev-nextjs/styles/globals.css

80 lines
1.3 KiB

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
:root {
font-size: 16px;
2 years ago
--border-type: solid;
2 years ago
--border-size: 1px;
2 years ago
--border-color: var(--fg-faded);
2 years ago
--border-radius: 1rem;
--content-max-width: 850px;
2 years ago
--h-uni-padding: .8rem;
--v-uni-padding: .2rem;
--fg: #E1DCCE;
color: var(--fg);
/* --fg-emph: #fbebe2; */
--fg-emph: #EFE8D7;
2 years ago
--fg-faded: #928373;
2 years ago
--fg-button: var(--fg-faded);
--fg-link: #8398AC;
--fg-code: #ffbe85;
--fg-gold: #fff190;
--emph-shadow: 0 0 2px;
2 years ago
--bg: #181818;
--bg-emph: #242424;
--trans-time: 200ms;
2 years ago
}
* {
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
2 years ago
padding: 0;
margin: 0;
}
html {
background: var(--bg);
scroll-behavior: smooth;
2 years ago
scroll-snap-type: y mandatory;
}
section {
2 years ago
/* scroll-snap-align: center; */
}
#__next { /*body*/
2 years ago
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: var(--content-max-width);
min-height: 100vh;
}
a {
2 years ago
color: var(--fg-link);
text-decoration: none;
transition: var(--trans-time) opacity;
}
a:hover {
opacity: .4;
}
2 years ago
h1, h2, h3, h4, h5, em {
font-weight: normal;
2 years ago
color: var(--fg-emph);
}
2 years ago
p {
margin: .5rem 0;
}
em {
/* font-weight: normal; */
font-style: normal;
/* text-shadow: var(--emph-shadow) currentColor; */
}