Skip to content

Commit 1a113be

Browse files
Update custom.scss
1 parent 721c11a commit 1a113be

1 file changed

Lines changed: 14 additions & 20 deletions

File tree

_sass/custom/custom.scss

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,42 +96,36 @@
9696

9797
// Arrows
9898

99-
/* Container for buttons */
10099
.nav-buttons {
101100
display: flex;
102101
justify-content: center;
103102
align-items: center;
104-
gap: 20px; /* Space between buttons */
103+
gap: 20px;
105104
}
106105

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 */
116106
.nav-button svg {
117107
width: 50px;
118108
height: 50px;
119109
}
120110

121-
/* Path for arrows */
122-
.arrow {
123-
d: path("M30 20L20 30L30 40"); /* Define path directly in CSS */
124-
stroke: #264caf; /* Arrow color */
111+
/* Left Arrow Path */
112+
.arrow-left {
113+
d: path("M30 20L20 30L30 40");
114+
stroke: #264caf;
125115
stroke-width: 3;
126116
fill: none;
127-
transition: stroke 0.3s ease;
128117
}
129118

130-
/* Hover effect */
131-
.nav-button:hover .arrow {
132-
stroke: #183d92; /* Darker blue on hover */
119+
/* Right Arrow Path */
120+
.arrow-right {
121+
d: path("M20 20L30 30L20 40");
122+
stroke: #264caf;
123+
stroke-width: 3;
124+
fill: none;
133125
}
134126

127+
/* Hover Effects */
135128
.nav-button:hover .arrow {
136-
d: path("M35 15L20 30L35 45"); /* Hover animation for "Previous" */
129+
stroke: #183d92; /* Darker color on hover */
137130
}
131+

0 commit comments

Comments
 (0)