mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
parent
0cd372b933
commit
5704aa2165
1 changed files with 3 additions and 27 deletions
|
@ -103,39 +103,15 @@ h2 {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: color 0.3s;
|
background-color: lightgray;
|
||||||
|
transition: color 0.3s, background-color 0.3s;
|
||||||
padding: 4px 6px 2px;
|
padding: 4px 6px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-container a::after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
background-color: black;
|
|
||||||
z-index: -2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-container a::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
width: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
background-color: lightgrey;
|
|
||||||
transition: width 0.3s;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-container a:hover {
|
.text-container a:hover {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
background-color: black;
|
||||||
|
|
||||||
.text-container a:hover::before {
|
|
||||||
width: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.choice {
|
.choice {
|
||||||
|
|
Loading…
Reference in a new issue