UNPKG

@networkpro/web

Version:

Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies

578 lines (483 loc) 9.63 kB
/* ========================================================================== src/lib/styles/default.css Copyright © 2025 Network Pro Strategies (Network Pro™) SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later This file is part of Network Pro. ========================================================================== */ /* ========================================================================== Document Spacing ========================================================================== */ /* Ensures backgrounds scale up to 1920px but stop expanding beyond */ .full-width-section { width: 100%; margin: 0 auto; /* Centers background */ background-position: center; background-size: cover; max-width: 1920px; } /* Content container constrained to 1200px */ .container { padding: 0 12px; /* Half of gutter for balance */ margin: 0 auto; max-width: 1200px; } /* Constrain paragraph/text-heavy content to 900px */ .readable { margin: 0 auto; max-width: 900px; } /* Header & Footer follow the same container width */ header, footer { width: 100%; } header .container, footer .container { padding: 20px 12px; margin: 0 auto; max-width: 1200px; } /* ========================================================================== Responsive Tables ========================================================================== */ /* github table */ .gh { margin: 0 auto; border-collapse: collapse; border-spacing: 0; } .gh td { padding: 10px 5px; border-collapse: collapse; overflow: hidden; word-break: normal; } .gh th { padding: 10px 5px; border-collapse: collapse; overflow: hidden; word-break: normal; } .gh .gh-tcell { text-align: center; vertical-align: middle; } @media screen and (width <= 767px) { .gh { width: auto !important; } .gh col { width: auto !important; } .gh-wrap { margin: auto 0; -webkit-overflow-scrolling: touch; overflow-x: auto; } } /* social media table */ .soc { margin: 0 auto; border-collapse: collapse; border-spacing: 0; } .soc td { padding: 8px; border-collapse: collapse; overflow: hidden; word-break: normal; } .soc th { padding: 8px; border-collapse: collapse; overflow: hidden; word-break: normal; } .soc .soc-fa { text-align: center; vertical-align: middle; } @media screen and (width <= 767px) { .soc { width: auto !important; } .soc col { width: auto !important; } .soc-wrap { margin: auto 0; -webkit-overflow-scrolling: touch; overflow-x: auto; } } .foss { border-collapse: collapse; border-spacing: 0; } .foss td { padding: 10px 5px; border-collapse: collapse; overflow: hidden; word-break: normal; } .foss th { padding: 10px 5px; border-collapse: collapse; overflow: hidden; word-break: normal; } .foss .foss-cell { text-align: center; vertical-align: middle; } @media screen and (width <= 767px) { .foss { width: auto !important; } .foss col { width: auto !important; } .foss-wrap { -webkit-overflow-scrolling: touch; overflow-x: auto; } } .bnav { margin: 0 auto; text-align: center; border-collapse: collapse; border-spacing: 0; } .bnav td, .bnav th { padding: 10px; font-size: 0.875rem; font-weight: bold; /* Only needed for <td>, if desired */ line-height: 1.125rem; text-align: center; /* Center horizontally */ border-style: none; overflow: hidden; vertical-align: middle; /* Center vertically */ word-break: normal; } .bnav .bnav-cell { text-align: center; align-content: center; vertical-align: middle; } @media screen and (width <= 767px) { .bnav { width: auto !important; } .bnav col { width: auto !important; } .bnav-wrap { margin: auto 0; -webkit-overflow-scrolling: touch; overflow-x: auto; } } .bnav2 { margin: 0 auto; border-collapse: collapse; border-spacing: 0; } .bnav2 td { padding: 10px; font-size: 0.875rem; font-weight: bold; line-height: 1.125rem; border-style: none; overflow: hidden; word-break: normal; } .bnav2 th { padding: 12px; font-size: 0.875rem; line-height: 1.125rem; border-style: none; overflow: hidden; word-break: normal; } .bnav2 .bnav2-cell { text-align: center; align-content: center; vertical-align: middle; } @media screen and (width <= 767px) { .bnav2 { width: auto !important; } .bnav2 col { width: auto !important; } .bnav2-wrap { margin: auto 0; -webkit-overflow-scrolling: touch; overflow-x: auto; } } .pgp { margin: 0 auto; border-collapse: collapse; border-spacing: 0; } .pgp td { padding: 10px; font-size: 0.875rem; line-height: 1.125rem; border-style: none; overflow: hidden; word-break: normal; } .pgp th { padding: 10px; font-size: 0.875rem; line-height: 1.125rem; border-color: black; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal; } .pgp .pgp-col1 { text-align: right; padding-right: 1rem; /* Add spacing between columns */ vertical-align: middle; } .pgp .pgp-col2 { text-align: left; padding-left: 1rem; /* Add spacing between columns */ vertical-align: middle; } @media screen and (width <= 767px) { .pgp { width: auto !important; } .pgp col { width: auto !important; } .pgp-wrap { margin: auto 0; margin-top: 2rem; -webkit-overflow-scrolling: touch; overflow-x: auto; } } /* ========================================================================== Custom CSS ========================================================================== */ .logo { display: block; margin-left: auto; margin-right: auto; } .index-title1 { font-weight: bold; text-align: center; font-style: italic; } .index-title2 { font-size: 1.25rem; line-height: 1.625rem; letter-spacing: -0.015em; text-align: center; font-variant: small-caps; } .index1 { font-weight: bold; line-height: 2.125rem; letter-spacing: -0.035em; text-align: center; font-style: italic; } .index2 { font-size: 1.5rem; line-height: 1.75rem; letter-spacing: -0.035em; text-align: center; font-variant: small-caps; } .index3 { font-size: 1.5rem; line-height: 1.75rem; letter-spacing: -0.035em; text-align: center; } .index4 { font-size: 1.5rem; line-height: 1.75rem; letter-spacing: -0.035em; text-align: center; text-decoration: underline; } .subhead { font-size: 1.5rem; line-height: 1.75rem; letter-spacing: -0.035em; font-variant: small-caps; } .bold { font-weight: bold; } .emphasis { font-style: italic; } .uline { text-decoration: underline; } .bolditalic { font-weight: bold; font-style: italic; } .bquote { border-left: 3px solid #9e9e9e; font-style: italic; margin-left: 30px; padding-left: 10px; } .small-text { font-size: 0.75rem; line-height: 1.125rem; } .large-text-center { font-size: 1.25rem; line-height: 1.75rem; text-align: center; } .prewrap { display: block; white-space: pre-wrap; } .hr-styled { width: 75%; margin: auto; } .center-text { text-align: center; } .copyright { font-size: 0.75rem; line-height: 1.125rem; text-align: center; } .gold { color: #ffc627; } .visited { color: #cba557; } .goldseparator { margin: 0 0.5rem; color: #ffc627; } .center-nav { padding: 5px; font-size: 1rem; line-height: 1.5rem; text-align: center; } /* code block for legal text */ .block { width: 100%; border: none; font-size: 0.875rem; line-height: 1.125rem; background: none; border-radius: 0; font-family: monospace; /* retain code look */ outline: none; overflow-wrap: break-word; /* modern replacement */ resize: none; white-space: normal; /* allow wrapping */ word-break: normal; /* avoid deprecated behavior */ } .fingerprint { display: block; font-weight: bold; white-space: pre-line; /* Ensures newlines are respected for "\n" */ } .pgp-image { width: 150px; height: 150px; } .spacer { margin: 2rem 0; } .separator { margin: 0 0.5rem; } .emoji { margin-right: 8px; } .headline { display: block; /* Ensure it is on its own line */ font-weight: bold; /* Keep the first item bold */ font-style: italic; /* Only make the first item italic */ margin-bottom: 4px; /* Add space between headline and the rest */ } .label { font-weight: bold; /* Keep the label bold */ font-family: inherit; /* Ensure it uses the same font-family as normal text */ } .description { display: inline; /* Keep description inline */ font-weight: normal; /* Ensure the description is normal (not bold) */ font-family: inherit; /* Ensure it uses the same font-family as normal text */ font-style: normal; /* Remove italic for the description */ } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; } .pgp-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; } .pgp-text { flex: 2; min-width: 250px; } .pgp-qr { flex: 1; min-width: 150px; } .obtainium-direct-label { margin: .25rem 0 0.75rem 0; font-weight: bold; } .obtainium-manual-label { font-weight: bold; margin-top: 0.75rem; } .obtainium-img { width: 185px; height: 55px; margin-bottom: 0.25rem; } .obtainium-margin { margin-left: 4px; } .obtainium-fa-down { color: #ffc627; margin-left: 4px; } .obtainium-icon { width: 50px; height: 50px; } .proton-img { width: 168px; height: 24px; }