Files
fedizinefest-deprecated/styles/main.css
T

134 lines
2.3 KiB
CSS
Raw Normal View History

2021-04-12 21:32:32 +00:00
/* Our default values set as CSS variables */
2020-10-14 18:31:47 +00:00
:root {
2024-12-11 23:34:44 +00:00
--color-bg: #f0f0f0;
2024-12-11 23:45:47 +00:00
--color-text-main: #640054;
--color-text-header: #185370;
2024-12-11 23:53:48 +00:00
--color-warn: #FBCC0A;
2021-04-12 21:32:32 +00:00
--font-family: "HK Grotesk";
--font-family-header: "HK Grotesk";
2020-11-05 18:10:17 +00:00
}
2021-04-12 21:32:32 +00:00
/* Basic page style resets */
* {
box-sizing: border-box;
2020-11-05 18:10:17 +00:00
}
2021-04-12 21:32:32 +00:00
[hidden] {
display: none !important;
2020-10-14 18:31:47 +00:00
}
2021-04-12 21:32:32 +00:00
/* Import fonts */
2020-10-15 17:23:03 +00:00
@font-face {
2020-11-05 18:10:17 +00:00
font-family: HK Grotesk;
src: url("https://cdn.glitch.me/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;
src: url("https://cdn.glitch.me/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
}
2024-12-12 04:38:42 +00:00
/* Navigation */
#top-nav {
position: sticky;
top: 0px;
width: 100%;
display: flex;
2024-12-12 17:02:14 +00:00
flex-flow: row wrap;
2024-12-12 04:38:42 +00:00
align-items: stretch;
background: var(--color-bg);
border-bottom: 4px solid var(--color-text-header);
justify-content: center;
}
.nav-item {
2024-12-12 17:02:14 +00:00
margin: .5rem .5rem;
2024-12-12 04:38:42 +00:00
}
2024-12-12 03:53:34 +00:00
#footer {
2021-04-12 21:32:32 +00:00
display: flex;
justify-content: space-between;
margin: 1rem auto 0;
padding: 1rem 0 0.75rem 0;
width: 100%;
2021-04-14 23:05:54 +00:00
flex-wrap: wrap;
2024-12-11 23:45:47 +00:00
border-top: 4px solid var(--color-text-header);
2021-04-12 21:32:32 +00:00
}
.divider {
padding: 0 1rem;
}
2024-12-12 03:53:34 +00:00
/* WIP banner */
.wip {
background-color: var(--color-warn);
color: var(--color-text-main);
font-family: var(--font-family);
padding: 0.05rem 1rem;
width: 100%;
border: solid var(--color-text-header);
2024-12-12 16:00:51 +00:00
border-radius: 5px;
2024-12-12 03:53:34 +00:00
margin-top: 1rem;
2024-12-12 16:27:47 +00:00
text-align: center;
2024-12-12 03:53:34 +00:00
}
2021-04-12 21:32:32 +00:00
2024-12-12 16:12:27 +00:00
/* Body */
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);
2024-12-11 23:34:44 +00:00
color: var(--color-text-main);
2018-03-19 20:01:30 +00:00
}
2024-12-11 23:53:48 +00:00
/* Links */
a:link,
a:visited {
2024-12-12 04:04:47 +00:00
background-color: var(--color-text-main);
color: var(--color-bg);
2024-12-11 23:53:48 +00:00
font-size: 1.1rem;
font-weight: bold;
2024-12-12 04:04:47 +00:00
padding: 0 .2rem;
2024-12-12 04:27:30 +00:00
text-decoration: none;
2024-12-12 16:00:51 +00:00
border-radius: 5px;
2024-12-11 23:53:48 +00:00
}
2024-12-12 05:43:30 +00:00
/* Images */
img {
width: 100%;
}
2021-04-12 21:32:32 +00:00
/* Page structure */
2020-10-14 18:31:47 +00:00
.wrapper {
2020-10-15 16:59:57 +00:00
display: grid;
2020-10-15 17:34:52 +00:00
place-items: center;
2021-04-14 15:05:00 +00:00
margin: 0 1rem;
2020-10-14 18:31:47 +00:00
}
2020-11-05 18:10:17 +00:00
2024-12-12 16:00:51 +00:00
@media (min-width: 600px) {
#main {
width: 60%;
}
}
2024-12-11 23:34:44 +00:00
/* Headings */
h1, h2, h3 {
2024-09-23 21:15:47 +00:00
color: var(--color-text-header);
2021-04-12 21:32:32 +00:00
font-weight: bold;
line-height: 105%;
2020-11-05 18:10:17 +00:00
}
2024-12-11 23:34:44 +00:00
h1 {
font-size: 3rem;
margin: 1rem 0;
}
h2 {
font-size: 2rem;
margin: .5rem 0 0 0;
}
h3 {
2024-12-12 16:00:51 +00:00
font-size: 1.4rem;
2024-12-11 23:34:44 +00:00
margin: .5rem 0 0 0;
2021-05-26 21:53:06 +00:00
}