Update CSS variable from Citizen skin
starcitizen>Alistair3149 (Add Reddit styles) |
starcitizen>Alistair3149 (Update CSS variable from Citizen skin) |
||
| Рядок 13: | Рядок 13: | ||
position: relative; | position: relative; | ||
padding: 15px; | padding: 15px; | ||
background: var( --color-surface-1 ); | |||
background: var( - | |||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 ); | box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 ); | ||
| Рядок 78: | Рядок 76: | ||
object-fit: cover; | object-fit: cover; | ||
object-position: center; | object-position: center; | ||
transition: transform .2s ease; | transition: transform 0.2s ease; | ||
} | } | ||
| Рядок 103: | Рядок 101: | ||
.home-card.home-card--button { | .home-card.home-card--button { | ||
overflow: hidden; | |||
padding: 0; | padding: 0; | ||
background: #242a31; | background: #242a31; | ||
} | } | ||
| Рядок 174: | Рядок 172: | ||
#home-card-discord { | #home-card-discord { | ||
background: # | background: #5865f2; | ||
} | } | ||
#home-card-patreon { | #home-card-patreon { | ||
background: # | background: #ff424d; | ||
} | } | ||
#home-card-reddit { | #home-card-reddit { | ||
background: # | background: #ff4500; | ||
} | } | ||
#home-card-discord a, | #home-card-discord a, | ||
#home-card-patreon a, | #home-card-patreon a, | ||
#home-card-reddit a{ | #home-card-reddit a { | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
| Рядок 193: | Рядок 191: | ||
#home-card-discord img, | #home-card-discord img, | ||
#home-card-patreon img, | #home-card-patreon img, | ||
#home-card-reddit img{ | #home-card-reddit img { | ||
transition: transform .2s ease; | transition: transform 0.2s ease; | ||
} | } | ||
#home-card-discord:hover img, | #home-card-discord:hover img, | ||
#home-card-patreon:hover img, | #home-card-patreon:hover img, | ||
#home-card-reddit:hover img{ | #home-card-reddit:hover img { | ||
transform: scale( 1.1 ); | transform: scale( 1.1 ); | ||
} | } | ||