Files
fedizinefest-deprecated/style.css
T

127 lines
2.3 KiB
CSS
Raw Normal View History

2020-11-05 18:10:17 +00:00
/* Our default values set for mobile */
2020-10-14 18:31:47 +00:00
:root {
2020-11-05 18:10:17 +00:00
--color-bg: #69F7BE;
--color-text-main: #2800FF;
--wrapper-height: 87vh;
--image-max-width: 300px;
--image-margin: 3rem;
}
/* Tablet portrait */
@media (min-width: 768px) {
:root {
--wrapper-height: 87vh;
--image-max-width: 400px;
--image-margin: 5rem;
}
}
/* Tablet Landscape */
@media (min-width: 1024px) {
:root {
--wrapper-height: 87vh;
--image-max-width: 500px;
}
}
/* Desktop */
@media (min-width: 1280px) {
:root {
--wrapper-height: 87vh;
--image-max-width: 500px;
}
2020-10-14 18:31:47 +00:00
}
2020-10-15 17:23:03 +00:00
@font-face {
2020-11-05 18:10:17 +00:00
font-family: HK Grotesk;
2021-04-12 03:50:40 +00:00
src: url("https://cdn.glitch.com/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
2020-11-05 18:10:17 +00:00
format("opentype");
2020-10-15 17:23:03 +00:00
}
@font-face {
2020-11-05 18:10:17 +00:00
font-family: HK Grotesk;
font-weight: bold;
2021-04-12 03:50:40 +00:00
src: url("https://cdn.glitch.com/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
2020-11-05 18:10:17 +00:00
format("opentype");
2020-10-15 17:23:03 +00:00
}
2018-03-19 20:01:30 +00:00
body {
2020-10-15 17:23:03 +00:00
font-family: HK Grotesk;
2020-11-05 18:10:17 +00:00
background-color: var(--color-bg);
2018-03-19 20:01:30 +00:00
}
2020-10-15 17:11:55 +00:00
.title {
2020-11-05 18:10:17 +00:00
color: var(--color-text-main);
2020-10-15 17:23:03 +00:00
font-family: HK Grotesk;
font-style: normal;
font-weight: bold;
2020-11-05 18:10:17 +00:00
font-size: 120px;
2020-10-15 17:23:03 +00:00
line-height: 105%;
2018-03-14 21:57:55 +00:00
}
2020-10-14 18:31:47 +00:00
.wrapper {
2020-11-05 18:10:17 +00:00
min-height: var(--wrapper-height);
2020-10-15 16:59:57 +00:00
display: grid;
2020-10-15 17:34:52 +00:00
place-items: center;
2020-11-05 18:10:17 +00:00
margin-left: 2rem;
margin-top: 3rem;
2020-10-14 18:31:47 +00:00
}
.content {
2020-10-15 16:59:57 +00:00
display: flex;
flex-direction: column;
2020-10-16 18:20:01 +00:00
align-items: center;
justify-content: center;
2020-11-05 18:10:17 +00:00
}
/* Navigation grid */
.navigation {
display: flex;
justify-content: flex-end;
2020-10-14 18:31:47 +00:00
}
2020-10-16 17:58:14 +00:00
/* Our remix on glitch button + grid for other actions */
2020-10-15 17:11:55 +00:00
.btn--remix {
2020-10-15 17:34:52 +00:00
font-family: HK Grotesk;
2020-11-05 18:10:17 +00:00
padding-left: 1rem;
padding-right: 1rem;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
2020-10-15 17:11:55 +00:00
font-size: 1.1rem;
line-height: 1rem;
font-weight: 500;
align-items: center;
display: inline-flex;
cursor: pointer;
background: #FFFFFF;
border: 1px solid #000000;
box-sizing: border-box;
border-radius: 4px;
2020-11-05 18:22:01 +00:00
color: #000;
text-decoration: none;
2020-11-05 18:10:17 +00:00
}
.btn--remix:hover {
background-color: #D0FFF1;
2020-10-15 17:11:55 +00:00
}
.btn--remix img {
2020-11-05 18:10:17 +00:00
margin-right: 0.5rem;
2020-10-15 17:11:55 +00:00
}
2020-11-05 18:10:17 +00:00
.btn--remix {
margin-right: 1rem;
}
/* Very light scaling for our illustration */
2020-10-14 18:31:47 +00:00
.illustration {
2020-10-16 18:20:01 +00:00
max-width: 100%;
2020-11-05 18:10:17 +00:00
max-height: var(--image-max-width);
margin-top: var(--image-margin);
2020-10-15 16:59:57 +00:00
}
2020-11-05 18:10:17 +00:00
/*
Add hover state to the buttons!! oops
*/