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

92 lines
1.5 KiB

@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&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;
--border-type: solid;
--border-size: 1px;
--border-color: var(--fg-faded);
--border-radius: 1rem;
2 years ago
--content-max-width: 850px;
--h-uni-padding: 0.8rem;
--v-uni-padding: 0.2rem;
2 years ago
--fg: #c5c8c6;
color: var(--fg);
--fg-emph: var(--fg);
--fg-faded: #969896;
--fg-button: var(--fg-faded);
--fg-link: #5b83a6;
--fg-code: #de935f;
--fg-gold: #f0c674;
--emph-shadow: 0 0 2px;
2 years ago
--bg: #16191c;
--bg-emph: #212426;
--trans-time: 150ms;
2 years ago
}
* {
box-sizing: border-box;
font-family: "Fira Code", monospace;
padding: 0;
margin: 0;
2 years ago
}
html {
background: var(--bg);
scroll-behavior: smooth;
scroll-snap-type: y mandatory;
2 years ago
}
section {
/* scroll-snap-align: center; */
}
#__next {
/*body*/
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: var(--content-max-width);
min-height: 100vh;
}
a {
color: var(--fg-link);
text-decoration: none;
transition: var(--trans-time) opacity;
}
a:hover {
opacity: 0.8;
}
2 years ago
/* h1, */
/* h2, */
/* h3, */
/* h4, */
/* h5, */
/* em { */
/* font-weight: normal; */
/* color: var(--fg-emph); */
/* } */
h1,
h2,
h3,
h4,
h5 {
font-weight: bold;
2 years ago
}
2 years ago
p {
margin: 0.5rem 0;
2 years ago
}
em {
/* font-weight: normal; */
font-style: normal;
/* text-shadow: var(--emph-shadow) currentColor; */
}