First Version
This commit is contained in:
67
css/buttons.css
Normal file
67
css/buttons.css
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Button Styles
|
||||
*/
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.875rem 2rem;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
transition: all 0.25s ease;
|
||||
box-shadow: 0 4px 24px var(--accent-glow);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: var(--accent-light);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 32px var(--accent-glow);
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.875rem 2rem;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--glass-border);
|
||||
color: var(--text-2);
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
transition: all 0.25s ease;
|
||||
backdrop-filter: blur(10px);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
border-color: var(--accent);
|
||||
color: var(--accent-light);
|
||||
background: var(--bg-card-hover);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px var(--accent-glow-sm);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:focus-visible,
|
||||
button:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 3px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.btn:focus-visible,
|
||||
.btn-outline:focus-visible {
|
||||
outline: 2px solid var(--accent-light);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
Reference in New Issue
Block a user