Improve link posts in archive listings
- Remove `target="_blank"` anti-pattern - If link post point title to source article - Switch star icon to a link to indicate "permalink" and markup semantically with `rel="permalink"` - Reduce opacity of permalink icon - Adjust hover styles due to shuffling around <a> element - Close #276
This commit is contained in:
@ -35,6 +35,10 @@
|
||||
.archive__item-title {
|
||||
margin-bottom: 0.25em;
|
||||
font-family: $sans-serif-narrow;
|
||||
|
||||
a + a {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
// remove border
|
||||
@ -63,7 +67,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
.archive__item:hover {
|
||||
.archive__item-teaser {
|
||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user