mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:19:45 +00:00
Рефактор: пересобрал Navbar. В images добавил папку проектов, скорректировал mock
This commit is contained in:
1 parent
8d43bec068
commit
fb6c40f280
10 files changed
+88
-30
No files matched your search
@@ -26,8 +26,11 @@ $primary-text-color: white;
|
||||
|
||||
.bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
|
||||
a {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 20px;
|
||||
@@ -36,6 +39,25 @@ $primary-text-color: white;
|
||||
margin-left: 40px;
|
||||
color: $primary-text-color;
|
||||
text-decoration: none;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 1px;
|
||||
background: white;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.nav-link:hover:after,
|
||||
.nav-link.active:after {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user