Navigation Bar
This commit is contained in:
parent
69a80ac781
commit
a4376b714f
9 changed files with 143 additions and 21 deletions
17
frontend/shell/css/brand.css
Normal file
17
frontend/shell/css/brand.css
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
.brand-link {
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
height: 100%;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
font-size: 20px;
|
||||
font-weight: 750;
|
||||
}
|
||||
19
frontend/shell/css/desktop.css
Normal file
19
frontend/shell/css/desktop.css
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
@media (min-width: 960px) {
|
||||
.screen-narrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.screen-wide {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 540px) {
|
||||
.header {
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.nav-link-account {
|
||||
padding: 10px 15px;
|
||||
}
|
||||
}
|
||||
22
frontend/shell/css/header.css
Normal file
22
frontend/shell/css/header.css
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
body {
|
||||
font-family: system-ui;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #202020;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
height: 40px;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.screen-narrow {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.screen-wide {
|
||||
display: none;
|
||||
}
|
||||
9
frontend/shell/css/hover.css
Normal file
9
frontend/shell/css/hover.css
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.brand-link:hover,
|
||||
.nav-link:hover {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.nav-link-account:hover {
|
||||
background-color: orange;
|
||||
color: white;
|
||||
}
|
||||
21
frontend/shell/css/nav.css
Normal file
21
frontend/shell/css/nav.css
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
.nav {
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-link-account {
|
||||
background-color: #0d6efd;
|
||||
border-radius: 5px;
|
||||
margin-left: auto;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue