Skip to content

Commit f94f466

Browse files
Update custom.scss
1 parent dde6cf6 commit f94f466

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

_sass/custom/custom.scss

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,45 @@
9393
-webkit-mask-repeat: no-repeat;
9494
mask-repeat: no-repeat;
9595
}
96+
97+
// Arrows
98+
99+
/* Container for buttons */
100+
.nav-buttons {
101+
display: flex;
102+
justify-content: center;
103+
align-items: center;
104+
gap: 20px; /* Space between buttons */
105+
}
106+
107+
/* Common styles for each button */
108+
.nav-button {
109+
text-decoration: none;
110+
display: flex;
111+
justify-content: center;
112+
align-items: center;
113+
}
114+
115+
/* SVG dimensions */
116+
.nav-button svg {
117+
width: 50px;
118+
height: 50px;
119+
}
120+
121+
/* Path for arrows */
122+
.arrow {
123+
d: path("M30 20L20 30L30 40"); /* Define path directly in CSS */
124+
stroke: #264caf; /* Arrow color */
125+
stroke-width: 3;
126+
fill: none;
127+
transition: stroke 0.3s ease;
128+
}
129+
130+
/* Hover effect */
131+
.nav-button:hover .arrow {
132+
stroke: #183d92; /* Darker blue on hover */
133+
}
134+
135+
.nav-button:hover .arrow {
136+
d: path("M35 15L20 30L35 45"); /* Hover animation for "Previous" */
137+
}

0 commit comments

Comments
 (0)