fix: minor style refinements

This commit is contained in:
Cory Dransfeldt 2023-12-28 14:39:38 -08:00
parent 739e3b30c3
commit f64944a6c5
No known key found for this signature in database
3 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "4.0.9",
"version": "4.0.10",
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {

View file

@ -8,7 +8,7 @@
{% for item in media limit: count %}
{% assign alt = item.alt | strip %}
<a href="{{ item.url | stripUtm }}" title="{{ alt | escape }}">
<div class="item__wrapper"{% if shape != 'square' %} style="max-width:226px"{% endif %}>
<div class="item__wrapper">
<div class="item__cover{% if item.subtext %} gradient{% endif %}"></div>
<div class="item__meta-text">
{% if item.title %}

View file

@ -759,6 +759,10 @@ ol li {
grid-template-columns: repeat(3,minmax(0,1fr));
}
.media__grid.vertical .item__wrapper {
max-width: 165px;
}
.media__grid .item__wrapper {
position: relative;
overflow: hidden;
@ -1145,6 +1149,10 @@ textarea {
grid-template-columns: repeat(6,minmax(0,1fr));
}
.media__grid.vertical .item__wrapper {
max-width: 121px;
}
/* contact */
.contact__wrapper {
flex-direction: row;