paulca / paulca.com Public

Clone
git clone https://amadan.net/paulca/paulca.com

Plain git — no account needed to clone.

1/* Standard button styles */
2button,
3input[type="submit"],
4.button {
5 display: inline-block;
6 padding: 0.5rem 1rem;
7 background-color: #3b82f6;
8 color: white;
9 border: none;
10 border-radius: 0.25rem;
11 font-size: 1rem;
12 font-weight: 500;
13 cursor: pointer;
14 text-decoration: none;
15 line-height: 1.5;
16 transition: background-color 0.2s, transform 0.1s;
17}
18
19button:hover,
20input[type="submit"]:hover,
21.button:hover {
22 background-color: #2563eb;
23}
24
25button:active,
26input[type="submit"]:active,
27.button:active {
28 transform: translateY(1px);
29}
30
31/* Secondary button */
32button.secondary,
33input[type="submit"].secondary,
34.button.secondary {
35 background-color: #6b7280;
36}
37
38button.secondary:hover,
39input[type="submit"].secondary:hover,
40.button.secondary:hover {
41 background-color: #4b5563;
42}
43
44/* Danger button */
45button.danger,
46input[type="submit"].danger,
47.button.danger {
48 background-color: #ef4444;
49}
50
51button.danger:hover,
52input[type="submit"].danger:hover,
53.button.danger:hover {
54 background-color: #dc2626;
55}
56
57/* Disabled state */
58button:disabled,
59input[type="submit"]:disabled,
60.button:disabled {
61 opacity: 0.6;
62 cursor: not-allowed;
63}
64
65button.link {
66 border: none;
67 background: none;
68 color: inherit;
69}
70
71button.link:hover {
72 background: var(--hover-color);
73}
74