gil.ink/src/assets/css/main.css

245 lines
4.4 KiB
CSS
Raw Normal View History

2025-04-28 01:49:10 -04:00
/*
COLORS
$primary: #;
$secondary: #;
$tertiary: #;
$neutral: #;
$white: #;
$black: #;
FONTS
$head: ;
$body: ;
$mono: ;
*/
:root, [data-selected-theme=light] {
2025-04-29 23:20:54 -04:00
--color-background: #aabf7e;
--color-normal: #191b19;
--color-muted: #595959;
--color-accent: #344f1f;
--color-accent2: #60941a;
--color-link: #309bae;
--color-paper: #e8efd7;
2025-04-28 01:49:10 -04:00
}
[data-selected-theme=dark] {
2025-04-29 23:20:54 -04:00
--color-background: #191b19;
--color-normal: #f8ffef;
--color-muted: #8c8c8c;
--color-accent: #60941a;
--color-accent2: #344f1f;
--color-link: #05abc4;
--color-paper: #070e07;
2025-04-28 01:49:10 -04:00
}
2025-04-29 23:20:54 -04:00
@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: "Kurale";
font-style: normal;
font-weight: 400;
src: url("../fonts/kurale.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
2025-05-01 14:24:16 -04:00
.box {
padding: 10px;
2025-04-30 02:44:05 -04:00
}
2025-05-01 14:24:16 -04:00
.box :first-child {
margin-top: 0;
2025-04-28 01:49:10 -04:00
}
2025-05-01 14:24:16 -04:00
.column-container, .row-container {
display: flex;
flex-direction: column;
gap: 5px;
width: 100%;
2025-04-29 23:20:54 -04:00
}
2025-05-01 14:24:16 -04:00
@media only screen and (min-width: 600px) {
.row-container {
flex-direction: row;
}
2025-04-28 01:49:10 -04:00
}
.site {
display: flex;
flex-direction: column;
}
2025-05-01 14:24:16 -04:00
@media only screen and (min-width: 768px) {
2025-04-29 23:20:54 -04:00
.site {
margin: auto;
2025-04-30 03:01:20 -04:00
width: 75%;
}
}
@media only screen and (min-width: 1200px) {
.site {
width: 60%;
2025-04-29 23:20:54 -04:00
}
}
2025-05-01 14:24:16 -04:00
.site-header {
width: 100%;
2025-04-29 23:20:54 -04:00
}
2025-05-01 14:24:16 -04:00
.site-header .navbar {
2025-04-28 01:49:10 -04:00
display: flex;
2025-04-30 03:01:20 -04:00
flex-wrap: wrap;
2025-04-29 23:20:54 -04:00
width: 100%;
margin: 5px 0;
gap: 5px;
2025-04-28 01:49:10 -04:00
}
2025-05-01 14:24:16 -04:00
@media only screen and (min-width: 600px) {
.site-header .navbar {
flex-wrap: nowrap;
}
}
.site-header .navbar-link {
2025-04-29 23:20:54 -04:00
color: var(--color-accent);
font-weight: bold;
text-decoration: none;
2025-04-28 01:49:10 -04:00
}
2025-05-01 14:24:16 -04:00
.site-header .navbar-link:hover {
2025-04-29 23:20:54 -04:00
background-color: var(--color-accent2);
2025-05-01 14:24:16 -04:00
border-color: var(--color-accent);
color: var(--color-paper);
2025-04-29 23:20:54 -04:00
}
2025-05-01 14:24:16 -04:00
.site-header .navbar-link[aria-current=page] {
2025-04-29 23:20:54 -04:00
background-color: var(--color-accent);
2025-05-01 14:24:16 -04:00
color: var(--color-paper);
2025-04-29 23:20:54 -04:00
margin-top: 2px;
border-bottom-width: 2px;
}
2025-05-01 14:24:16 -04:00
.site-header .navbar-link[aria-current=page]:hover {
border-color: var(--color-normal);
2025-04-30 03:01:20 -04:00
}
@media only screen and (min-width: 600px) {
2025-05-01 14:24:16 -04:00
.site-header .navbar-link {
width: 100%;
2025-04-30 03:01:20 -04:00
}
}
2025-04-29 23:20:54 -04:00
.site-footer {
2025-04-30 02:44:05 -04:00
gap: 5px;
2025-04-30 03:09:14 -04:00
margin: 0 0 10px 0;
2025-04-29 23:20:54 -04:00
}
2025-05-01 14:24:16 -04:00
.page-footer {
margin: 5px 0;
2025-04-29 23:20:54 -04:00
}
2025-04-30 02:44:05 -04:00
.home-container {
display: flex;
flex-direction: column;
gap: 5px;
}
2025-04-30 03:01:20 -04:00
@media only screen and (min-width: 992px) {
2025-04-30 02:44:05 -04:00
.home-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.home-container main {
2025-04-30 03:01:20 -04:00
grid-column: 1/3;
2025-04-30 02:44:05 -04:00
}
}
2025-05-01 14:24:16 -04:00
body {
background-color: var(--color-background);
color: var(--color-normal);
font-family: "Inclusive Sans", sans-serif;
}
a {
color: var(--color-link);
}
a:hover {
text-decoration-thickness: 3px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Kurale", serif;
}
h1 {
color: var(--color-accent);
}
h2,
h3,
h4,
h5,
h6 {
color: var(--color-accent2);
}
hr {
height: 1px;
background-color: var(--color-normal);
border: none;
}
#skip-navigation {
position: fixed;
top: -100%;
right: 0;
padding: 10px;
}
#skip-navigation:focus {
top: 0;
}
.box {
border: solid var(--color-normal) 2px;
border-bottom-width: 5px;
border-radius: 10px;
background-color: var(--color-paper);
}
2025-04-29 23:20:54 -04:00
.muted {
color: var(--color-muted);
}
2025-04-28 01:49:10 -04:00
2025-05-01 14:24:16 -04:00
.about-image {
flex: 1;
background-image: url("../../assets/img/about-profile.png");
background-size: cover;
background-position: 0;
min-height: 250px;
aspect-ratio: 1;
}
@media only screen and (min-width: 600px) {
.about-image {
min-height: auto;
}
}
.about-name {
text-align: center;
width: 100%;
}
.about-pronouns {
width: 100%;
text-align: center;
}
.about-age {
width: 100%;
text-align: center;
}
2025-04-28 01:49:10 -04:00
/*# sourceMappingURL=main.css.map */