Template:Join Amaranth Legacy/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
.join-button { |
.join-button { |
||
width: 400px; |
|||
max-width: 100%; |
|||
border: var(--border-base); |
border: var(--border-base); |
||
font-size: var(--font-size-xx-large); |
font-size: var(--font-size-xx-large); |
||
| Line 20: | Line 22: | ||
height: 100%; |
height: 100%; |
||
width: 100%; |
width: 100%; |
||
padding: var(--space- |
padding: var(--space-xxs); |
||
} |
} |
||
| Line 83: | Line 85: | ||
#join-button-discord img { |
#join-button-discord img { |
||
object-fit: contain; |
object-fit: contain; |
||
height: |
height: 20px; |
||
width: 100%; |
width: 100%; |
||
} |
} |
||
Revision as of 21:33, July 7, 2025
.join-button {
width: 400px;
max-width: 100%;
border: var(--border-base);
font-size: var(--font-size-xx-large);
font-weight: bold;
margin-block: var(--space-sm);
background-color: var(--background-color-progressive);
}
.join-button,
.join-button > a {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: var(--space-xs);
border-radius: var(--border-radius-medium);
}
.join-button > a {
height: 100%;
width: 100%;
padding: var(--space-xxs);
}
.join-button > a.external::after {
display: none;
}
.join-button > a,
.join-button .citizen-ui-icon {
color: var(--color-inverted-primary);
}
.join-button .citizen-ui-icon {
height: 26px;
width: 26px;
}
.join-button a:hover > .citizen-ui-icon {
transform: none;
}
.join-button .citizen-ui-icon:hover {
transform: none;
}
#join-button-website {
border: 2px solid transparent;
background-image: linear-gradient(to right, #ff005e, #ebae21, #00e5ff, #ebae21, #ff005e);
background-size: 100vw auto;
animation: join-button-website 7.5s linear forwards infinite;
}
#join-button-website > a {
background: url(https://amaranth-legacy.yttrium.systems/-website-background-Amarleg-main.png.avif);
background-size: cover;
}
#join-button-website {
background-image: linear-gradient(to right, #ff005e, #ebae21, #00e5ff, #ebae21, #ff005e);
background-size: 100vw auto;
animation: join-button-website 7.5s linear forwards infinite;
}
#join-button-website .citizen-ui-icon {
color: white;
}
@keyframes join-button-website {
from {
background-position: 0 0;
}
to {
background-position: 100vw 0;
}
}
#join-button-discord {
background: #5865f2;
}
#join-button-discord img {
object-fit: contain;
height: 20px;
width: 100%;
}