Template:IntroButton/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.intro-button { | .intro-button { | ||
display: inline-block | display: block; /* was inline-block */ | ||
background: rgba(10,10,10,0.75); | background: rgba(10,10,10,0.75); | ||
border: 1px solid rgba(120,165,255,0.2); | border: 1px solid rgba(120,165,255,0.2); | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 14px 28px; | padding: 14px 28px; | ||
margin-bottom: 18px; /* space before the paragraph */ | |||
transition: all .25s ease; | transition: all .25s ease; | ||
} | } | ||
| Line 22: | Line 22: | ||
background: #1c1e25; | background: #1c1e25; | ||
transform: translateY(-3px); | transform: translateY(-3px); | ||
} | } | ||
Revision as of 21:37, 5 November 2025
.intro-button {
display: block; /* was inline-block */
background: rgba(10,10,10,0.75);
border: 1px solid rgba(120,165,255,0.2);
border-radius: 12px;
padding: 14px 28px;
margin-bottom: 18px; /* space before the paragraph */
transition: all .25s ease;
}
.intro-button a {
color: #FAB243;
font-weight: 600;
font-size: 18px;
letter-spacing: 0.5px;
text-transform: uppercase;
text-decoration: none;
}
.intro-button:hover {
border-color: #78A5FF;
background: #1c1e25;
transform: translateY(-3px);
}