diff --git a/mkdocs/docs/stylesheets/style.css b/mkdocs/docs/stylesheets/style.css index 1149cb9..e2eec2a 100644 --- a/mkdocs/docs/stylesheets/style.css +++ b/mkdocs/docs/stylesheets/style.css @@ -1,196 +1,46 @@ @font-face { font-family: 'Sen-Bold'; - src: url('/fonts/Sen-Bold.ttf.woff'); + src: url('/fonts/Sen-Bold.ttf.woff'); font-family: 'Sen-Bold'; } @font-face { font-family: 'Sen-Regular'; - src: url('/fonts/Sen-Regular.ttf.woff'); + src: url('/fonts/Sen-Regular.ttf.woff'); font-family: 'Sen-Regular'; } + * { - margin: 0; - padding: 0; -} -html { - height: 100%; -} -body { - background-color: #00202f; - min-height: 100%; - display: grid; - grid-template-rows: 1fr auto; -} -h1 { - font-family: Sen-Bold, sans-serif; - font-size: 2.3em; - color: #97d4c8; - margin-bottom: 20px; + font-family: Sen-Regular; } + +h1, h2 { - font-family: Sen-Regular, sans-serif; - font-size: 2.0em; - color: #259485; -} -p { - font-family: Sen-Regular, sans-serif; - font-size: 1.1em; - color: #eeeeee; - margin-bottom: 15px; -} -a, li { - font-family: Sen-Regular, sans-serif; - text-decoration: none; - color: #eeeeee; -} -span { - font-family: Sen-Regular, sans-serif; - color: #eeeeee; -} -.alert { - background-color: #990202; - text-align: center; - padding: 20px 0; - margin: 10px 0; -} -.content { - margin: auto; - max-width: 1000px; -} -.banner { - text-align: center; -} -.banner img { - width: 80%; - margin-bottom: 20px; -} -.tag-line { - text-align: center; - margin: 10px 0; -} -.social-links { - width: 100%; - display: flex; - justify-content: center; -} -.social-item > a { - padding: 10px; - display: block; - text-align: center; -} -.social-item > a:hover { - background-color: #00293b; -} -.social-item img { - padding: 5px 20px; - width: 60px; -} -.tiles { - display: flex; - justify-content: center; -} -.tiles img { - padding: 10px; - max-width: 200px; -} -.block-2 { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 1rem; -} -.release-notes { - padding: 30px; - background: #00293b; - margin-bottom: 20px; -} -.footer-colors { - grid-row-start: 2; - grid-row-end: 3; - display: flex; -} -.footer-colors div { - padding: 20px 0; - width: 33.33%; -} -.col-1 { - background-color: #00293b; -} -.col-2 { - background-color: #259485; -} -.col-3 { - background-color: #97d4c8; + font-family: Sen-Bold; } -.youtube { - background-color: #000; - margin: 2rem 0; - position: relative; - padding-top: 56.25%; - overflow: hidden; - cursor: pointer +[data-md-color-scheme="tubearchivist"] { + --md-default-bg-color: var(--main-bg); + --md-default-fg-color: var(--main-font); + --md-primary-fg-color: var(--accent-font-dark); + --md-default-fg-color--light: var(--accent-font-light); + --md-default-fg-color--lighter: var(--accent-font-light); + --md-typeset-color: var(--main-font); + --md-typeset-a-color: var(--accent-font-dark); + --md-code-bg-color: var(--highlight-bg); + --md-code-fg-color: var(--accent-font-light); + --md-accent-fg-color: var(--accent-font-light); } -.youtube img { - position: absolute; - width: 100%; - left: 0; - top: 0 +:root { + --main-bg: #00202f; + --highlight-bg: #00293b; + --highlight-error: #990202; + --highlight-error-light: #c44343; + --highlight-bg-transparent: #00293baf; + --main-font: #eeeeee; + --accent-font-dark: #259485; + --accent-font-light: #97d4c8; + --img-filter: invert(50%) sepia(9%) saturate(2940%) hue-rotate(122deg) brightness(94%) contrast(90%); + --img-filter-error: invert(16%) sepia(60%) saturate(3717%) hue-rotate(349deg) brightness(86%) contrast(120%); } - -.youtube iframe { - position: absolute; - height: 100%; - width: 100%; - top: 0; - left: 0 -} - -.play-button img { - z-index: 3; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 80px; - background-color: rgba(255, 255, 255, 0.5); - padding: 15px; - border-radius: 50%; - transition: all 0.5s ease-in-out -} - -.play-button img:hover { - background-color: rgba(255, 255, 255, 0.9); - padding: 25px -} - -/* tablet */ -@media screen and (max-width: 1000px) { - .content { - width: 90%; - } -} - -/* phone */ -@media screen and (max-width: 600px) { - * { - word-wrap: anywhere; - } - .banner img { - width: 100%; - } - .block-2 { - grid-template-columns: 1fr; - } - .social-links { - flex-wrap: wrap; - } - .social-item > a { - padding: 2px; - } - .tiles { - display: block; - text-align: center; - } -} \ No newline at end of file diff --git a/mkdocs/mkdocs.yml b/mkdocs/mkdocs.yml index fba858d..66ea296 100644 --- a/mkdocs/mkdocs.yml +++ b/mkdocs/mkdocs.yml @@ -34,6 +34,6 @@ theme: favicon: assets/favicon.ico font: false palette: - scheme: slate + scheme: tubearchivist extra_css: - stylesheets/style.css