Skip to content

Commit 4870c34

Browse files
committed
Fix navbar item spacing
Signed-off-by: Ovenoboyo <ovenoboyo@gmail.com>
1 parent e1ad029 commit 4870c34

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

assets/css/index.css

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ footer > * a:hover {
2626
text-decoration: none;
2727
}
2828

29-
footer>* ul {
29+
footer > * ul {
3030
margin: 0;
3131
}
3232

@@ -59,9 +59,11 @@ a:hover {
5959

6060
.login__navbar {
6161
background-color: none;
62-
background-image: linear-gradient(180deg,
63-
rgba(40, 40, 40, 0.3),
64-
rgba(86, 86, 86, 0.3));
62+
background-image: linear-gradient(
63+
180deg,
64+
rgba(40, 40, 40, 0.3),
65+
rgba(86, 86, 86, 0.3)
66+
);
6567
}
6668

6769
.title__logo {
@@ -85,7 +87,7 @@ a:hover {
8587
}
8688

8789
.navbar__buttons {
88-
width: 700px;
90+
width: 600px;
8991
background-color: none;
9092
display: flex;
9193
flex-direction: row;
@@ -109,11 +111,11 @@ a:hover {
109111
border-bottom: 2px solid #5bb67a;
110112
transform: scaleX(0);
111113
} */
112-
.navigation__buttons a{
114+
.navigation__buttons a {
113115
color: white;
114116
}
115117
.navigation__buttons {
116-
width: 125px;
118+
width: fit-content;
117119
height: 50px;
118120
padding: 0%;
119121
transition: background-position-x 0.9s linear;
@@ -128,9 +130,6 @@ a:hover {
128130
.navigation__buttons a:hover {
129131
color: #5bb67a;
130132
}
131-
.navigation__buttons:not(:last-child) {
132-
margin-right: 30px;
133-
}
134133

135134
@-webkit-keyframes line {
136135
0% {
@@ -589,20 +588,18 @@ a:hover {
589588
transition: all 0.2s;
590589
}
591590

592-
593-
594-
.count__box>p:first-child {
591+
.count__box > p:first-child {
595592
font-size: 1.9rem;
596593
font-weight: 500;
597594
}
598595

599-
.count__box>p:last-child {
596+
.count__box > p:last-child {
600597
padding: 0.25rem 0;
601598
font-size: 0.8rem;
602599
}
603600

604601
.count__box:hover {
605-
color: #FAF3E3;
602+
color: #faf3e3;
606603
width: 16rem;
607604
margin-bottom: 0;
608605
background-image: url("../img/hexagon-hover.svg");
@@ -611,8 +608,7 @@ a:hover {
611608
transform: scale(1.04);
612609
}
613610

614-
615-
.count__box>#moosync__numbers__button {
611+
.count__box > #moosync__numbers__button {
616612
margin-top: 2rem;
617613
}
618614

@@ -1252,7 +1248,7 @@ a:hover {
12521248
opacity: 1;
12531249
}
12541250

1255-
.select__box .options__container.options__active+.selected::after {
1251+
.select__box .options__container.options__active + .selected::after {
12561252
transform: rotateX(180deg);
12571253
top: -6px;
12581254
}
@@ -1418,4 +1414,4 @@ li {
14181414

14191415
.arrow-li {
14201416
list-style-image: url("../img/ic_round-navigate-next.svg") !important;
1421-
}
1417+
}

0 commit comments

Comments
 (0)