focus-within

This commit is contained in:
madrilene 2022-11-24 14:55:39 +01:00
parent 86c247dac9
commit 23eb02e9a8
4 changed files with 20 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "eleventy-excellent",
"version": "1.1.0",
"version": "1.1.1",
"engines": {
"node": ">=16.x.x"
},

View file

@ -85,8 +85,10 @@ npm run build
- updated required node version in package.json
- meta.js now controls most of the templates defaults
- added RSS feed, because of course!
- Made twitter and other meta data OPTIONAL. Added Mastodon.
- added RSS feed, because of course!!
- Made twitter and other meta data OPTIONAL
- Added Mastodon verification and more social icon defaults
- focus-within for the cards
### 22-11-04

View file

@ -1,5 +1,6 @@
.card {
background: var(--color-dark);
border: 4px solid var(--color-dark);
color: var(--color-light);
padding: var(--space-m-l);
border-radius: var(--border-radius);
@ -23,3 +24,16 @@
.card time {
opacity: 0.8;
}
.card:hover,
.card:focus-within {
border: 4px solid var(--color-primary);
}
.card a {
text-decoration: none;
}
.card:focus-within a:focus {
outline: none;
}

View file

@ -84,7 +84,7 @@ a:hover {
}
:focus {
outline: 2px solid;
outline: 3px solid;
outline-offset: 0.3ch;
}