132 lines
2.1 KiB
CSS
132 lines
2.1 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
|
|
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&display=swap");
|
|
:root {
|
|
--blue: #002D62;
|
|
--red: #C8102E;
|
|
--green: #4CAF50;
|
|
--background: #F5F5F5;
|
|
--primary-text: #1A1A1A;
|
|
--secondary-text: #555555;
|
|
--success: #2E8B57;
|
|
--warning: #FFA500;
|
|
--error: #D72638;
|
|
--primary-font: "Bebas Neue", sans-serif;
|
|
--secondary-font: "Anton", sans-serif;
|
|
}
|
|
|
|
/* 1. Use a more-intuitive box-sizing model */
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 2. Remove default margin */
|
|
* {
|
|
margin: 0;
|
|
}
|
|
|
|
/* 3. Enable keyword animations */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
html {
|
|
interpolate-size: allow-keywords;
|
|
}
|
|
}
|
|
body {
|
|
/* 4. Add accessible line-height */
|
|
line-height: 1.5;
|
|
/* 5. Improve text rendering */
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* 6. Improve media defaults */
|
|
img, picture, video, canvas, svg {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* 7. Inherit fonts for form controls */
|
|
input, button, textarea, select {
|
|
font: inherit;
|
|
}
|
|
|
|
/* 8. Avoid text overflows */
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* 9. Improve line wrapping */
|
|
p {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
text-wrap: balance;
|
|
}
|
|
|
|
/*
|
|
10. Create a root stacking context
|
|
*/
|
|
#root, #__next {
|
|
isolation: isolate;
|
|
}
|
|
|
|
header {
|
|
background: var(--blue);
|
|
padding: 20px;
|
|
}
|
|
header #site-name {
|
|
font-family: var(--secondary-font);
|
|
font-size: 2rem;
|
|
letter-spacing: 1px;
|
|
}
|
|
header a {
|
|
color: var(--background);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--primary-font);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--primary-text);
|
|
padding: 20px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/*# sourceMappingURL=style.css.map */
|