Simplify :target CSS selector

This commit is contained in:
Guillaume Gomez 2022-01-05 21:28:19 +01:00
parent a0085f249a
commit 3b70c6e4bd
3 changed files with 3 additions and 12 deletions

View File

@ -351,11 +351,8 @@ a.test-arrow:hover {
color: #999;
}
:target, :target > * {
background: rgba(255, 236, 164, 0.06);
}
:target {
background: rgba(255, 236, 164, 0.06);
border-right: 3px solid rgba(255, 180, 76, 0.85);
}

View File

@ -295,11 +295,8 @@ a.test-arrow:hover{
color: #999;
}
:target, :target > * {
background-color: #494a3d;
}
:target {
background-color: #494a3d;
border-right: 3px solid #bb7410;
}

View File

@ -284,11 +284,8 @@ a.test-arrow:hover{
color: #999;
}
:target, :target > * {
background: #FDFFD3;
}
:target {
background: #FDFFD3;
border-right: 3px solid #AD7C37;
}