Personal-site/styles/global.css

77 lines
1.2 KiB
CSS
Raw Permalink Normal View History

2020-06-14 09:06:49 +00:00
/* Import fonts here */
@import url("https://fonts.googleapis.com/css2?family=Muli:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* Global variables */
:root {
--primary: #ffab70;
--secondary: #f97583;
--tertiary: #b392f0;
--quaternary: #79b8ff;
--quinary: #b8eb78;
--dark: #1f1e22;
--lightDark: #2c2c2c;
--darkLight: #959da5;
--light: #d1d5da;
--fontFamily: Muli, sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2020-06-14 11:47:02 +00:00
html,
2020-06-14 09:06:49 +00:00
body {
background: var(--dark);
color: var(--light);
font-family: var(--fontFamily);
2020-06-14 14:20:45 +00:00
scroll-behavior: smooth;
2020-06-14 09:06:49 +00:00
}
.wrapper {
2020-06-14 11:47:02 +00:00
position: relative;
height: 100vh;
2020-06-14 14:59:50 +00:00
min-height: 100vh;
2020-06-14 09:06:49 +00:00
}
h1 {
margin: 0;
2020-06-14 11:47:02 +00:00
font-weight: 900;
line-height: 1.35;
2020-06-14 09:06:49 +00:00
font-size: 4rem;
2020-06-14 11:47:02 +00:00
letter-spacing: 0.02em;
}
h3 {
margin-top: 1rem;
font-weight: 600;
line-height: 1.35;
font-size: 1.5rem;
letter-spacing: 0.02em;
}
a,
p {
font-style: normal;
font-size: 1em;
color: var(--light);
line-height: 1.35;
2020-06-14 11:47:02 +00:00
}
a,
a:hover,
a:visited {
text-decoration: none;
color: none;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
2020-06-14 09:06:49 +00:00
}