create(navbar) created and styled navbar

This commit is contained in:
Yusuf İpek
2021-07-26 15:49:20 +03:00
parent 20b769086a
commit c2b59b9b29
8 changed files with 128 additions and 68 deletions
+2
View File
@@ -8,11 +8,13 @@
html {
font-size: 62.5%; // 1 rem = 10px; 10px/16px = 62.5% (16 is default browser font size)
font-family: "NunitoSansRegular", sans-serif;
}
body {
box-sizing: border-box;
padding: 3rem;
background-color: var(--color-background);
}
/*
+30
View File
@@ -0,0 +1,30 @@
p,
li {
color: var(--color-primary);
}
h1 {
font-size: 2.7rem;
color: var(--color-primary);
}
a {
color: var(--color-grey-light-1);
text-decoration: none;
display: inline-block;
&::after {
content: "";
display: block;
width: 0;
height: 2px;
background: var(--color-tertiary);
transition: all 0.5s;
}
&:hover::after {
width: 100%;
}
&:hover {
color: var(--color-primary);
}
}