File tree Expand file tree Collapse file tree 2 files changed +19
-25
lines changed Expand file tree Collapse file tree 2 files changed +19
-25
lines changed Original file line number Diff line number Diff line change @@ -165,48 +165,43 @@ nav a:hover {
165165}
166166
167167/* Buttons */
168- .btn {
169- background : var (--button -color );
168+ .button {
169+ background : var (--accent -color );
170170 color : var (--secondary-color );
171171 border : none ;
172+ padding : 10px 15px ;
172173 border-radius : var (--border-radius );
173- padding : 0.75rem 1.5rem ;
174- font-size : 1rem ;
175174 cursor : pointer ;
176- transition : background-color 0.2s ease ;
177- display : inline-block ;
178- text-decoration : none ;
179- text-align : center ;
180- margin : 0.25rem ;
175+ transition : background 0.3s ;
181176}
182177
183- .btn :hover {
178+ .button :hover {
184179 background : var (--button-hover-color );
185180}
186181
187- .btn -primary {
182+ .button -primary {
188183 background : var (--accent-color );
189184}
190185
191- .btn -primary :hover {
186+ .button -primary :hover {
192187 background : var (--accent-color-dark );
193188}
194189
195- .btn -secondary {
190+ .button -secondary {
196191 background : var (--border-color );
197192 color : var (--text-color );
198193}
199194
200- .btn -secondary :hover {
195+ .button -secondary :hover {
201196 background : #ccc ;
202197}
203198
204- .btn -danger {
199+ .button -danger {
205200 background : #dc3545 ;
206201 color : white ;
207202}
208203
209- .btn -danger :hover {
204+ .button -danger :hover {
210205 background : #c82333 ;
211206}
212207
@@ -309,7 +304,7 @@ nav a:hover {
309304 font-size : 2rem ;
310305 }
311306
312- .btn {
307+ .button {
313308 padding : 0.5rem 1rem ;
314309 font-size : 0.875rem ;
315310 }
Original file line number Diff line number Diff line change @@ -115,26 +115,25 @@ nav a:hover {
115115}
116116
117117/* Button styles */
118- .btn {
119- background : var (--button -color );
118+ .button {
119+ background : var (--accent -color );
120120 color : var (--secondary-color );
121121 border : none ;
122+ padding : 10px 15px ;
122123 border-radius : var (--border-radius );
123- padding : 0.75rem 1.5rem ;
124- font-size : 1rem ;
125124 cursor : pointer ;
126- transition : background-color 0.2 s ease ;
125+ transition : background 0.3 s ;
127126}
128127
129- .btn :hover {
128+ .button :hover {
130129 background : var (--button-hover-color );
131130}
132131
133- .btn -primary {
132+ .button -primary {
134133 background : var (--accent-color );
135134}
136135
137- .btn -primary :hover {
136+ .button -primary :hover {
138137 background : var (--accent-color-dark );
139138}
140139
You can’t perform that action at this time.
0 commit comments