add tubearchivist color scheme

This commit is contained in:
simon 2023-03-21 10:58:52 +07:00
parent e3af89e61e
commit 8094db6965
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 30 additions and 180 deletions

View File

@ -1,196 +1,46 @@
@font-face { @font-face {
font-family: 'Sen-Bold'; font-family: 'Sen-Bold';
src: url('/fonts/Sen-Bold.ttf.woff'); src: url('/fonts/Sen-Bold.ttf.woff');
font-family: 'Sen-Bold'; font-family: 'Sen-Bold';
} }
@font-face { @font-face {
font-family: 'Sen-Regular'; font-family: 'Sen-Regular';
src: url('/fonts/Sen-Regular.ttf.woff'); src: url('/fonts/Sen-Regular.ttf.woff');
font-family: 'Sen-Regular'; font-family: 'Sen-Regular';
} }
* { * {
margin: 0; font-family: Sen-Regular;
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;
} }
h1,
h2 { h2 {
font-family: Sen-Regular, sans-serif; font-family: Sen-Bold;
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;
} }
.youtube { [data-md-color-scheme="tubearchivist"] {
background-color: #000; --md-default-bg-color: var(--main-bg);
margin: 2rem 0; --md-default-fg-color: var(--main-font);
position: relative; --md-primary-fg-color: var(--accent-font-dark);
padding-top: 56.25%; --md-default-fg-color--light: var(--accent-font-light);
overflow: hidden; --md-default-fg-color--lighter: var(--accent-font-light);
cursor: pointer --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 { :root {
position: absolute; --main-bg: #00202f;
width: 100%; --highlight-bg: #00293b;
left: 0; --highlight-error: #990202;
top: 0 --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;
}
}

View File

@ -34,6 +34,6 @@ theme:
favicon: assets/favicon.ico favicon: assets/favicon.ico
font: false font: false
palette: palette:
scheme: slate scheme: tubearchivist
extra_css: extra_css:
- stylesheets/style.css - stylesheets/style.css