:root{ --main: #00b800; /* text with this color on a black or "contrast-bg" background has a contrast rating of at least 7, which makes it compliant with WCAG guidelines AAA standard */ --contrast-bg: #001000; } body{ margin: 0; font-size: 16px; background-color: black; background-image: url("assets/img/bg.png"); background-repeat: repeat; background-attachment: fixed; font-family: "Hack", monospace; color: var(--main); } .content{ max-width: 1000px; border-left: var(--main) 3px solid; border-right: var(--main) 3px solid; background: black; margin: 0 auto; padding-bottom: 1px; min-height: 100vh; box-shadow: 0 0 100px 80px black; } a{ color: var(--main); } #title{ font-size: 1.125em; } #title, footer, .heading{ text-align: center; } pre{ margin: 0; } .site-head{ margin-bottom: 1em; } .centered{ width: 100%; display: inline-block; text-align: center; } h2, .horizontal_divider{ font-size: 1.2em; text-align: center; } h3{ font-size: 1.1em; } .additional_spacer{ display: inline-block; } nav{ font-size: 1.1em; } li{ list-style: square; } .links-nav{ display: flex; flex-direction: row; row-gap: 0; padding: 0 10px; } .links-nav>span>a{ text-decoration: none; white-space: pre; } .links-nav>span>a:hover{ color: #000000; background-color: var(--main); } a.highlight{ color: #000000; background-color: var(--main); text-decoration: none; } .projects-grid{ display: grid; grid-template-columns: auto auto; } .socials-grid{ margin-left: 5px; display: grid; grid-template-columns: 33% 33.5% 33%; } .project{ height: 180px; } .project, .social, .question{ padding: 5px; background: var(--contrast-bg); } .social, .question, .answer{ margin: 5px 5px; } .project, .flowing-text, .legalnotice{ margin: 10px; } .buttons-88x31{ display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin: 0 10px; } .footer-links{ white-space: pre; } /* FAQ-specific */ .question{ display: block; font-weight: bold; } .answer{ padding: 0 5px; } .split>.answer{ background: var(--contrast-bg); } .split{ display: grid; grid-template-columns: auto auto; } /* Licenses-specific */ .license-table{ margin: 0 auto; min-width: 395px; width: 95%; } .license-head{ background: var(--contrast-bg); text-align: left; } .license-head>tr>th, .license-body>tr>td{ padding-left: 3px; } .project-column, .by-column{ width: 25%; } .license-column{ width: 10%; } @media (max-width:440px){ .notes-column, .license-notes{ display:none; } } /* Links-specific */ .buttons-88x31>a{ text-decoration: none; } .buttons-88x31>a>img, .buttons-88x31>img{ display: inline-block; width: 88px; height: 31px; line-height: 31px; image-rendering: pixelated; text-align: center; background: var(--contrast-bg) } /* Text-/ASCII-Art formating */ .flags{ font-size: 0.5em; line-height: 1; padding-bottom: 10px; } .no-underline{ text-decoration: none; } .no-top-margin{ margin-top: 0; padding-top: 5px; } .no-overflow{ overflow: hidden; vertical-align: top; } .flex-row{ display: flex; flex-direction: row; justify-content: center; align-items: center; } .smol{ font-size: 0.5em; } /* Colors */ .blue{ color: lightblue; } .lightpink{ color: pink; } .white{ color: white; } .pink{ color: #D60270; } .purple{ color: #734F96; } .darkblue{ color: #0038A8; } .violet{ color: #46005F; } /* Responsive Design */ @media (min-width: 1001px){ .spacer::before{ content: "=================================" /* 33 symbols */ } /* The following a terrible fix to a problem that could be fixed otherwise, but I currently can't be bothered to do so */ .smaller-spacer::before{ content: "============================" /* 28 symbols */ } } @media (max-width: 1000px) and (min-width: 605px){ .spacer::before{ content: "================"; /* 16 symbols */ } .smaller-spacer::before{ content: "===========" /* 11 symbols */ } .socials-grid{ grid-template-columns: auto auto; } } @media (max-width: 604px){ .additional-spacer{ display:none; } .projects-grid{ grid-template-columns: auto; } .socials-grid{ grid-template-columns: auto; } } @media (max-width: 1000px) and (min-width: 750px){ .site-head{ font-size: 0.75em; } } @media (max-width: 749px) and (min-width: 510px){ .site-head{ font-size: 0.5em; } } @media (max-width: 509px){ .site-head{ font-size: 0.35em; } } @media (max-width: 570px){ .links-nav{ flex-direction: column; } .links-nav>span>a{ width: 100%; display: inline-block; } .vertical-divider-nav{ display: none; } }