111 lines
2.1 KiB
CSS
111 lines
2.1 KiB
CSS
/* Our default values set as CSS variables */
|
|
:root {
|
|
--color-bg: #f0f0f0;
|
|
--color-text-main: #185370;
|
|
--color-text-header: #93005D;
|
|
--color-primary: #FFFF00;
|
|
--wrapper-height: 87vh;
|
|
--image-max-width: 300px;
|
|
--image-margin: 3rem;
|
|
--font-family: "HK Grotesk";
|
|
--font-family-header: "HK Grotesk";
|
|
}
|
|
|
|
/* Basic page style resets */
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Import fonts */
|
|
@font-face {
|
|
font-family: HK Grotesk;
|
|
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
|
|
format("opentype");
|
|
}
|
|
@font-face {
|
|
font-family: HK Grotesk;
|
|
font-weight: bold;
|
|
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
|
|
format("opentype");
|
|
}
|
|
|
|
/* Navigation grid */
|
|
.footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 1rem auto 0;
|
|
padding: 1rem 0 0.75rem 0;
|
|
width: 100%;
|
|
flex-wrap: wrap;
|
|
border-top: 4px solid #fff;
|
|
}
|
|
|
|
.footer a:not(.btn--remix):link,
|
|
a:not(.btn--remix):visited {
|
|
font-family: HK Grotesk;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-size: 1.1rem;
|
|
color: #000;
|
|
text-decoration: none;
|
|
border-style: none;
|
|
}
|
|
.footer a:hover {
|
|
background: var(--color-primary);
|
|
}
|
|
|
|
.footer .links {
|
|
padding: 0.5rem 1rem 1.5rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.divider {
|
|
padding: 0 1rem;
|
|
}
|
|
/******************************************************************************
|
|
END Glitch hello-app default styles
|
|
******************************************************************************/
|
|
|
|
body {
|
|
font-family: HK Grotesk;
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
/* Page structure */
|
|
.wrapper {
|
|
min-height: var(--wrapper-height);
|
|
display: grid;
|
|
place-items: center;
|
|
margin: 0 1rem;
|
|
}
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Headings */
|
|
h1, h2, h3 {
|
|
color: var(--color-text-header);
|
|
font-weight: bold;
|
|
line-height: 105%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
margin: .5rem 0 0 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size 1.5rem;
|
|
margin: .5rem 0 0 0;
|
|
}
|