mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Fixed AMP style compliance (#13912)
no issue - `!important` qualifier is not allowed in AMP styles as it's disallowed by the framework's spec https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/#disallowed-styles
This commit is contained in:
parent
25748f420c
commit
76cde79186
1 changed files with 4 additions and 4 deletions
|
@ -777,11 +777,11 @@
|
|||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.95em;
|
||||
font-weight: 600;
|
||||
text-decoration: none !important;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
background-color: var(--ghost-accent-color);
|
||||
color: #ffffff !important;
|
||||
color: #ffffff;
|
||||
margin: 1.75em 0 0;
|
||||
}
|
||||
|
||||
|
@ -800,12 +800,12 @@
|
|||
.kg-header-card.kg-style-image a.kg-header-card-button,
|
||||
.kg-header-card.kg-style-dark a.kg-header-card-button {
|
||||
background: #ffffff;
|
||||
color: #15171a !important;
|
||||
color: #15171a;
|
||||
}
|
||||
|
||||
.kg-header-card.kg-style-accent a.kg-header-card-button {
|
||||
background: #ffffff;
|
||||
color: var(--ghost-accent-color) !important;
|
||||
color: var(--ghost-accent-color);
|
||||
}
|
||||
|
||||
.kg-audio-card {
|
||||
|
|
Loading…
Add table
Reference in a new issue