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

79 lines
1.1 KiB

:root {
2 years ago
font-size: 18px;
--border-type: solid;
2 years ago
--border-size: 1px;
2 years ago
--border-color: #373a44;
2 years ago
--border-radius: 1rem;
--content-max-width: 60rem;
--h-uni-padding: .8rem;
--v-uni-padding: .2rem;
2 years ago
--fg: #bbc2cf;
color: var(--fg);
2 years ago
--fg-emph: #fff;
2 years ago
--fg-faded: #aaa;
2 years ago
--fg-button: var(--fg-faded);
2 years ago
--fg-link: #abf;
--fg-code: #ffbe85;
--fg-gold: #fff190;
2 years ago
--emph-shadow: 0 0 2px;
2 years ago
2 years ago
--bg: #272a34;
--bg-dark: #21242b;
--trans-time: .2s;
2 years ago
}
* {
box-sizing: border-box;
font-family: "IBM Plex Mono", monospace;
padding: 0;
margin: 0;
}
html {
background: var(--bg);
}
#__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 {
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;
}
@media only screen and (max-width: 940px) {
.burger-container {
display: block;
background-color: lightblue;
}
}