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 |
||
| (49 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
#join-button-container { |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
| ⚫ | |||
margin-block: var(--space-md); |
|||
} |
|||
.join-button { |
.join-button { |
||
| ⚫ | |||
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); |
||
font-weight: bold; |
font-weight: bold; |
||
margin- |
margin-inline: auto; |
||
background-color: var(-- |
background-color: var(--background-color-progressive); |
||
| ⚫ | |||
} |
} |
||
.join-button, |
.join-button, |
||
.join-button > a { |
|||
display: flex; |
display: flex; |
||
flex-direction: row; |
flex-direction: row; |
||
| Line 15: | Line 25: | ||
align-items: center; |
align-items: center; |
||
gap: var(--space-xs); |
gap: var(--space-xs); |
||
| ⚫ | |||
} |
} |
||
| Line 20: | Line 31: | ||
height: 100%; |
height: 100%; |
||
width: 100%; |
width: 100%; |
||
padding: var(--space- |
padding: var(--space-xxs); |
||
} |
|||
.join-button > a:hover, |
|||
.join-button > a:active { |
|||
text-decoration: none; |
|||
} |
} |
||
| Line 27: | Line 43: | ||
} |
} |
||
.join-button > a, |
|||
.join-button .citizen-ui-icon { |
.join-button .citizen-ui-icon { |
||
color: var(--color-inverted-primary); |
|||
| ⚫ | |||
} |
|||
| ⚫ | |||
.join-button .citizen-ui-icon { |
|||
| ⚫ | |||
width: 24px; |
|||
} |
|||
.join-button a:hover > .citizen-ui-icon { |
|||
transform: none; |
|||
} |
} |
||
.join-button .citizen-ui-icon:hover { |
.join-button .citizen-ui-icon:hover { |
||
transform: none |
transform: none; |
||
} |
|||
.join-button .mw-file-source { |
|||
display: 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; |
|||
} |
|||
} |
} |
||
| Line 42: | Line 103: | ||
#join-button-discord img { |
#join-button-discord img { |
||
object-fit: contain; |
object-fit: contain; |
||
height: |
height: 22px; |
||
width: 100%; |
width: 100%; |
||
} |
} |
||
Latest revision as of 15:34, July 9, 2025
#join-button-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: var(--space-sm);
margin-block: var(--space-md);
}
.join-button {
width: 400px;
max-width: 100%;
border: var(--border-base);
font-size: var(--font-size-xx-large);
font-weight: bold;
margin-inline: auto;
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:hover,
.join-button > a:active {
text-decoration: none;
}
.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: 24px;
width: 24px;
}
.join-button a:hover > .citizen-ui-icon {
transform: none;
}
.join-button .citizen-ui-icon:hover {
transform: none;
}
.join-button .mw-file-source {
display: 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: 22px;
width: 100%;
}