/* Reset a couple of things for the sake of ease */ /* Variables */ :root { --color-background: #f0f0f0; --color-background-alternative: #afafaf; --color-text-default: #0e0e0e; --color-accent-1: #0000ff; --color-accent-2: #00ff00; --color-accent-3: #ff0000; } /* End variables */ /* General styles */ body { background-color: var(--color-background); color: var(--color-text-default); line-height: 1.6em; letter-spacing: 0.025em; font-family: "Noto sans", sans-serif; font-weight: 300; } section { max-width: 42vw; margin: 0 auto 2em auto; overflow: hidden; clear: both; display: block; } section img { display: block; margin: 2em auto; max-width: 100%; } h1 { text-transform: uppercase; display: inline-block; font-family: "Gidole", monospace; font-weight: bold; font-weight: 600; letter-spacing: 0.025em; font-size: 2.6em; line-height: 1.6em; border-bottom: 0.4em solid; border-color: var(--color-accent-2); margin: 1em 0 2em 0; } h2 { text-transform: uppercase; display: inline-block; margin: 3em 0 1em 0; font-family: "Gidole", monospace; font-weight: bold; font-weight: 400; letter-spacing: 0.025em; font-size: 1.4em; line-height: 1.6em; } h3 { color: var(--color-text-alternative); font-family: "Gidole", monospace; text-transform: uppercase; font-weight: 400; font-size: 1.2em; margin: 4em 0 1em 0; } a, a:active, a:visited { background-color: var(--color-accent-1); color: var(--color-background); text-decoration: underline; padding: 0 0.2em; } p { font-size: 1.2em; line-height: 1.75em; margin: 1em 0; } em { font-size: 0.8em; } li { margin: 1em 0; padding-left: 0.8em; } /* Header */ header { margin: 1em auto 4em auto; } /* Smaller screen tweaks */ @media screen and (max-width: 940px) { section { max-width: 90vw; } header { max-width: 90vw; } footer { padding: 0; } footer ul { flex-flow: column; margin: 3em 0 0 0; } footer ul li { padding: 1em; border-bottom: none; border-left: 0.5em solid; } footer ul li:nth-child(1) { border-bottom: none; } footer ul li:nth-child(2) { border-bottom: none; } footer ul li:nth-child(3) { border-bottom: none; } } @media print { section { max-width: 100%; width: 100%; margin: 0; } body { max-width: 95%; width: 95%; margin: 1em; font-size: 14px; } } /* Fonts */ @import url("https://fonts.googleapis.com/css?family=Noto+Sans"); @font-face { font-family: "Gidole"; src: url("Gidole-Regular.ttf") format("truetype"); }