Skip to content

Commit 8984dae

Browse files
authored
Merge pull request #263 from zalabhavy/styletoicons
Hover and Trasformation added to icons
2 parents ce583a9 + 6a8daa5 commit 8984dae

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Official_Website/style.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,31 @@ p {
1919
flex-direction: row;
2020
position: relative;
2121
}
22+
/* Add CSS for hover and transitions */
23+
.nav__list {
24+
display: flex;
25+
list-style: none;
26+
padding: 0;
27+
margin: 0;
28+
}
29+
.nav__item {
30+
margin-right: 15px;
31+
}
32+
.nav__item a {
33+
color: #333;
34+
font-size: 24px;
35+
transition: color 0.3s, transform 0.3s;
36+
}
37+
.nav__item a:hover {
38+
color: #007BFF;
39+
transform: scale(1.2);
40+
}
41+
body.dark-mode .nav__item a {
42+
color: #fff;
43+
}
44+
body.dark-mode .nav__item a:hover {
45+
color: #FFD700;
46+
}
2247
/* style search container */
2348
.search-container {
2449
display: flex;

0 commit comments

Comments
 (0)