move buttons to global css; use buttons styling on iceshrimp page
All checks were successful
/ build (push) Successful in 2m10s
All checks were successful
/ build (push) Successful in 2m10s
This commit is contained in:
parent
1b8bfa61f6
commit
675712a15f
3 changed files with 48 additions and 16 deletions
|
|
@ -351,21 +351,6 @@ details.styled {
|
|||
margin-top: 0rem !important;
|
||||
margin-bottom: .4rem !important;
|
||||
}
|
||||
|
||||
.button {
|
||||
background-color: color-mix(in srgb, var(--accent) 30%, transparent);
|
||||
border-radius: 1rem;
|
||||
color: var(--foreground);
|
||||
padding: .4rem;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
transition: all .2s;
|
||||
}
|
||||
.button:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--background);
|
||||
transition: all .2s;
|
||||
}
|
||||
}
|
||||
.card.last {
|
||||
margin-bottom: unset !important;
|
||||
|
|
@ -425,6 +410,23 @@ summary {
|
|||
display: flex;
|
||||
}
|
||||
|
||||
/* link "button" styling */
|
||||
.button {
|
||||
background-color: color-mix(in srgb, var(--accent) 30%, transparent);
|
||||
border-radius: 1rem;
|
||||
color: var(--foreground);
|
||||
padding: .4rem;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--background);
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
/* ---------------
|
||||
- alt text popup -
|
||||
--------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue