Skip to content

Commit 1af1f29

Browse files
add on hover border on all boxes
1 parent 24873f3 commit 1af1f29

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

theming/styles.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,16 @@ a:hover {
180180
.box {
181181
border-radius: 12px;
182182
padding: 2rem;
183-
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
183+
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
184184
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
185185
background-color: #ffffff;
186+
border: 1px solid #e9ecef;
186187
}
187188

188189
.box:hover {
189190
transform: translateY(-5px);
190191
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
192+
border-color: #4DB6AC;
191193
}
192194

193195
.box--splash {
@@ -200,11 +202,6 @@ a:hover {
200202
max-width: 31%;
201203
}
202204

203-
.panel:hover {
204-
transform: none;
205-
box-shadow: none;
206-
}
207-
208205
.panel-title {
209206
font-size: 1.4rem;
210207
font-weight: 700;
@@ -361,7 +358,6 @@ code {
361358
flex-direction: column;
362359
text-decoration: none;
363360
background-color: #ffffff;
364-
border: 1px solid #e9ecef;
365361
border-radius: 12px;
366362
padding: 0;
367363
overflow: hidden;

0 commit comments

Comments
 (0)