250 lines
5.5 KiB
CSS
250 lines
5.5 KiB
CSS
/*
|
|
COLORS
|
|
*/
|
|
/*
|
|
Themes
|
|
*/
|
|
:root, [data-selected-theme=grayscalelight] {
|
|
--color-background: #fff;
|
|
--text-normal: #000;
|
|
--text-invert: #fff;
|
|
--text-subtle: #666;
|
|
--color-primary: #999;
|
|
--color-secondary: #aaa;
|
|
--color-link: #00f;
|
|
--color-paper: #fff;
|
|
--background: #eee;
|
|
}
|
|
|
|
[data-selected-theme=light] {
|
|
--color-background: #aabf7e;
|
|
--text-normal: #191b19;
|
|
--text-invert: #fff;
|
|
--text-subtle: #595959;
|
|
--color-primary: #344f1f;
|
|
--color-secondary: #60941a;
|
|
--color-link: #309bae;
|
|
--color-paper: #e8efd7;
|
|
}
|
|
|
|
[data-selected-theme=dark] {
|
|
--color-background: #191b19;
|
|
--text-normal: #f8ffef;
|
|
--text-invert: #fff;
|
|
--text-subtle: #8c8c8c;
|
|
--color-primary: #60941a;
|
|
--color-secondary: #344f1f;
|
|
--color-link: #05abc4;
|
|
--color-paper: #070e07;
|
|
}
|
|
|
|
[data-selected-theme=grayscaledark] {
|
|
--color-background: #fff;
|
|
--text-normal: #000;
|
|
--text-invert: #fff;
|
|
--text-subtle: #666;
|
|
--color-primary: #999;
|
|
--color-secondary: #aaa;
|
|
--color-link: #39a;
|
|
--color-paper: #fff;
|
|
--background: #eee;
|
|
}
|
|
|
|
/*
|
|
Themed elements
|
|
*/
|
|
body {
|
|
background: var(--background);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-link);
|
|
}
|
|
|
|
h1 {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--color-secondary);
|
|
}
|
|
|
|
hr {
|
|
background-color: var(--text-normal);
|
|
border: none;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--text-subtle);
|
|
}
|
|
|
|
.site {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Inclusive Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("../fonts/inclusive-sans.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Inclusive Sans";
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url("../fonts/inclusive-sans-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Inclusive Sans";
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
src: url("../fonts/inclusive-sans.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Inclusive Sans";
|
|
font-style: italic;
|
|
font-weight: 800;
|
|
src: url("../fonts/inclusive-sans-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Kurale";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("../fonts/kurale.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: "Kurale";
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url("../fonts/kurale.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
|
}
|
|
.page--about {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
@media only screen and (min-width: 600px) {
|
|
.page--about {
|
|
display: grid;
|
|
grid: "main idcard" auto "main ." auto "main funfacts" auto "interests funfacts" auto "social social" auto/1fr 1fr;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.page--about {
|
|
grid: "main main idcard" auto "main main ." auto "interests funfacts funfacts" auto ". social ." auto/1fr auto 1fr;
|
|
}
|
|
}
|
|
.page--about .main-content {
|
|
grid-area: main;
|
|
}
|
|
.page--about .social {
|
|
grid-area: social;
|
|
}
|
|
.page--about .interests {
|
|
grid-area: interests;
|
|
}
|
|
.page--about .funfacts {
|
|
grid-area: funfacts;
|
|
}
|
|
|
|
.idcard {
|
|
display: grid;
|
|
max-width: 400px;
|
|
grid-area: idcard;
|
|
grid: "header header" auto ". bio" auto "photo bio" auto ". bio" auto/auto 1fr;
|
|
}
|
|
.idcard .idcard__picture {
|
|
padding: 50px;
|
|
background: url("../img/about-profile.png");
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
@media only screen and (min-width: 600px) {
|
|
.idcard .idcard__picture {
|
|
padding: 75px;
|
|
}
|
|
}
|
|
.idcard .idcard__bio {
|
|
grid-area: bio;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.idcard .idcard__bio .idcard__line--wide {
|
|
grid-column: span 2;
|
|
}
|
|
.idcard .idcard__header {
|
|
grid-area: header;
|
|
}
|
|
.idcard .idcard__picture {
|
|
grid-area: photo;
|
|
}
|
|
|
|
.page--home {
|
|
display: grid;
|
|
}
|
|
@media only screen and (min-width: 600px) {
|
|
.page--home {
|
|
grid: "main ." auto "main social" auto ". social" auto "badges updates" auto ". updates" auto/1fr auto;
|
|
}
|
|
.page--home .home__main {
|
|
grid-area: main;
|
|
}
|
|
.page--home .home__social {
|
|
grid-area: social;
|
|
}
|
|
.page--home .home__updates {
|
|
grid-area: updates;
|
|
}
|
|
.page--home .home__badges {
|
|
grid-area: badges;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: "Inclusive Sans", sans-serif;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Kurale", serif;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration-thickness: 3px;
|
|
}
|
|
|
|
.monospace {
|
|
font-family: monospace;
|
|
}
|
|
|
|
#skip-navigation {
|
|
position: fixed;
|
|
top: -100%;
|
|
right: 0;
|
|
}
|
|
#skip-navigation:focus {
|
|
top: 0;
|
|
}
|
|
|
|
.site {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(1000px, 100vw);
|
|
margin: 1em auto;
|
|
}
|
|
|
|
/*# sourceMappingURL=main.css.map */
|