mirror of
https://github.com/yusufipk/teknolojirehberleri.xyz.git
synced 2026-09-11 10:56:08 +00:00
77 lines
1.2 KiB
SCSS
77 lines
1.2 KiB
SCSS
.navbar {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
justify-items: center;
|
|
white-space: nowrap;
|
|
|
|
background-color: var(--color-grey);
|
|
padding: 1.6rem;
|
|
|
|
&_logo {
|
|
justify-self: flex-end;
|
|
grid-column: 1;
|
|
font-size: 2.4rem;
|
|
color: var(--color-grey-light-1);
|
|
|
|
a {
|
|
color: var(--color-grey-light-1);
|
|
&:after {
|
|
width: 0%;
|
|
}
|
|
}
|
|
}
|
|
|
|
&_list {
|
|
display: flex;
|
|
grid-column: 5;
|
|
justify-self: flex-start;
|
|
|
|
margin-top: 0.3rem;
|
|
margin-left: 2rem;
|
|
|
|
list-style-type: none;
|
|
|
|
li:not(:last-child) {
|
|
margin-right: 2.5rem;
|
|
}
|
|
|
|
li {
|
|
font-size: 1.9rem;
|
|
}
|
|
|
|
&-item {
|
|
a:visited,
|
|
a:link {
|
|
text-decoration: none;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
&--active a {
|
|
color: var(--color-primary);
|
|
&:after {
|
|
content: "";
|
|
display: block;
|
|
margin: auto;
|
|
height: 2px;
|
|
width: 100%;
|
|
background-color: var(--color-tertiary);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include media("<small") {
|
|
padding-bottom: 0.8rem;
|
|
width: 100%;
|
|
&_logo {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
&_list {
|
|
li {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
}
|
|
}
|