Skip to content

Commit da3b691

Browse files
committed
html + css > auto/grids + utility class refinement
1 parent 833539a commit da3b691

File tree

4 files changed

+28
-14
lines changed

4 files changed

+28
-14
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<main class="error main" role="main">
4242
<div class="wrap wide">
4343
<ul class="facet grid">
44-
<li class="plate column" style="--columns: 4">
44+
<li class="plate column">
4545
<div><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 188 188"><circle cx="94" cy="94" r="93.75" style="fill:#919191;" /><ellipse cx="94" cy="94" rx="82.878" ry="82.9" /><circle cx="94" cy="94" r="21.818" style="fill:#f00;" /></svg></div>
4646
<div class="plate-content hal">
4747
<h1>I am completely operational and all of my circuits are functioning perfectly.</h1>

assets/css/iolla.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,10 @@ blockquote:last-child {
562562
grid-template-columns: 1fr;
563563
}
564564

565+
.surface, .facet {
566+
--columns: 4;
567+
}
568+
565569
.grid > .column {
566570
margin-bottom: var(--gutter);
567571
}
@@ -575,6 +579,12 @@ blockquote:last-child {
575579
grid-auto-flow: dense;
576580
}
577581

582+
.autogrid .work-grid-title {
583+
font-family: Montserrat, Helvetica, Arial, sans-serif;
584+
}
585+
586+
.autogrid figcaption {line-height: inherit;}
587+
578588
.group {
579589
--gutter: .1rem;
580590
--min: 1rem;
@@ -1118,7 +1128,8 @@ body {
11181128

11191129
.menu-item:hover,
11201130
.footer-menu a:hover,
1121-
.footer-privacy a:hover {
1131+
.footer-privacy a:hover,
1132+
.autogrid figure:hover .work-grid-title {
11221133
display: inline;
11231134
background:
11241135
linear-gradient(
@@ -1130,6 +1141,9 @@ body {
11301141
transition: .25s;
11311142
}
11321143

1144+
.autogrid .work-grid-title {color: var(--clr-text);}
1145+
.autogrid figure:hover .work-grid-title {background-position: 0 13px;}
1146+
11331147
.menu-item.is-active, .footer-privacy.is-active a {
11341148
background:
11351149
linear-gradient(
@@ -1479,4 +1493,4 @@ blockquote {
14791493

14801494
.plate svg:not(.attractor svg):not(.error svg) {width: 220px; height: 220px;}
14811495
.pagination-item svg {width: 50px; height: 50px;}
1482-
}
1496+
}

info.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h2 class="sub-heading">A little more about me…</h2>
4545
</header>
4646
<div class="wrap wide">
4747
<ul class="facet grid">
48-
<li class="plate column" style="--columns: 4">
48+
<li class="plate column">
4949
<div><img src="https://iolla.net/media/pages/info/89fdcaa0e1-1666171631/countenance.jpg" width="600" alt="Headshot of John Coyne website designer" class="plate-image" /></div>
5050
<div class="plate-content">
5151
<p class="personal">Aside from a BA in 'Applied Graphics Technology for Web &amp; Multimedia', and an award winning HND in 'Digital Media for Web &amp; Print Publishing', I have over 20 years experience in clever code and distinctive design. I started developing websites in 2003 and have continued to build a wealth of constantly evolving skills, knowledge and expertise since then.</p>
@@ -54,21 +54,21 @@ <h2 class="sub-heading">A little more about me…</h2>
5454
<a href="mailto:[email protected]" class="btn">[email protected]</a>
5555
</div>
5656
</li>
57-
<li class="plate column" style="--columns: 4">
57+
<li class="plate column">
5858
<div><img src="https://iolla.net/media/pages/info/e0e8514a9d-1666171639/eilean-donan-castle.jpg" width="600" alt="Eilean Donan castle on a cloudy day" class="plate-image" /></div>
5959
<div class="plate-content">
6060
<h3 class="plate-title text">I live &amp; work in Scotland</h3>
6161
<p class="plate-tagline text">This isn't a picture of my actual house</p>
6262
</div>
6363
</li>
64-
<li class="plate column" style="--columns: 4">
64+
<li class="plate column">
6565
<div><img src="https://iolla.net/media/pages/info/b3d3d4b931-1666171653/cats.jpg" width="600" alt="A short haired black cat and a long haired tabby cat sitting indoors on a climbing frame" class="plate-image" /></div>
6666
<div class="plate-content">
6767
<h3 class="plate-title text">I'm a loyal &amp; tireless <a href="alya.html">cat</a> butler</h3>
6868
<p class="plate-tagline text">Rated &#9733; &#9733; &#9733; &#9733; room for improvement</p>
6969
</div>
7070
</li>
71-
<li class="plate column" style="--columns: 4">
71+
<li class="plate column">
7272
<div><img src="https://iolla.net/media/pages/info/0c141b2cbc-1666171645/vo2max.jpg" width="600" alt="Garmin fenix fitness watch displaying a VO2 Max graph of 64" class="plate-image" /></div>
7373
<div class="plate-content">
7474
<h3 class="plate-title text">I'm a very passionate runner</h3>

0 commit comments

Comments
 (0)