0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Fixed AMP style compliance ()

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:
Juan Delgadillo 2021-12-22 03:32:53 +01:00 committed by GitHub
parent 25748f420c
commit 76cde79186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {