Files

167 lines
2.1 KiB
CSS

@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 {
--black: #131314;
--white: #dddddd;
--crimson: #bd1839;
--light-gray: #e7e7e7;
--dark-background: #1d1b1b;
--light-background: #fbfbfb;
--partial-dark-background: var(--black);
--partial-light-background: #ececec;
--card-radius: 1.875rem;
--form-radius: 0.563rem;
--shadow: 0px 4px 8px rgba(0, 0, 0, 0.04);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
}
::-webkit-scrollbar-thumb {
background: transparent;
}
::selection {
background: var(--text);
color: var(--background);
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
background-color: var(--background);
color: var(--text);
isolation: isolate;
user-select: text;
}
body::-webkit-scrollbar {
width: 0.5rem;
}
body::-webkit-scrollbar-thumb {
background-color: var(--text);
}
#links .linkedin,
#links .github,
#links .cv-paper-flip,
#links .mail,
#nav-toggler svg path,
.arrow,
.eye,
.calendar,
.clock {
stroke: var(--text);
}
#links .twitter,
#links .rss,
#links .cv,
#links .moon > path {
fill: var(--text);
}
main {
width: 85%;
min-height: 70vh;
margin: auto;
}
img,
picture,
video,
canvas,
svg {
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
main h1,
main h2,
main h3 {
margin-bottom: 1rem;
}
main p {
margin-bottom: 2rem;
}
main h1 {
font-size: 4rem;
}
main h2 {
font-size: 3rem;
}
main h3 {
font-size: 2rem;
}
a {
color: var(--text);
}
a,
button {
cursor: pointer;
}
@media only screen and (max-width: 1024px) {
main h1 {
font-size: 2.5rem;
}
main h2 {
font-size: 1.75rem;
}
main h3 {
font-size: 1.25rem;
}
}
@media only screen and (min-width: 1440px) {
body {
font-size: 18px;
}
main {
width: 1368px;
}
}