fix: minor style refinements
This commit is contained in:
parent
739e3b30c3
commit
f64944a6c5
3 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"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.",
|
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{% for item in media limit: count %}
|
{% for item in media limit: count %}
|
||||||
{% assign alt = item.alt | strip %}
|
{% assign alt = item.alt | strip %}
|
||||||
<a href="{{ item.url | stripUtm }}" title="{{ alt | escape }}">
|
<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__cover{% if item.subtext %} gradient{% endif %}"></div>
|
||||||
<div class="item__meta-text">
|
<div class="item__meta-text">
|
||||||
{% if item.title %}
|
{% if item.title %}
|
||||||
|
|
|
@ -759,6 +759,10 @@ ol li {
|
||||||
grid-template-columns: repeat(3,minmax(0,1fr));
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media__grid.vertical .item__wrapper {
|
||||||
|
max-width: 165px;
|
||||||
|
}
|
||||||
|
|
||||||
.media__grid .item__wrapper {
|
.media__grid .item__wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -1145,6 +1149,10 @@ textarea {
|
||||||
grid-template-columns: repeat(6,minmax(0,1fr));
|
grid-template-columns: repeat(6,minmax(0,1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media__grid.vertical .item__wrapper {
|
||||||
|
max-width: 121px;
|
||||||
|
}
|
||||||
|
|
||||||
/* contact */
|
/* contact */
|
||||||
.contact__wrapper {
|
.contact__wrapper {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
Reference in a new issue