mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Removed need for !important in button card css
refs https://github.com/TryGhost/Team/issues/1210 - `a.kg-btn` has higher specificity than the `.gh-content a` in Casper we were previously working around with `!important` - dropping `!important` makes it easier for themes to override
This commit is contained in:
parent
a789528a56
commit
7aa8d9df5c
1 changed files with 4 additions and 4 deletions
|
@ -9,17 +9,17 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-btn {
|
a.kg-btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
text-decoration: none !important;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-btn-accent {
|
a.kg-btn-accent {
|
||||||
background-color: var(--ghost-accent-color);
|
background-color: var(--ghost-accent-color);
|
||||||
color: #fff !important;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue