first
This commit is contained in:
96
css/artist-market.css
Normal file
96
css/artist-market.css
Normal file
@ -0,0 +1,96 @@
|
||||
.artist {
|
||||
width: 100%;
|
||||
margin: 2rem 0;
|
||||
display: grid;
|
||||
scroll-margin-top: 1rem;
|
||||
}
|
||||
|
||||
.artist:nth-child(odd) {
|
||||
grid-template:
|
||||
'imgs h3'
|
||||
'imgs desc'
|
||||
'imgs .';
|
||||
grid-template-columns: 45% auto;
|
||||
}
|
||||
|
||||
.artist:nth-child(even) {
|
||||
grid-template:
|
||||
'h3 imgs'
|
||||
'desc imgs'
|
||||
'. imgs';
|
||||
grid-template-columns: auto 45%;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.artist:nth-child(n) {
|
||||
grid-template:
|
||||
'imgs'
|
||||
'h3'
|
||||
'desc';
|
||||
}
|
||||
}
|
||||
|
||||
.fit-contain {
|
||||
object-fit: contain;
|
||||
grid-area: imgs;
|
||||
}
|
||||
|
||||
.artist img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.artist img {
|
||||
border-radius: 1rem 1rem 0 0;
|
||||
border-bottom: .25rem solid var(--color-accent);
|
||||
}
|
||||
}
|
||||
|
||||
.artist h3 {
|
||||
grid-area: h3;
|
||||
text-transform: uppercase;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.artist:nth-child(odd) h3 {
|
||||
padding-left: .5rem;
|
||||
}
|
||||
|
||||
.artist:nth-child(even) h3 {
|
||||
padding-right: .5rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@media (max-width: 1050px) {
|
||||
.artist:nth-child(n) h3 {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
grid-area: desc;
|
||||
background-color: var(--color-bg-alt);
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
.artist:nth-child(odd) .description {
|
||||
margin-left: 1.75rem;
|
||||
}
|
||||
|
||||
.artist:nth-child(even) .description {
|
||||
margin-right: 1.75rem;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.artist:nth-child(odd) .description,
|
||||
.artist:nth-child(even) .description {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.description p:last-child {
|
||||
text-align: center;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
101
css/artist-resident.css
Normal file
101
css/artist-resident.css
Normal file
@ -0,0 +1,101 @@
|
||||
.topic {
|
||||
margin: 4rem auto;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.topic:nth-child(odd) {
|
||||
grid-template:
|
||||
'img h'
|
||||
'img desc'
|
||||
'img .';
|
||||
grid-template-columns: 45% auto;
|
||||
}
|
||||
|
||||
.topic:nth-child(even) {
|
||||
grid-template:
|
||||
'h img'
|
||||
'desc img'
|
||||
'. img';
|
||||
grid-template-columns: auto 45%;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.topic:nth-child(odd),
|
||||
.topic:nth-child(even) {
|
||||
grid-template:
|
||||
'img'
|
||||
'h'
|
||||
'desc';
|
||||
}
|
||||
}
|
||||
|
||||
.topic img {
|
||||
grid-area: img;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.topic img {
|
||||
border-radius: 1rem 1rem 0 0;
|
||||
border-bottom: .25rem solid var(--color-accent);
|
||||
}
|
||||
}
|
||||
|
||||
.topic h1,
|
||||
.topic h2 {
|
||||
margin: 0;
|
||||
grid-area: h;
|
||||
border-bottom: .25rem solid var(--color-accent);
|
||||
padding: .25rem;
|
||||
}
|
||||
|
||||
.topic:nth-child(odd) h2 {
|
||||
padding-left: .75rem;
|
||||
}
|
||||
|
||||
.topic:nth-child(even) h2 {
|
||||
text-align: right;
|
||||
padding-right: .75rem;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.topic:nth-child(odd) h2,
|
||||
.topic:nth-child(even) h2 {
|
||||
padding: .25rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.topic .desc {
|
||||
grid-area: desc;
|
||||
background-color: var(--color-bg-alt);
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
.topic:nth-child(odd) .desc {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.topic:nth-child(even) .desc {
|
||||
margin-right: 1.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.topic:nth-child(odd) .desc,
|
||||
.topic:nth-child(even) .desc {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.contact ul {
|
||||
background-color: var(--color-bg-alt);
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
.contact {
|
||||
margin-top: 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contact li {
|
||||
list-style: none;
|
||||
}
|
||||
61
css/directory.css
Normal file
61
css/directory.css
Normal file
@ -0,0 +1,61 @@
|
||||
#directory {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 3rem;
|
||||
margin: 0 .5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1050px) {
|
||||
#directory {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
ul#directory,
|
||||
ol#directory {
|
||||
background-color: var(--color-bg);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#directory li {
|
||||
list-style: none;
|
||||
border: solid .25rem var(--color-accent);
|
||||
border-radius: .75rem;
|
||||
outline-offset: .25rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (any-hover: hover) {
|
||||
#directory li:hover {
|
||||
background-color: var(--color-text);
|
||||
}
|
||||
|
||||
#directory li:hover h2 {
|
||||
color: var(--color-bg);
|
||||
border-color: var(--color-accent-flipped);
|
||||
}
|
||||
}
|
||||
|
||||
#directory li:focus-within {
|
||||
outline: solid .25rem var(--color-accent);
|
||||
}
|
||||
|
||||
#directory a {
|
||||
text-decoration: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#directory a:focus-visible {
|
||||
outline: none; /* outline handled by li:focus-within */
|
||||
}
|
||||
|
||||
#directory h2 {
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
#directory img {
|
||||
margin: 0;
|
||||
border-radius: 0 0 .5rem .5rem;
|
||||
}
|
||||
179
css/main.css
Normal file
179
css/main.css
Normal file
@ -0,0 +1,179 @@
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
|
||||
--color-concrete: #e5e0c7;
|
||||
--color-concrete-alt: #d1cbab;
|
||||
--color-green: #142b15;
|
||||
--color-green-alt: #1a3b1b;
|
||||
--color-teal-light: #4ba19e;
|
||||
--color-teal-dark: #0c6a74;
|
||||
|
||||
--color-bg: light-dark(var(--color-concrete), var(--color-green));
|
||||
--color-text: light-dark(var(--color-green), var(--color-concrete));
|
||||
--color-bg-alt: light-dark(var(--color-concrete-alt), var(--color-green-alt));
|
||||
--color-text-alt: light-dark(var(--color-green-alt), var(--color-concrete-alt));
|
||||
--color-accent: light-dark(var(--color-teal-dark), var(--color-teal-light));
|
||||
--color-accent-flipped: light-dark(var(--color-teal-light), var(--color-teal-dark));
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--color-text);
|
||||
color: var(--color-bg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
#content {
|
||||
background-color: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
border-radius: 0 0 2rem 2rem;
|
||||
padding: 1rem 0 2rem;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
.dark-mode {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.light-mode {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
header,
|
||||
main {
|
||||
width: 65%;
|
||||
margin: 0 auto 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 750px) {
|
||||
header,
|
||||
main {
|
||||
width: 92%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 2000px) {
|
||||
header,
|
||||
main {
|
||||
width: 45%;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: var(--color-text-alt);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
font-family: 'Bellota', Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin: 2rem 0;
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 2rem 0 0;
|
||||
font-size: 1.65rem;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
border-bottom: .25rem solid var(--color-accent);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-text);
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-thickness: .25rem;
|
||||
text-decoration-color: var(--color-accent);
|
||||
transition: text-decoration-thickness .5s;
|
||||
border-radius: .1rem;
|
||||
outline-offset: .1rem;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
text-decoration-thickness: .5rem;
|
||||
}
|
||||
|
||||
a:focus-visible {
|
||||
text-decoration: none;
|
||||
outline: solid .25rem var(--color-accent);
|
||||
}
|
||||
|
||||
main p,
|
||||
main ul {
|
||||
padding: .8rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
main li {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
main li:not(:last-child) {
|
||||
padding: 0 0 .5rem;
|
||||
}
|
||||
|
||||
/* styles for sets of <p>s under an h2/3/etc vs alone
|
||||
this is done as a class rather than just h2 + p to accomodate
|
||||
for multi-<p> segments which can then be wrapped in <div>s */
|
||||
.under-header,
|
||||
.no-header {
|
||||
background-color: var(--color-bg-alt);
|
||||
}
|
||||
|
||||
.under-header {
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
margin-left: 2.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 750px) {
|
||||
.under-header {
|
||||
margin-left: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.no-header {
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.two-col {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.two-col > * {
|
||||
place-self: start center;
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
.two-col {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
41
css/ml-embed.css
Normal file
41
css/ml-embed.css
Normal file
@ -0,0 +1,41 @@
|
||||
.ml-embedded {
|
||||
margin: 4rem auto 2rem;
|
||||
border-top: .25rem solid var(--color-accent);
|
||||
}
|
||||
|
||||
.ml-embedded p {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ml-form-embedWrapper {
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
}
|
||||
|
||||
.ml-form-embedContent h4 {
|
||||
font-family: 'Bellota', Arial, Helvetica, sans-serif !important;
|
||||
}
|
||||
|
||||
#mlb2-37153427.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:hover,
|
||||
#mlb2-37153313.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:hover {
|
||||
border-color: var(--color-accent-flipped);
|
||||
outline-offset: 0;
|
||||
outline: .25rem solid var(--color-accent);
|
||||
}
|
||||
|
||||
#mlb2-37153427.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus-visible,
|
||||
#mlb2-37153313.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus-visible {
|
||||
outline-offset: .25rem;
|
||||
outline: solid .25rem var(--color-accent);
|
||||
}
|
||||
|
||||
#mlb2-37153427.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover,
|
||||
#mlb2-37153313.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
|
||||
color: var(--color-text) !important;
|
||||
}
|
||||
|
||||
#mlb2-37153427.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:focus-visible,
|
||||
#mlb2-37153313.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:focus-visible {
|
||||
outline-offset: .25rem;
|
||||
outline: solid .25rem var(--color-accent);
|
||||
}
|
||||
149
css/nav.css
Normal file
149
css/nav.css
Normal file
@ -0,0 +1,149 @@
|
||||
/* top nav */
|
||||
nav {
|
||||
position: relative;
|
||||
margin: 0 auto 1.5rem;
|
||||
display: grid;
|
||||
grid-template: "logo nav";
|
||||
grid-template-rows: 7rem;
|
||||
grid-template-columns: 7rem auto;
|
||||
background-image: url("/greenhouse.jpg");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 2rem .25rem .25rem 2rem;
|
||||
}
|
||||
|
||||
nav a {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
nav a:not(:has(img)) {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
padding: 0 .25rem;
|
||||
border: solid .125rem var(--color-accent);
|
||||
border-radius: .25rem;
|
||||
background-color: var(--color-bg);
|
||||
}
|
||||
|
||||
@media (any-hover: hover) {
|
||||
nav a:not(:has(img)):hover {
|
||||
color: var(--color-bg);
|
||||
background-color: var(--color-text-alt);
|
||||
border-color: var(--color-accent-flipped);
|
||||
outline: .125rem solid var(--color-accent);
|
||||
outline-offset: 0;
|
||||
}
|
||||
}
|
||||
|
||||
nav a:not(:has(img)):focus-visible {
|
||||
outline: solid .125rem var(--color-accent);
|
||||
outline-offset: .125rem;
|
||||
}
|
||||
|
||||
#skip {
|
||||
left: -999px;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
z-index: -99;
|
||||
}
|
||||
|
||||
#skip:focus-visible {
|
||||
left: -6rem;
|
||||
width: auto;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
@media (max-width: 750px) {
|
||||
#skip:focus-visible {
|
||||
left: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
nav img {
|
||||
max-height: 100%;
|
||||
margin: 0;
|
||||
border-radius: 2rem;
|
||||
border: .2rem solid var(--color-accent);
|
||||
}
|
||||
|
||||
@media (any-hover: hover) {
|
||||
nav img:hover {
|
||||
border-color: var(--color-accent-flipped);
|
||||
outline-offset: 0;
|
||||
outline: .2rem solid var(--color-accent);
|
||||
}
|
||||
}
|
||||
|
||||
nav a:has(img) {
|
||||
grid-area: logo;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
nav a:has(img):focus-visible {
|
||||
border-radius: 2rem;
|
||||
outline-offset: .2rem;
|
||||
outline: .2rem solid var(--color-accent);
|
||||
}
|
||||
|
||||
nav a:has(img):focus-visible img {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
grid-area: nav;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
flex-flow: column nowrap;
|
||||
}
|
||||
|
||||
nav li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* footer */
|
||||
footer {
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
padding: 1rem 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media (max-width: 750px) {
|
||||
footer {
|
||||
flex-flow: column;
|
||||
}
|
||||
}
|
||||
|
||||
footer p {
|
||||
background-color: var(--color-text);
|
||||
color: var(--color-bg);
|
||||
text-align: center;
|
||||
font-size: .9rem;
|
||||
padding: .25rem;
|
||||
}
|
||||
|
||||
@media (min-width: 751px) {
|
||||
footer p:nth-child(2)::before {
|
||||
content: "● " / "";
|
||||
}
|
||||
footer p:nth-child(2)::after {
|
||||
content: " ●" / "";
|
||||
}
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: var(--color-bg);
|
||||
text-decoration-color: var(--color-accent-flipped);
|
||||
}
|
||||
|
||||
footer a:focus-visible {
|
||||
outline-color: var(--color-accent-flipped);
|
||||
}
|
||||
33
css/palette.css
Normal file
33
css/palette.css
Normal file
@ -0,0 +1,33 @@
|
||||
.color p {
|
||||
width: 50%;
|
||||
margin: 1rem auto;
|
||||
border: .25rem solid var(--color-text);
|
||||
border-radius: 1rem;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.color p {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#concrete { background-color: var(--color-concrete); }
|
||||
#concrete-alt { background-color: var(--color-concrete-alt); }
|
||||
#green { background-color: var(--color-green); }
|
||||
#green-alt { background-color: var(--color-green-alt); }
|
||||
#teal-light {background-color: var(--color-teal-light); }
|
||||
#teal-dark { background-color: var(--color-teal-dark); }
|
||||
|
||||
#concrete,
|
||||
#concrete-alt,
|
||||
#teal-light {
|
||||
color: var(--color-green);
|
||||
}
|
||||
|
||||
#green,
|
||||
#green-alt,
|
||||
#teal-dark {
|
||||
color: var(--color-concrete);
|
||||
}
|
||||
Reference in New Issue
Block a user