Revert the change of looks of colored buttons
This commit is contained in:
@ -53,12 +53,13 @@
|
||||
}
|
||||
|
||||
&.colored {
|
||||
background-color: var(--accent-color-alpha);
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
color: var(--accent-color);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--contrast-color);
|
||||
box-shadow: var(--edge-highlight);
|
||||
background-color: var(--accent-color-alpha);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -329,7 +329,7 @@
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
&:hover:not(:active) {
|
||||
img {
|
||||
transform: var(--hover);
|
||||
box-shadow: var(--edge-highlight), var(--shadow-raised);
|
||||
@ -344,21 +344,6 @@
|
||||
|
||||
&:active {
|
||||
transform: var(--active);
|
||||
|
||||
img {
|
||||
transform: none;
|
||||
margin: 0;
|
||||
box-shadow: var(--edge-highlight), var(--shadow);
|
||||
border-radius: var(--rounded-corner)
|
||||
var(--rounded-corner) var(--rounded-corner-small)
|
||||
var(--rounded-corner-small);
|
||||
|
||||
& + figcaption {
|
||||
border-radius: var(--rounded-corner-small)
|
||||
var(--rounded-corner-small)
|
||||
var(--rounded-corner) var(--rounded-corner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
@ -372,6 +357,8 @@
|
||||
border-radius: var(--rounded-corner)
|
||||
var(--rounded-corner) var(--rounded-corner-small)
|
||||
var(--rounded-corner-small);
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: cover;
|
||||
|
||||
& + figcaption {
|
||||
border-radius: var(--rounded-corner-small)
|
||||
|
Reference in New Issue
Block a user