/* Copyright (C) 2022 Rawley Fowler This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see .Rawley Fowler, 2022 */ /* Color Scheme from here: https://draculatheme.com */ html { max-width: 100vw; min-height: 100vh; } body { color: #282a36; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialias; -moz-osx-font-smoothing: grayscale; background-color: #f8f8f2; font-size: calc(12px + 0.33vw); margin: auto; padding: 1.3em; max-width: clamp(400px, 750px + 3vw, 900px); } h1 { font-size: 2.7em; font-weight: 800; margin-bottom: 0; margin-top: 12px; font-style: italic; } h2 { font-size: clamp(1.6em, 1.6em, 1.8em); font-weight: 700; margin-bottom: 0; } h3 { font-size: clamp(1.3em, 1.4em, 1.6em); font-weight: 700; margin-bottom: 6px; } h4 { font-size: clamp(1.1em, 1.2em, 1.3em); font-weight: bold; margin-bottom: 6px; } p { font-size: clamp(0.9em, 1em, 1.1em); font-weight: 400; line-height: 1.4; max-width: 50em; } li { padding-top: 6px; padding-bottom: 6px; } a { text-decoration: none; position: relative; transition: 100ms linear; color: inherit; } a::after { content: ''; position: absolute; z-index: -1; top: 83%; left: 0; right: 0; bottom: 0; transition: 102ms cubic-bezier(0, 0.86, 0.1, 1); background-color: #fff42b; } a:hover:after { top: 8%; } .header { display: flex; flex-direction: column; justify-content: center; } .nav-bar { display: flex; flex-direction: row; flex-wrap: wrap; margin-top: calc(12px + 1vh); margin-bottom: 0.66vw; } .nav-item { display: block; margin-right: 12px; margin-top: 6px; font-size: 1.5em; } .content-wrapper { margin: 12px; } .subtext, .sub-text { font-size: clamp(0.65em, 0.72em, 0.8em); } .footer > a { margin-right: 6px; } .footer-text { font-size: 0.8em; } .post-record { padding-right: 6px; width: 200px + 2vw; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; margin-top: 12px; } .post-record-title { font-size: 1.3em; font-weight: 400; } .skill-keywords { overflow: wrap; font-size: 0.9em; } .skill-keywords > i::before { content: " '"; } .skill-keywords > i::after { content: "' "; } .wrap { word-wrap: break-word; overflow: wrap; } /* For code snippets */ pre { overflow: auto; background-color: #44475a; padding: 3px; } code { color: #50fa7b; font-family: monospace; font-size: 0.9em; margin-left: 3px; overflow: auto; } @media (prefers-color-scheme: dark) { body { color: #f8f8f2; background-color: #282a36; } body * { color: #f8f8f2; } body > * { color: #f8f8f2; } code { color: #50fa7b; } a::after { background-color: #bd93f9; } code { color: #50fa7b; } }