Compare commits

...

4 commits

Author SHA1 Message Date
TheThomaas 142b1455f9 Fix focus styles 2025-06-12 21:58:33 +02:00
TheThomaas a12049e717 Update project grid spacing 2025-06-12 21:58:11 +02:00
TheThomaas 1b29a6de77 Update title spacing 2025-06-12 21:50:22 +02:00
TheThomaas b18695aa7b Update project card style 2025-06-12 21:50:11 +02:00
4 changed files with 8 additions and 4 deletions

View file

@ -8,6 +8,9 @@
--button-border-color: var(--button-bg); --button-border-color: var(--button-bg);
--button-radius: 0.5em; --button-radius: 0.5em;
--button-outline-color: #0a76f6;
--button-outline-offset: -3px;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: var(--button-gap, 0.5em); gap: var(--button-gap, 0.5em);

View file

@ -1,6 +1,6 @@
.project-grid { .project-grid {
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
gap: 1rem; gap: 1.5rem 1rem;
display: grid; display: grid;
} }
.project-grid > li { .project-grid > li {
@ -18,7 +18,7 @@
background-size: cover; background-size: cover;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
gap: 2.5rem; gap: .5rem;
height: 100%; height: 100%;
padding: 0.4rem; padding: 0.4rem;
display: flex; display: flex;
@ -47,7 +47,7 @@
width: auto; width: auto;
} }
.card .content { .card .content {
padding: 1rem 0.4rem 0; padding-inline: .4rem;
} }
.card .list-inline { .card .list-inline {
gap: 0.5ch; gap: 0.5ch;

View file

@ -86,7 +86,7 @@ main {
} }
main h2 { main h2 {
font-size: calc(var(--font-size) * 1.6); font-size: calc(var(--font-size) * 1.6);
margin-block: 2rem 1rem; margin-block: 1.5em 1em;
} }
main .list-inline { main .list-inline {
--item-gap: 0; --item-gap: 0;

View file

@ -76,6 +76,7 @@
color: var(--item-color, var(--text)); color: var(--item-color, var(--text));
text-decoration: none; text-decoration: none;
transition: all 0.2s; transition: all 0.2s;
outline-offset: -1px;
} }
.list-inline a:hover { .list-inline a:hover {
text-decoration: underline; text-decoration: underline;