Skip to content

Commit 10456e1

Browse files
authored
feat: updated hugo theme for new n1 landing page (#74)
1 parent 8185432 commit 10456e1

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

assets/css/f5-hugo.css

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,12 @@ ol > li > ol {
207207
border-radius: 2px;
208208
}
209209

210+
@media (max-width: 575px) {
211+
.card {
212+
min-width: 100% !important;
213+
}
214+
}
215+
210216
.products-card {
211217
color: #33444d;
212218
background-color: #fff;
@@ -283,14 +289,14 @@ a.other-products-card {
283289
display: block;
284290
transition: transform 150ms ease-in-out;
285291
color: #000;
286-
}
292+
}
287293

288-
a.other-products-card:hover {
289-
opacity: 1;
290-
/* transform: scale(1.03); */
291-
box-shadow: 0px 5px 10px 0px #4856650f;
292-
box-shadow: 0px 12px 24px 0px #48566533;
293-
}
294+
a.other-products-card:hover {
295+
opacity: 1;
296+
/* transform: scale(1.03); */
297+
box-shadow: 0px 5px 10px 0px #4856650f;
298+
box-shadow: 0px 12px 24px 0px #48566533;
299+
}
294300

295301
.card-img {
296302
background-repeat: no-repeat;
@@ -300,6 +306,14 @@ a.other-products-card {
300306
min-height: 35px;
301307
}
302308

309+
.mini-card-body {
310+
display: flex;
311+
flex-direction: column;
312+
gap: 8px;
313+
align-items: start;
314+
margin-top: -30px;
315+
}
316+
303317
.list-card {
304318
min-height: 40px;
305319
padding: 1em;

0 commit comments

Comments
 (0)