big ol artist refactor - add rachel for real sample data, remove old placeholders
This commit is contained in:
54
css/artist.css
Normal file
54
css/artist.css
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
.artist {
|
||||||
|
width: 100%;
|
||||||
|
margin: 1rem 0;
|
||||||
|
display: grid;
|
||||||
|
grid-template:
|
||||||
|
'imgs h3'
|
||||||
|
'imgs desc'
|
||||||
|
'imgs .';
|
||||||
|
grid-template-columns: 45% auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1050px) {
|
||||||
|
.artist {
|
||||||
|
grid-template:
|
||||||
|
'imgs'
|
||||||
|
'h3'
|
||||||
|
'desc';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fit-contain {
|
||||||
|
object-fit: contain;
|
||||||
|
grid-area: imgs;
|
||||||
|
}
|
||||||
|
|
||||||
|
.artist img {
|
||||||
|
max-height: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.artist h3 {
|
||||||
|
grid-area: h3;
|
||||||
|
padding-left: .5rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
grid-area: desc;
|
||||||
|
background-color: light-dark(var(--color-dark), var(--color-light));
|
||||||
|
margin-left: 1.75rem;
|
||||||
|
border-radius: 0 0 1rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1050px) {
|
||||||
|
.artist h3 {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-top: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
margin-left: .625rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
51
css/main.css
51
css/main.css
@ -89,16 +89,20 @@ h1 {
|
|||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin: 2rem 0 0;
|
margin: 2rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
border-bottom: .25rem solid light-dark(var(--color-orange-dark), var(--color-orange-light));
|
border-bottom: .25rem solid light-dark(var(--color-orange-dark), var(--color-orange-light));
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: light-dark(var(--color-dark), var(--color-light));
|
color: light-dark(var(--color-light), var(--color-dark));
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
text-decoration-style: solid;
|
text-decoration-style: solid;
|
||||||
text-decoration-thickness: .25rem;
|
text-decoration-thickness: .25rem;
|
||||||
text-decoration-color: light-dark(var(--color-orange-dark), var(--color-orange-light));
|
text-decoration-color: light-dark(var(--color-orange-light), var(--color-orange-dark));
|
||||||
transition: text-decoration-thickness .5s;
|
transition: text-decoration-thickness .5s;
|
||||||
margin: 0 .25rem;
|
margin: 0 .25rem;
|
||||||
}
|
}
|
||||||
@ -115,56 +119,23 @@ a:focus {
|
|||||||
border-radius: .1rem;
|
border-radius: .1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
main > p {
|
p {
|
||||||
margin-left: 2.5rem;
|
|
||||||
background-color: light-dark(var(--color-dark), var(--color-light));
|
background-color: light-dark(var(--color-dark), var(--color-light));
|
||||||
color: light-dark(var(--color-light), var(--color-dark));
|
color: light-dark(var(--color-light), var(--color-dark));
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
border-radius: 0 0 1rem 1rem;
|
border-radius: 0 0 1rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main > p {
|
||||||
|
margin-left: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 650px) {
|
@media (max-width: 650px) {
|
||||||
main > p {
|
main > p {
|
||||||
margin-left: 1.25rem;
|
margin-left: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#artists {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
row-gap: 2rem;
|
|
||||||
column-gap: 1rem;
|
|
||||||
margin: 2rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist-name-bg {
|
|
||||||
background-color: light-dark(var(--color-dark), var(--color-light));
|
|
||||||
color: light-dark(var(--color-light), var(--color-dark));
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist img {
|
|
||||||
max-height: 35vh;
|
|
||||||
max-width: 100%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist h3,
|
|
||||||
.artist p {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist h3 {
|
|
||||||
text-transform: uppercase;
|
|
||||||
padding: .25rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist p {
|
|
||||||
margin-top: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|||||||
BIN
img/rachel.jpg
Executable file
BIN
img/rachel.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 272 KiB |
38
index.html
38
index.html
@ -17,6 +17,7 @@
|
|||||||
<meta property="og:image:alt" content="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme" />
|
<meta property="og:image:alt" content="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme" />
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<link rel="stylesheet" href="/css/main.css">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
<link rel="stylesheet" href="/css/artist.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
@ -36,37 +37,12 @@
|
|||||||
|
|
||||||
<h2>Who?</h2>
|
<h2>Who?</h2>
|
||||||
|
|
||||||
<div id="artists">
|
<div class="artist">
|
||||||
<div class="artist">
|
<div class="fit-contain"><img src="/img/rachel.jpg"></div>
|
||||||
<div class="artist-name-bg">
|
<h3>Rachel Guinevere LordKenaga</h3>
|
||||||
<img src="/img/greenhouse1.jpg" alt="a dilapidated greenhouse">
|
<div class="description">
|
||||||
<h3>Jennifer Hawke</h3>
|
<p>I am an artist and art therapist living on Vashon. I'm most interested in evoking feelings and memory with my work. I will have my handmade Tarot deck and small oil paintings. I'll offer 1 card pulls for $20.</p>
|
||||||
</div>
|
<p><a href="https://www.instagram.com/rglkart/">@rglkart on instagram</a> ● <a href="https://www.rglkart.com/">Rachel's website</a></p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="artist">
|
|
||||||
<div class="artist-name-bg">
|
|
||||||
<img src="/img/greenhouse3.jpg" alt="a dilapidated greenhouse">
|
|
||||||
<h3>Mary McGinnis</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="artist">
|
|
||||||
<div class="artist-name-bg">
|
|
||||||
<img src="/img/lee.jpg" alt="a block print in black ink on white paper depicting a grinning and very fat raccoon, waving one little paw">
|
|
||||||
<h3>Lee Cattarin</h3>
|
|
||||||
</div>
|
|
||||||
<p>multidisciplinary artist and birder</p>
|
|
||||||
<p><a href="https://leecat.art">leecat.art</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="artist">
|
|
||||||
<div class="artist-name-bg">
|
|
||||||
<img src="/img/greenhouse2.jpg" alt="a dilapidated greenhouse">
|
|
||||||
<h3>Brooke Osment</h3>
|
|
||||||
</div>
|
|
||||||
<p>found art jackets, fashion items, visible mending</p>
|
|
||||||
<p><a href="mailto:bsosment@gmail.com?subject=Beall%20Greenhouses%20Market">email Brooke</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user