Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <base href="https://marksuth.dev" /><nav class="navbar sticky-top navbar-expand-md navbar-blur navbar-dark" aria-label="main-navigation">
<div class="container-lg">
<a class="navbar-brand" href="https://marksuth.dev" rel="author">Mark Sutherland</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNavigation"
aria-controls="mainNavigation" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="mainNavigation">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 ">
<li class="nav-item"><a class="nav-link active " href="/">Home</a></li>
<li class="nav-item"><a class="nav-link " href="/now">Now</a></li>
<li class="nav-item"><a class="nav-link " href="https://marksuth.dev/posts">Posts</a></li>
<li class="nav-item"><a class="nav-link " href="https://marksuth.dev/photos">Photos</a></li>
<li class="nav-item"><a class="nav-link " href="https://marksuth.dev/collections">Collections</a></li>
<li class="nav-item"><a class="nav-link " href="https://marksuth.dev/stream">Stream</a></li>
<li class="nav-item"><a class="nav-link " href="/projects">Projects</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<main id="primary" class="site-main">
<div class="intro h-card">
<div class="row justify-content-center">
<div class="col-md-4 col-6 avatar-box mb-3">
<img src="/images/avatar.jpg" alt="Mark Sutherland" class="avatar u-photo img-fluid" height="416" width="416"/>
</div>
<div class="col-md-8 ps-md-4 pt-md-5">
<h1 class="p-name box">Mark Sutherland</h1>
<p class="p-note box"><span class="p-category">Developer</span> & Digital Creative</p>
<div class="d-flex fw-bolder mb-2">

<div class="p-2 pe-3 box">
<i class="fa-solid fa-location-dot fa-lg fa-fw"></i>
<span class="p-locality">Leicester</span>,
<span class="p-country-name">UK</span>
</div>
<div class="p-2 pe-3 box">
<i class="fa-solid fa-user fa-lg fa-fw"></i>

<span class="p-pronouns">He/Him</span></div>
</div>
<ul class="nav nav-pills justify-content-center justify-content-md-start">
<li class="nav-item"><a data-hint="Website" class="nav-link u-url u-uid"
href="https://marksuth.dev"rel="me" title="Website"
aria-label="Website">
<i class="fa-solid fa-globe fa-fw fa-2x"></i>
</a></li>
<li class=" nav-item"><a data-hint="Email" class="nav-link u-email"
href="mailto:mark@marksuth.dev" rel="me" title="Email"
aria-label="Email">
<i class="fa-solid fa-envelope fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="GitHub" class="nav-link"
href="https://github.com/marksuth" rel="me" title="GitHub"
aria-label="GitHub">
<i class="fa-brands fa-github fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="Instagram" class="nav-link"
href="https://instagram.com/marksuth" rel="me" title="Instagram"
aria-label="Instagram">
<i class="fa-brands fa-instagram fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="Linkedin" class="nav-link"
href="https://www.linkedin.com/in/marksuth" rel="me" title="Linkedin"
aria-label="Linkedin">
<i class="fa-brands fa-linkedin fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="Mastodon" class="nav-link"
href="https://mastodon.social/@marksuth" rel="me" title="Mastodon"
aria-label="Mastodon">
<i class="fa-brands fa-mastodon fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="BlueSky" class="nav-link"
href="https://bsky.app/profile/marksuth.dev" rel="me" title="BlueSky"
aria-label="BlueSky">
<i class="fa-solid fa-cloud fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="Medium" class="nav-link"
href="https://medium.com/@marksuth" rel="me" title="Medium"
aria-label="Medium">
<i class="fa-brands fa-medium fa-fw fa-2x"></i>
</a></li>
<li class="nav-item"><a data-hint="Discogs" class="nav-link"
href="https://www.discogs.com/user/marksuth" rel="me" title="Discogs"
aria-label="Discogs">
<i class="fa-brands fa-vinyl fa-fw fa-2x"></i>
</a></li>
</ul>
</div>
</div>
</div>
<div class="row my-4">
<div class="col-md-3 text-md-end">
<h2 class="h1">Recent Posts</h2>
</div>
<div class="col-md-8 h-feed">
<article class="h-entry">
<div class="postbox">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/note">Note</a>
                                                                  posted
<time datetime="2024-04-21 13:46:00">
3 days ago
</time>
</small>
<h3 class="p-name"><a href="/posts/2024/04/getting-back-into-blogging"
class="u-url">Getting back into blogging</a></h3>
<div ><p>First things first, I'll get the traditional &quot;I've not blogged in a while&quot; bit out the way:
                                                                                              It's been a while since I last wrote a post on here, for ...</p>
</div>
<footer class="text-end">
<a href="/posts/2024/04/getting-back-into-blogging"
class="btn btn-dark text-capitalize" title="View Note">View
                                                      Note
<i class="fa-solid fa-chevron-right"></i>
</a>
</footer>
</div>
<hr>
</article>
<article class="h-entry">
<div class="postbox">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/note">Note</a>
                                                                  posted
<time datetime="2023-11-01 14:41:00">
01/11/23 @ 14:11
</time>
</small>
<h3 class="p-name"><a href="/posts/2023/11/forgetting-to-post"
class="u-url">Forgetting to Post</a></h3>
<div ><p>I will often fall out of the habit of posting anything for weeks or maybe months at a time and will make sporadically post a variant of a weekly note ...</p>
</div>
<footer class="text-end">
<a href="/posts/2023/11/forgetting-to-post"
class="btn btn-dark text-capitalize" title="View Note">View
                                                      Note
<i class="fa-solid fa-chevron-right"></i>
</a>
</footer>
</div>
<hr>
</article>
<article class="h-entry">
<div class="postbox">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/article">Article</a>
                                                                        posted
<time datetime="2023-08-04 20:13:00">
04/08/23 @ 20:08
</time>
</small>
<h3 class="p-name"><a href="/posts/2023/08/indieweb-carnival-august-2023-gardening"
class="u-url">IndieWeb Carnival August 2023: Gardening</a></h3>
<div ><p>IndieWeb carnival is a monthly challenge to write a post on a particular theme, so far there themes have been <a href="https://sarajaksa.eu/2023/06/carnival-of-indieweb-june-2023-edition-indieweb-and-cooking/">IndieWeb and Cooking</a> and <a href="https://jamesg.blog/2023/07/01/indieweb-carnival/">Moments of Joy</a>.</p>
<p>This month, I'm ...</p>
</div>
<footer class="text-end">
<a href="/posts/2023/08/indieweb-carnival-august-2023-gardening"
class="btn btn-dark text-capitalize" title="View Article">View
                                                         Article
<i class="fa-solid fa-chevron-right"></i>
</a>
</footer>
</div>
<hr>
</article>

<div class="text-end">
<p><a href="/posts" class="btn btn-dark">View All Posts <i class="fa-solid fa-chevron-right"></i>
</a></p>
</div>
</div>
</div>
<div class="row justify-content-center mb-4 mt-4">
<div class="col-md-5">
<h2 class="h1">Activity Stream</h2>
<div class="bg-dark p-3 rounded mb-4">
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-04-21 13:51:41">
3 days ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/04/michael-clayton-2007">Michael Clayton</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-04-08 00:00:00">
2 weeks ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/04/io-capitano-2023">Io Capitano</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-04-06 00:00:00">
2 weeks ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/04/monkey-man-2024">Monkey Man</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-03-30 00:00:00">
3 weeks ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/03/late-night-with-the-devil-2023">Late Night with the Devil</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-03-22 00:00:00">
1 month ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/03/drive-away-dolls-2024">Drive-Away Dolls</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/drink">Drink</a>
                                                                    posted
<time datetime="2024-03-16 18:52:24">
1 month ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/03/mash-gang-cult">Cult</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-03-16 00:00:00">
1 month ago
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/03/jour-de-fete-1949">Jour de fête</a>
</h3>
</div>
</div>
<div class="mb-3">
<div class="col-9">
<small class="font-monospace mb-0"><a
                                    href="/posts/type/watch">Watch</a>
                                                                    posted
<time datetime="2024-03-06 00:00:00">
06/03/24 @ 00:03
</time>
</small>
<h3 class="h4"><a
                href="/posts/2024/03/perfect-days-2023">Perfect Days</a>
</h3>
</div>
</div>
</div>
<div class="text-start">
<p>
<a href="/stream" class="btn btn-dark">
                                      View Activity Stream <i class="fa-solid fa-chevron-right"></i>
</a>
</p>
</div>
</div>
<div class="col-md-6 col-md-offset-1">
<h2 class="h1">Photo Stream</h2>
<div class="row sample-photos">
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/04/lcfc-5-0-win"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/HrtoE1fi3SPcCRq1QPDe57atunhT5eSHh6CmqNRk.jpg" alt="LCFC 5-0 win" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-04-23 22:25:00">
21 hours ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/04/dragon"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/YOqLPoiHLNmUl4tztN4RVWuOaRUVzoTHcb28FUnl.jpg" alt="Dragon" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-04-23 17:12:00">
1 day ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/04/morris-dancing"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/MQmtyaV06Gt4Wi78y7z3yCIlLpgdfKIqqn2qCwBv.jpg" alt="Morris Dancing" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-04-23 17:01:00">
1 day ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/04/everything-everything-2024"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/osihU18Nskd31s9jM2VAvUndldzfJxZb41WaQmr2.jpg" alt="Everything Everything" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-04-05 09:14:13">
2 weeks ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/04/lego-tranquil-garden"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/W9GqIACZwVjzpS7acc8K7p8GpJxzRvDeJWWECnmS.jpg" alt="Lego Tranquil Garden" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-04-03 19:53:08">
3 weeks ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2024/03/mclaren-lego-set"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/6zesI495Ray9RQxbSTY5KfwUSzAp6FocsjlGKo7m.jpg" alt="McLaren LEGO set" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2024-03-13 21:12:37">
1 month ago
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2023/08/forth-bridge"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/szDATDTyjVD0CPYk2mXCnz3D17qev4wUugoXQVEC.jpg" alt="Forth Bridge" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2023-08-31 12:34:22">
31/08/23 @ 12:08
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2023/07/camera"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/UwgKSDZcXJ3t9CfaCLxgRKTjBMFD7TfPVn67UdnV.jpg" alt="Old School Webcam" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2023-07-01 18:21:55">
01/07/23 @ 06:07
</time>
</p>
</div>
</div>
<div class="col-md-4">
<div class="bg-white p-1 pb-0 mb-4 rounded-1">
<div class="ratio ratio-1x1">
<a href="/photos/2023/05/punk-rage-and-revolution-exhibition"
class="photo-thumb">
<img loading="lazy" src="/storage/thumbs/b1UbW0kJFR56bp7UrY5wKaOJykMV4FUcHDebi2tD.jpg" alt="Punk Rage and Revolution Exhibition" class="img-fluid rounded" height="500" width="500">
</a>
</div>
<p class="text-gray text-end small">
<time datetime="2023-05-28 13:07:57">
28/05/23 @ 01:05
</time>
</p>
</div>
</div>
</div>
<div class="text-start">
<p><a href="/photos" class="btn btn-dark">View All Photos <i class="fa-solid fa-chevron-right"></i></a></p>
</div>
</div>
</div>
</main>
</div>
<footer class="site-footer py-4">
<div class="container">
<p><a href="https://xn--sr8hvo.ws/%F0%9F%93%BB%F0%9F%93%85%F0%9F%9A%BF/previous" title="Webring Previous"
aria-label="Webring Previous"><i class="fa-solid fa-chevron-left"></i></a>
                                                                        An IndieWeb Webring <a href="https://xn--sr8hvo.ws/%F0%9F%93%BB%F0%9F%93%85%F0%9F%9A%BF/next"
title="Webring Next" aria-label="Webring Next">
<i class="fa-solid fa-chevron-right"></i>
</a></p>
<small>&copy; Mark Sutherland 2024. 🌈</small>
<nav class="nav justify-content-center small" aria-label="Footer Menu">
<a class="nav-link" href="/privacy">Privacy Policy</a>
<a class="nav-link" href="/contact">Contact Me</a>
</nav>
</div>
</footer>

              
            
!

CSS

              
                
body {
	
	.sample-photos {
		display: flex;
		flex-wrap: wrap;
		> * {
			width: clamp( 20ch, 33%, 60ch);
			img {
				max-width: 100%;
				height: auto;
			}
		}
	}
	
	background: #214154;
	color: white;
	font-family: sans-serif;
	a {
		color: red;
	}
	nav {
		ul {
			list-style-type: none;
			display: flex;
			flex-wrap: wrap;
			justify-content: space-around;
			li {
				margin: 0;
				a {
					padding-inline: 1vw;
					text-decoration: none;
					
				}
			}
		}
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console