mirror of
https://github.com/Dannecron/littlelink.git
synced 2025-12-25 16:12:34 +03:00
Auto Resize Button Height + Focus States
Button height will now auto adjust when there is a line break to help account for localization. Link colors will now properly change when using `skeleton-auto.css` to be more accessible colors when in dark or light theme. Focus states will now appear for `pressed` and keyboard navigation for accessibility improvements.
This commit is contained in:
@@ -125,11 +125,29 @@ p {
|
||||
/* Links
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
a {
|
||||
color: #4899F7;
|
||||
color: #2457F5;
|
||||
}
|
||||
a:hover {
|
||||
color: #083BDA;
|
||||
}
|
||||
a:focus {
|
||||
outline: #7AB8FF solid 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* Link Color Dark Theme */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
a {
|
||||
color: #4899F7;
|
||||
}
|
||||
a:hover {
|
||||
color: #7AB8FF;
|
||||
}
|
||||
a:focus {
|
||||
outline: #7AB8FF solid 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
|
||||
Reference in New Issue
Block a user