-
Notifications
You must be signed in to change notification settings - Fork 639
/
hi.css
153 lines (136 loc) · 4.81 KB
/
hi.css
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.donate-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
background-color: #91be55;
color: white;
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
text-decoration: none;
border: 1px solid #0078d4;
border-radius: 10px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.2s, box-shadow 0.2s;
position: relative; /* Required for ::before pseudo-element */
cursor: pointer;
margin-top: 10px;
}
.donate-button::before {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border: 2px solid transparent; /* Start as invisible */
border-radius: 15px; /* Matches the button's roundness */
transition: border-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
transform: scale(0.9); /* Shrinks initially */
}
.donate-button:hover::before {
border-color: #0078d4; /* Blue border on hover */
transform: scale(1); /* Full size on hover */
}
.donate-button:hover {
background-color: #7fa844; /* Slight color change */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
}
.donate-button svg {
fill: white;
width: 10px;
height: 10px;
margin-left: 5px;
}
.donate-button2 {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
background-color: #333; /* Black background */
color: white; /* White text */
text-transform: uppercase; /* Uppercase text */
font-weight: bold; /* Bold font for emphasis */
font-size: 12px; /* Font size */
text-decoration: none; /* Remove underline */
border: 1px solid #555; /* Dark gray border */
border-radius: 10px; /* Rounded corners */
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
transition: background-color 0.2s, box-shadow 0.2s, border-color 0.3s; /* Smooth transitions */
position: relative; /* Required for ::before pseudo-element */
cursor: pointer; /* Show pointer on hover */
}
.donate-button2 ion-icon {
margin-left: 6px;
}
.donate-button2::before {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border: 2px solid transparent; /* Start as invisible */
border-radius: 15px; /* Matches the button's roundness */
transition: border-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
transform: scale(0.9); /* Shrinks initially */
}
.donate-button2:hover::before {
border-color: #0078d4; /* Blue border on hover */
transform: scale(1); /* Full size on hover */
}
.donate-button2:hover {
background-color: #444; /* Darker shade of black on hover */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}
.donate-button2 svg {
fill: white; /* White fill for the icon */
width: 10px; /* Set icon size */
height: 10px;
margin-left: 5px; /* Space between text and icon */
}
.submit-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
background-color: #91be55;
color: white;
text-transform: uppercase;
font-weight: bold;
font-size: 15px;
text-decoration: none;
border: 1px solid #0078d4;
border-radius: 10px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.2s, box-shadow 0.2s;
position: relative; /* Required for ::before pseudo-element */
cursor: pointer;
}
.submit-button::before {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border: 2px solid transparent; /* Start as invisible */
border-radius: 15px; /* Matches the button's roundness */
transition: border-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
transform: scale(0.9); /* Shrinks initially */
}
.submit-button:hover::before {
border-color: #0078d4; /* Blue border on hover */
transform: scale(1); /* Full size on hover */
}
.submit-button:hover {
background-color: #7fa844; /* Slight color change */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
}
.submit-button svg {
fill: white;
width: 10px;
height: 10px;
margin-left: 5px;
}