0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/frontend/src/cards/css/button.css

40 lines
886 B
CSS
Raw Normal View History

.kg-button-card,
.kg-button-card * {
box-sizing: border-box;
}
.kg-button-card {
display: flex;
2021-11-12 11:50:07 +01:00
position: static;
align-items: center;
2021-11-12 11:50:07 +01:00
width: 100%;
justify-content: center;
}
.kg-button-card.kg-align-left {
justify-content: flex-start;
}
.kg-button-card a.kg-btn {
2021-11-12 11:50:07 +01:00
display: flex;
position: static;
align-items: center;
padding: 0 1.2em;
height: 2.4em;
line-height: 1em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-size: 0.95em;
2021-11-12 11:50:07 +01:00
font-weight: 600;
text-decoration: none;
2021-11-12 11:50:07 +01:00
border-radius: 5px;
transition: opacity 0.2s ease-in-out;
}
.kg-button-card a.kg-btn:hover {
2021-11-12 11:50:07 +01:00
opacity: 0.85;
}
.kg-button-card a.kg-btn-accent {
background-color: var(--ghost-accent-color);
color: #fff;
2021-11-12 11:50:07 +01:00
}