mostly good for release
This commit is contained in:
parent
8fc7eff67b
commit
b626e6265e
32 changed files with 425 additions and 169 deletions
|
@ -1,7 +1,6 @@
|
|||
@import url("./variables.css");
|
||||
@import url("../default/variables.css");
|
||||
@import url("./nav.css");
|
||||
|
||||
body {
|
||||
background-attachment: local, fixed;
|
||||
background-color: var(--citrus-primary);
|
||||
|
@ -15,6 +14,8 @@ body > nav {
|
|||
background-image: var(--dot),
|
||||
linear-gradient(var(--citrus-primary), var(--citrus-secondary) 20%);
|
||||
background-size: 6px;
|
||||
border-color: var(--citrus-dark);
|
||||
color: var(--citrus-dark);
|
||||
& a,
|
||||
button {
|
||||
background-image: linear-gradient(
|
||||
|
@ -23,23 +24,165 @@ body > nav {
|
|||
var(--citrus-primary) 80%,
|
||||
var(--citrus-light) 100%
|
||||
);
|
||||
border-radius: 0 1rem 1rem 0;
|
||||
box-shadow: 0 0 0 2px var(--citrus-dark),
|
||||
inset 0 0 8px 2px var(--citrus-primary);
|
||||
color: var(--citrus-dark) !important;
|
||||
margin: 0 0 var(--pad-sm) 0 !important;
|
||||
border-radius: var(--pad-l);
|
||||
color: inherit;
|
||||
&[aria-current] {
|
||||
box-shadow: 0 0 0 2px var(--citrus-dark),
|
||||
inset 0 0 4px 2px var(--citrus-dark);
|
||||
background-image: linear-gradient(
|
||||
darkorange,
|
||||
var(--citrus-mix),
|
||||
var(--citrus-dark) 10%,
|
||||
chocolate
|
||||
);
|
||||
box-shadow: 0 0 0 2px var(--citrus-dark),
|
||||
inset 0 0 4px 2px var(--citrus-dark);
|
||||
color: var(--citrus-light) !important;
|
||||
color: var(--citrus-light);
|
||||
}
|
||||
&:is(:hover, :focus):not([aria-current="page"]) {
|
||||
box-shadow: 0 0 0 2px var(--citrus-dark);
|
||||
transition: background-image var(--trans), border-color var(--trans),
|
||||
box-shadow var(--trans);
|
||||
}
|
||||
}
|
||||
}
|
||||
article {
|
||||
background-color: var(--citrus-light);
|
||||
border-radius: 0;
|
||||
background-image: var(--noise);
|
||||
box-shadow: var(--shadow);
|
||||
border: 0;
|
||||
}
|
||||
/* home.css */
|
||||
body[id] > main::before {
|
||||
content: "";
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
image-rendering: pixelated;
|
||||
opacity: 0.1;
|
||||
z-index: -10;
|
||||
}
|
||||
ul:not([role]) li::before {
|
||||
background-color: #000;
|
||||
}
|
||||
a:has(img[src*="/assets/img/button"]):is(:hover, :focus) img {
|
||||
filter: drop-shadow(4px 6px 0 var(--citrus-dark));
|
||||
}
|
||||
/* blog.css */
|
||||
#blog {
|
||||
background-color: #fff;
|
||||
background-image: var(--dot-dark);
|
||||
background-size: 6px;
|
||||
background-attachment: fixed;
|
||||
background-repeat: repeat;
|
||||
& main {
|
||||
&::before {
|
||||
background-image: var(--bg-sky);
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
& article {
|
||||
border-radius: 0;
|
||||
background-color: #fff;
|
||||
background-image: var(--noise);
|
||||
background-size: auto;
|
||||
background-repeat: repeat;
|
||||
box-shadow: inset 0 0 2rem -0.5rem #ccc;
|
||||
& > [aria-label="Postscript"]::after {
|
||||
background-color: var(--citrus-primary);
|
||||
}
|
||||
& aside {
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background-color: var(--citrus-light);
|
||||
border-color: var(--citrus-primary);
|
||||
border-radius: 0;
|
||||
}
|
||||
& code:not(pre *) {
|
||||
border-radius: 0;
|
||||
color: var(--citrus-primary);
|
||||
background-color: #000;
|
||||
}
|
||||
& pre {
|
||||
border-radius: 0;
|
||||
color: var(--citrus-primary);
|
||||
background-color: #000;
|
||||
}
|
||||
& [aria-label="Post warning"] {
|
||||
background-color: var(--citrus-primary);
|
||||
}
|
||||
& [aria-label="Addendum"] {
|
||||
border-image-source: linear-gradient(
|
||||
45deg,
|
||||
var(--citrus-primary),
|
||||
var(--citrus-secondary)
|
||||
);
|
||||
background-color: var(--citrus-primary);
|
||||
}
|
||||
}
|
||||
& #posts {
|
||||
& a {
|
||||
background-color: #fff;
|
||||
border-color: #fff;
|
||||
border-width: 4px;
|
||||
transition: border-color var(--trans), color var(--trans);
|
||||
& p {
|
||||
color: initial;
|
||||
}
|
||||
&:is(:hover, :focus) {
|
||||
border-color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* gallery.css */
|
||||
#gallery {
|
||||
& h2 {
|
||||
font-family: "Pangolin", sans-serif;
|
||||
}
|
||||
& article {
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
background-image: var(--noise), var(--line);
|
||||
background-color: #fff;
|
||||
padding: 1rem;
|
||||
background-size: auto, 32px;
|
||||
}
|
||||
& a:has(figure) {
|
||||
transition: border-color var(--trans), background-color var(--trans);
|
||||
box-shadow: var(--shadow);
|
||||
&:is(:hover, :focus) {
|
||||
& figure {
|
||||
transition: inherit;
|
||||
background-color: currentColor;
|
||||
border-color: currentColor;
|
||||
}
|
||||
& figcaption {
|
||||
color: #fff;
|
||||
}
|
||||
& time {
|
||||
color: #fffa;
|
||||
}
|
||||
}
|
||||
}
|
||||
& figure {
|
||||
border-color: #fff;
|
||||
background-color: #fff;
|
||||
}
|
||||
& time {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
body > nav {
|
||||
border-right: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
body::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
nav {
|
||||
padding: 0 var(--pad-xl) var(--pad-xl) 0 !important;
|
||||
& ul {
|
||||
margin: 0 !important;
|
||||
}
|
||||
& details {
|
||||
border: 0 !important;
|
||||
}
|
||||
body > nav {
|
||||
border-right: 4px solid;
|
||||
border-bottom: 4px solid;
|
||||
height: auto;
|
||||
border-bottom-right-radius: var(--round);
|
||||
& a, button {
|
||||
border: 0 !important;
|
||||
border: 0;
|
||||
margin: 0 0 var(--pad-sm) 0 ;
|
||||
}
|
||||
& details:not([open]) > summary, details[open] {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,17 @@
|
|||
--citrus-secondary: rgb(255, 110, 0);
|
||||
--citrus-light: rgb(255, 236, 180);
|
||||
--citrus-dark: rgb(105, 50, 0);
|
||||
--checker: url('/assets/img/theme/citrus/checker.png');
|
||||
--checker-dark: url('/assets/img/theme/citrus/checker-dark.png');
|
||||
--dot: url('/assets/img/theme/citrus/dot.png');
|
||||
--dot-dark: url('/assets/img/theme/citrus/dot-dark.png');
|
||||
}
|
||||
--citrus-mix: color-mix(in lch,var(--citrus-primary),var(--citrus-secondary));
|
||||
--shadow: 0.2rem 0.2rem 0.4rem 0.2rem #0003;
|
||||
--checker: url("/assets/img/theme/citrus/checker.png");
|
||||
--checker-dark: url("/assets/img/theme/citrus/checker-dark.png");
|
||||
--dot: url("/assets/img/theme/citrus/dot.png");
|
||||
--dot-dark: url("/assets/img/theme/citrus/dot-dark.png");
|
||||
--line: url("/assets/img/theme/citrus/line.png");
|
||||
--paper: url("/assets/img/theme/citrus/paper.png");
|
||||
--noise: url("/assets/img/theme/citrus/imagedoc-lightnoise.png");
|
||||
--bg-sky: url("/assets/img/pkmn/bg/plat_trade1.png");
|
||||
--bg-ilex: url("/assets/img/pkmn/bg/ilex_day.png");
|
||||
--bg-ilex-noon: url("/assets/img/pkmn/bg/ilex_noon.png");
|
||||
--bg-ilex-night: url("/assets/img/pkmn/bg/ilex_night.png");
|
||||
}
|
||||
|
|
|
@ -37,10 +37,6 @@ article > [aria-label="Addendum"] {
|
|||
border-image-slice: 1;
|
||||
border-image-width: 2px;
|
||||
border-image-outset: 4px;
|
||||
& > p:first-child {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
article > [aria-label="Postscript"] {
|
||||
|
@ -81,8 +77,11 @@ article > [aria-label="Postscript"] {
|
|||
margin-bottom: var(--pad-l);
|
||||
}
|
||||
}
|
||||
& a {
|
||||
background: unset;
|
||||
}
|
||||
|
||||
& p:has(img:nth-child(n + 2)) {
|
||||
& p a:has(img:nth-child(n + 2)) {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 40%), 1fr));
|
||||
align-items: center;
|
||||
|
@ -95,7 +94,7 @@ article > [aria-label="Postscript"] {
|
|||
min-height: fit-content;
|
||||
max-height: var(--image);
|
||||
}
|
||||
& img:not(p > img) {
|
||||
& img:not(p a > img) {
|
||||
display: flex;
|
||||
box-sizing: content-box;
|
||||
margin: 0 0 0 auto;
|
||||
|
@ -139,3 +138,25 @@ article > [aria-label="Postscript"] {
|
|||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
article aside {
|
||||
float: unset;
|
||||
width: fit-content;
|
||||
}
|
||||
article section {
|
||||
flex-direction: column;
|
||||
}
|
||||
#posts {
|
||||
max-width: unset;
|
||||
width: auto;
|
||||
}
|
||||
article > [aria-label="Postscript"] {
|
||||
& p {
|
||||
margin-right: var(--pad-sm);
|
||||
& > a img {
|
||||
height: auto;
|
||||
max-height: var(--view);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
@import url("./variables.css");
|
||||
@import url("./nav.css");
|
||||
@import url("./mobile.css");
|
||||
:root {
|
||||
--view: 18rem;
|
||||
}
|
||||
|
@ -10,7 +9,9 @@ body {
|
|||
font-size: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
& a, button {
|
||||
& a,
|
||||
button {
|
||||
cursor: pointer;
|
||||
&:is(:hover, :focus) {
|
||||
outline: 0;
|
||||
}
|
||||
|
@ -64,7 +65,9 @@ article {
|
|||
|
||||
& p {
|
||||
word-wrap: break-word;
|
||||
padding: var(--pad-sm);
|
||||
}
|
||||
& p:not(:last-child, [aria-label]) {
|
||||
padding-bottom: var(--pad-sm);
|
||||
}
|
||||
|
||||
& code:not(pre *) {
|
||||
|
@ -143,3 +146,58 @@ a:has(img[src*="/assets/img/button"]):is(:hover, :focus) img {
|
|||
transform: translateY(-4px);
|
||||
transition: var(--trans);
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
body > nav {
|
||||
position: initial;
|
||||
width: 100%;
|
||||
}
|
||||
main {
|
||||
padding: var(--pad-l);
|
||||
}
|
||||
|
||||
main > section {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main > section {
|
||||
width: initial;
|
||||
}
|
||||
|
||||
article {
|
||||
max-width: initial;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
body > nav::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
body > nav {
|
||||
flex-direction: row;
|
||||
border: 0;
|
||||
width: 100%;
|
||||
& details {
|
||||
height: fit-content;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
body::after {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 450px) {
|
||||
main {
|
||||
padding: var(--pad-sm);
|
||||
}
|
||||
article {
|
||||
padding: var(--pad-l);
|
||||
border: 0;
|
||||
}
|
||||
body > nav {
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
& details[open] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,3 +70,19 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1400px) {
|
||||
#art section:has(a:nth-child(n + 2)) {
|
||||
flex-direction: column;
|
||||
& a {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
#art a:has(img) {
|
||||
width: auto;
|
||||
}
|
||||
#art section:has(a:nth-child(n + 2)) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
|
@ -15,6 +15,20 @@
|
|||
color: transparent;
|
||||
}
|
||||
}
|
||||
ul:not([role]) li {
|
||||
&::before {
|
||||
content: "";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
mask-image: var(--paw);
|
||||
mask-size: contain;
|
||||
margin: 0.4rem 0 0 -2rem;
|
||||
}
|
||||
&::marker {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
#pkmn {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
@ -65,14 +79,19 @@ body [id]:not(:nth-child(1)) ul {
|
|||
#pansexual {
|
||||
background-image: linear-gradient(#f09 33.33%, #ffd700 0 66.66%, #00bfff 0);
|
||||
}
|
||||
#bio {
|
||||
& p,
|
||||
ul {
|
||||
#bio,
|
||||
#interests {
|
||||
& ul {
|
||||
font-family: "Urbanist", sans-serif;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
& ul {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
& p {
|
||||
font-size: 1.1rem;
|
||||
font-family: "Rubik", sans-serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
& span[id] {
|
||||
background-clip: text;
|
||||
|
@ -88,13 +107,12 @@ body [id]:not(:nth-child(1)) ul {
|
|||
& ul {
|
||||
margin: 0;
|
||||
padding: var(--pad-l) 0 0 0;
|
||||
justify-content: start;
|
||||
}
|
||||
& li {
|
||||
display: flex;
|
||||
& a {
|
||||
padding: var(--pad-sm);
|
||||
background-color: transparent;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
}
|
||||
& span {
|
||||
|
@ -121,6 +139,7 @@ body [id]:not(:nth-child(1)) ul {
|
|||
display: flex;
|
||||
padding: inherit;
|
||||
margin: 0;
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
#collection div:has(img)::after {
|
||||
|
@ -133,3 +152,15 @@ body [id]:not(:nth-child(1)) ul {
|
|||
margin: -1.5rem 0 0 -0.5rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
#collection {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
& ul {
|
||||
justify-content: center;
|
||||
}
|
||||
& li a {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,99 +0,0 @@
|
|||
@media screen and (max-width: 1400px) {
|
||||
/* gallery.css */
|
||||
#art section:has(a:nth-child(n + 2)) {
|
||||
flex-direction: column !important;
|
||||
& a {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
/* blog.css */
|
||||
article aside {
|
||||
float: none !important;
|
||||
width: fit-content !important;
|
||||
}
|
||||
article section {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
#posts {
|
||||
max-width: unset !important;
|
||||
width: auto !important;
|
||||
}
|
||||
[aria-label="Postscript"] {
|
||||
& p {
|
||||
margin-right: unset !important;
|
||||
& > img {
|
||||
height: auto !important;
|
||||
max-height: var(--view) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* default.css */
|
||||
body > nav {
|
||||
position: initial !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
main {
|
||||
padding: var(--pad-l) !important;
|
||||
}
|
||||
|
||||
main > section {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
|
||||
main > section {
|
||||
width: initial !important;
|
||||
}
|
||||
|
||||
article {
|
||||
max-width: initial !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
body > nav::before {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
body > nav {
|
||||
flex-direction: row !important;
|
||||
border: 0 !important;
|
||||
width: 100% !important;
|
||||
& details {
|
||||
height: fit-content !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
body::after {
|
||||
content: "" !important;
|
||||
}
|
||||
/* gallery.css */
|
||||
#art a:has(img) {
|
||||
width: 100% !important
|
||||
}
|
||||
/* home.css */
|
||||
#collection {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
& ul {
|
||||
justify-content: center !important;
|
||||
}
|
||||
& li a {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 450px) {
|
||||
article {
|
||||
padding: var(--pad-sm) !important;
|
||||
background-color: unset !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
body > nav {
|
||||
flex-direction: column !important;
|
||||
justify-content: start !important;
|
||||
& details[open] {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -83,8 +83,11 @@ body {
|
|||
font-family: "Rubik", sans-serif;
|
||||
& > nav {
|
||||
gap: var(--pad-m);
|
||||
border-right-width: 1px;
|
||||
border-right-style: solid;
|
||||
& a,
|
||||
button {
|
||||
align-items: center;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-radius: var(--round);
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
body {
|
||||
background-color: var(--secondary-100);
|
||||
color: var(--secondary-light-300);
|
||||
|
||||
& a:not(article p *, #badges *, [aria-current]), button {
|
||||
/* this is cursed */
|
||||
& :is(a, button) {
|
||||
color: var(--secondary-light-400);
|
||||
border-color: var(--secondary-600);
|
||||
background-color: var(--secondary-300);
|
||||
|
@ -77,7 +77,7 @@
|
|||
}
|
||||
}
|
||||
& > nav {
|
||||
border-right: 1px solid var(--secondary);
|
||||
border-color: var(--secondary);
|
||||
&::before,
|
||||
::after {
|
||||
background-color: var(--secondary);
|
||||
|
@ -113,6 +113,9 @@
|
|||
}
|
||||
}
|
||||
/* home.css */
|
||||
ul:not([role]) li::before {
|
||||
background-color: var(--secondary-light-300);
|
||||
}
|
||||
#collection {
|
||||
& a:is(:hover, :focus) {
|
||||
box-shadow: 0 0 0 1px currentColor;
|
||||
|
|
|
@ -65,7 +65,8 @@
|
|||
body {
|
||||
background-color: var(--primary-100);
|
||||
color: var(--primary-dark-300);
|
||||
& a:not(article p *, #badges *, [aria-current]), button {
|
||||
/* this is cursed */
|
||||
& :is(a, button) {
|
||||
color: var(--primary-dark-400);
|
||||
border-color: var(--primary-600);
|
||||
background-color: var(--primary-400);
|
||||
|
@ -76,7 +77,7 @@
|
|||
}
|
||||
}
|
||||
& > nav {
|
||||
border-right: 1px solid var(--primary);
|
||||
border-color: var(--primary);
|
||||
&::before,
|
||||
&::after {
|
||||
background-color: var(--primary);
|
||||
|
@ -111,6 +112,9 @@
|
|||
}
|
||||
}
|
||||
/* home.css */
|
||||
ul:not([role]) li::before {
|
||||
background-color: var(--primary-dark-300);
|
||||
}
|
||||
#collection {
|
||||
& a:is(:hover, :focus) {
|
||||
box-shadow: 0 0 0 1px currentColor;
|
||||
|
|
|
@ -59,3 +59,8 @@
|
|||
font-family: Urbanist;
|
||||
src: url("/assets/fonts/Urbanist-Bold.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Pangolin;
|
||||
src: url("/assets/fonts/Pangolin-Regular.ttf") format("truetype");
|
||||
}
|
||||
|
|
|
@ -60,11 +60,12 @@ h4 {
|
|||
text-wrap: balance;
|
||||
}
|
||||
|
||||
/* A elements that don't have a class get default styles */
|
||||
/* A elements that don't have a class get default styles
|
||||
a:not([class]) {
|
||||
text-decoration-skip-ink: auto;
|
||||
color: currentColor;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Make images easier to work with */
|
||||
img,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue