Gratis
Galería
Marit Solane Gallery
A gallery block extracted from the Marit Solane template, available in Tailwind CSS.
0
2
A gallery block extracted from the Marit Solane template, available in Tailwind CSS.
Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Marit Solane Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery block extracted from the Marit Solane template, available in Tailwind CSS.">
<meta name="keywords" content="Marit Solane, Tailwind CSS template, HTML website template, artist portfolio template, painter website, art gallery template, artwork series page, artist CV, commissions enquiry form, portfolio template">
<meta name="author" content="Let's templates">
<link rel="canonical" href="">
<meta property="og:type" content="product">
<meta property="og:site_name" content="Let's templates">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="">
<meta property="og:title" content="Marit Solane | Tailwind CSS Portfolio Template">
<meta property="og:description" content="A quiet Tailwind CSS template for painters and other artists, with a hairline serif series title beside a slice of a painting, a gallery with wall labels, a to-scale viewer, a series page, a CV and an enquiry form.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Marit Solane template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Marit Solane | Tailwind CSS Portfolio Template">
<meta name="twitter:description" content="A quiet Tailwind CSS template for painters and other artists, with a hairline serif series title beside a slice of a painting, a gallery with wall labels, a to-scale viewer, a series page, a CV and an enquiry form.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Marit Solane template preview">
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: { DEFAULT: '#141414', soft: '#4a4a48', mute: '#6f6e6a' },
line: '#e2e0db',
wall: '#f1eee9'
},
fontFamily: {
serif: ['"Cormorant Garamond"', 'serif'],
sans: ['Archivo', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.display { font-family: "Cormorant Garamond", serif; font-weight: 300; line-height: .95; letter-spacing: -.015em; }
.italic-serif { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300; }
.label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
/* Hero: one series at a time; the tall slice on the right edge is a strip of its lead painting. */
.slides { display: grid; }
.slides > * { grid-area: 1 / 1; transition: opacity .6s ease, visibility .6s; }
.slides > [aria-hidden="true"] { opacity: 0; visibility: hidden; }
/* To scale: the stage is a wall 360 cm wide and 250 cm high, so 1 cm is 100cqw / 360. */
.stage { container-type: inline-size; }
.stage-wall { position: relative; aspect-ratio: 360 / 250; --cm: calc(100cqw / 360); border-bottom: 1px solid #141414; }
.stage-work { position: absolute; left: 62%; bottom: calc((150 - var(--h) / 2) * var(--cm)); width: calc(var(--w) * var(--cm)); height: calc(var(--h) * var(--cm)); transform: translateX(-50%); object-fit: cover; box-shadow: 0 calc(3 * var(--cm)) calc(8 * var(--cm)) rgba(20, 20, 20, .22); }
.stage-person { position: absolute; left: 14%; bottom: 0; height: calc(170 * var(--cm)); width: auto; fill: #cdc7bd; }
dialog.lightbox { max-width: none; max-height: none; height: 100dvh; width: 100vw; margin: 0; padding: 0; background: #fff; }
dialog.lightbox::backdrop { background: #fff; }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .slides > * { transition: none; } }
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start gallery -->
<section id="work" class="border-t border-line px-5 py-20 md:px-14 md:py-32">
<div class="flex items-end justify-between gap-6">
<h2 class="display text-5xl md:text-8xl">Selected work</h2>
<a href="work.html" class="label inline-flex shrink-0 items-center gap-3 border-b border-ink pb-2">All work <i class="fa-solid fa-arrow-right"></i></a>
</div>
<div class="mt-14 gap-10 sm:columns-2 lg:columns-3 md:mt-20">
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 0ms">
<button type="button" class="group block w-full text-left" data-work data-title="Slack Water" data-meta="Oil on linen, 120 × 90 cm, 2025" data-status="Available" data-src="https://images.unsplash.com/photo-1515405295579-ba7b45403062?auto=format&fit=crop&w=1600&q=80" data-alt="A dark blue painting of broken horizontal strokes, like a sea at night" aria-label="Open Slack Water">
<img src="https://images.unsplash.com/photo-1515405295579-ba7b45403062?auto=format&fit=crop&w=900&q=80" alt="A dark blue painting of broken horizontal strokes, like a sea at night" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 120 / 90">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">Slack Water</span><span class="mt-1 block text-sm text-ink-mute">Oil on linen, 120 × 90 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink">Available</span>
</figcaption>
</figure>
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 90ms">
<button type="button" class="group block w-full text-left" data-work data-title="Brass Section" data-meta="Acrylic on canvas, 90 × 120 cm, 2023" data-status="Private collection" data-src="https://images.unsplash.com/photo-1541961017774-22349e4a1262?auto=format&fit=crop&w=1600&q=80" data-alt="An abstract painting in thick yellow, orange and turquoise" aria-label="Open Brass Section">
<img src="https://images.unsplash.com/photo-1541961017774-22349e4a1262?auto=format&fit=crop&w=900&q=80" alt="An abstract painting in thick yellow, orange and turquoise" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 90 / 120">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">Brass Section</span><span class="mt-1 block text-sm text-ink-mute">Acrylic on canvas, 90 × 120 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink-mute">Private collection</span>
</figcaption>
</figure>
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 180ms">
<button type="button" class="group block w-full text-left" data-work data-title="Ebb, Evening" data-meta="Oil on linen, 100 × 140 cm, 2024" data-status="Sold" data-src="https://images.unsplash.com/photo-1618331835717-801e976710b2?auto=format&fit=crop&w=1600&q=80" data-alt="Blocks of muted teal, cream and charcoal paint laid on thickly" aria-label="Open Ebb, Evening">
<img src="https://images.unsplash.com/photo-1618331835717-801e976710b2?auto=format&fit=crop&w=900&q=80" alt="Blocks of muted teal, cream and charcoal paint laid on thickly" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 100 / 140">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">Ebb, Evening</span><span class="mt-1 block text-sm text-ink-mute">Oil on linen, 100 × 140 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink-mute">Sold</span>
</figcaption>
</figure>
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 0ms">
<button type="button" class="group block w-full text-left" data-work data-title="First Thaw" data-meta="Ink and pigment on paper, 56 × 76 cm, 2021" data-status="Available" data-src="https://images.unsplash.com/photo-1557672172-298e090bd0f1?auto=format&fit=crop&w=1600&q=80" data-alt="Pale pink and blue pigment running in marbled bands" aria-label="Open First Thaw">
<img src="https://images.unsplash.com/photo-1557672172-298e090bd0f1?auto=format&fit=crop&w=900&q=80" alt="Pale pink and blue pigment running in marbled bands" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 56 / 76">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">First Thaw</span><span class="mt-1 block text-sm text-ink-mute">Ink and pigment on paper, 56 × 76 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink">Available</span>
</figcaption>
</figure>
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 90ms">
<button type="button" class="group block w-full text-left" data-work data-title="Breakwater" data-meta="Oil on linen, 150 × 150 cm, 2024" data-status="Available" data-src="https://images.unsplash.com/photo-1536924940846-227afb31e2a5?auto=format&fit=crop&w=1600&q=80" data-alt="Heavy blue and rust-orange paint dragged across a dark ground" aria-label="Open Breakwater">
<img src="https://images.unsplash.com/photo-1536924940846-227afb31e2a5?auto=format&fit=crop&w=900&q=80" alt="Heavy blue and rust-orange paint dragged across a dark ground" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 150 / 150">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">Breakwater</span><span class="mt-1 block text-sm text-ink-mute">Oil on linen, 150 × 150 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink">Available</span>
</figcaption>
</figure>
<figure class="mb-12 break-inside-avoid" data-reveal style="--reveal-delay: 180ms">
<button type="button" class="group block w-full text-left" data-work data-title="Corner Table" data-meta="Acrylic on board, 60 × 60 cm, 2023" data-status="Available" data-src="https://images.unsplash.com/photo-1531913764164-f85c52e6e654?auto=format&fit=crop&w=1600&q=80" data-alt="Overlapping red, yellow and blue rectangles of paint" aria-label="Open Corner Table">
<img src="https://images.unsplash.com/photo-1531913764164-f85c52e6e654?auto=format&fit=crop&w=900&q=80" alt="Overlapping red, yellow and blue rectangles of paint" loading="lazy" class="w-full object-cover transition duration-500 group-hover:opacity-85" style="aspect-ratio: 60 / 60">
</button>
<figcaption class="mt-4 flex items-baseline justify-between gap-4">
<span><span class="italic-serif block text-2xl">Corner Table</span><span class="mt-1 block text-sm text-ink-mute">Acrylic on board, 60 × 60 cm</span></span>
<span class="label shrink-0 text-[.7rem] text-ink">Available</span>
</figcaption>
</figure>
</div>
</section>
<!-- block:end gallery -->
<script>
document.querySelectorAll("[data-menu-toggle]").forEach((button) => {
const menu = document.getElementById(button.getAttribute("aria-controls"));
if (!menu) return;
button.addEventListener("click", () => {
const open = button.getAttribute("aria-expanded") === "true";
button.setAttribute("aria-expanded", String(!open));
menu.classList.toggle("hidden", open);
});
});
document.querySelectorAll("[data-slides]").forEach((root) => {
const slides = [...root.querySelectorAll("[data-slide]")];
if (slides.length < 2) return;
let current = 0;
const show = (index) => {
current = (index + slides.length) % slides.length;
slides.forEach((slide, i) => {
if (i === current) slide.removeAttribute("aria-hidden"); else slide.setAttribute("aria-hidden", "true");
});
};
root.querySelector("[data-slide-prev]")?.addEventListener("click", () => show(current - 1));
root.querySelector("[data-slide-next]")?.addEventListener("click", () => show(current + 1));
slides.forEach((slide) => slide.querySelector("img")?.addEventListener("click", () => show(current + 1)));
});
document.querySelectorAll("[data-scale]").forEach((root) => {
const wall = root.querySelector("[data-scale-wall]");
const image = root.querySelector("[data-scale-image]");
const options = root.querySelectorAll("[data-scale-work]");
options.forEach((option) => option.addEventListener("click", () => {
options.forEach((other) => other.setAttribute("aria-checked", String(other === option)));
const { w, h, src, alt, title } = option.dataset;
wall.style.setProperty("--w", w);
wall.style.setProperty("--h", h);
image.src = src;
image.alt = alt;
root.querySelector("[data-scale-title]").textContent = title;
root.querySelector("[data-scale-size]").textContent = `${w} × ${h}`;
}));
});
document.querySelectorAll("[data-hover-list]").forEach((root) => {
const image = root.querySelector("[data-hover-image]");
if (!image) return;
root.querySelectorAll("[data-hover-row]").forEach((row) => {
const on = () => { image.src = row.dataset.src; image.style.opacity = 1; };
const off = () => { image.style.opacity = 0; };
row.addEventListener("mouseenter", on);
row.addEventListener("focus", on);
row.addEventListener("mouseleave", off);
row.addEventListener("blur", off);
});
});
(() => {
const dialog = document.querySelector("[data-lightbox]");
if (!dialog || !dialog.showModal) return;
const part = (name) => dialog.querySelector(`[data-lightbox-${name}]`);
let list = [];
let current = 0;
const show = (index) => {
current = (index + list.length) % list.length;
const { title, meta, status, src, alt } = list[current].dataset;
part("image").src = src;
part("image").alt = alt;
part("title").textContent = title;
part("meta").textContent = meta;
part("status").textContent = status;
part("link").hidden = status !== "Available";
part("link").href = `contact.html?work=${encodeURIComponent(title)}`;
};
document.addEventListener("click", (event) => {
const trigger = event.target.closest("[data-work]");
if (!trigger) return;
list = [...document.querySelectorAll("[data-work]")].filter((item) => !item.closest("[hidden]"));
show(list.indexOf(trigger));
dialog.showModal();
});
part("prev").addEventListener("click", () => show(current - 1));
part("next").addEventListener("click", () => show(current + 1));
part("close").addEventListener("click", () => dialog.close());
dialog.addEventListener("keydown", (event) => {
if (event.key === "ArrowLeft") show(current - 1);
if (event.key === "ArrowRight") show(current + 1);
});
})();
(() => {
const items = document.querySelectorAll("[data-reveal]");
const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
if (!items.length || skip) return;
document.documentElement.classList.add("reveal-ready");
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
entry.target.classList.add("is-visible");
observer.unobserve(entry.target);
});
}, { rootMargin: "0px 0px -10% 0px" });
items.forEach((item) => observer.observe(item));
})();
</script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>
Premium
Portfolio
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.