aboutsummaryrefslogtreecommitdiff
path: root/CSS/button.css
blob: b0833f675edb261faf84c8d18fb19c6b04f02167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* Button style */

/* Default button */
a.button, button.button
{
    padding: 0.1rem 1rem;
    margin: 0rem 0.3rem;

	border: none;
	cursor: pointer;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
	font-weight: bold;

    background-color: var(--link-bg-color);
    color: var(--link-color); 
	border: 1px solid var(--link-bg-color);
}

a.button:hover, button.button:hover
{ 
    color: var(--link-bg-color);
    background-color: var(--link-color);
}

/* Reversed button */
a.button-reversed, button.button-reversed
{
    padding: 0.1rem 1rem;
    margin: 0rem 0.3rem;

	border: none;
	cursor: pointer;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
	font-weight: bold;

    background-color: var(--link-color);
    color: var(--link-bg-color); 
    border: 1px solid var(--link-color);
}

a.button-reversed:hover, button.button-reversed:hover
{ 
    color: var(--link-color);
    background-color: var(--link-bg-color);
}

/* Button disabled */
button:disabled, button[disabled]
{
	opacity: 0.6;
	cursor: not-allowed;
}

/* Link */
a.link 
{
	color: var(--link-bg-color);
	text-decoration: underline;
}
ArKa projects. All rights to me, and your next child right arm.