Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia-Pushko committed Dec 17, 2024
1 parent b338dcf commit 69aaa10
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/* * {
box-sizing: border-box;
margin: 0;
padding: 0;
} */

:root {
--main-color: #00acdc;
}

body {
margin: 0;
font-family: Roboto, sans-serif, Arial, Helvetica;
display: flex;
font-size: 12px;
}

Expand All @@ -20,10 +13,10 @@ body {
align-items: center;
justify-content: space-between;
padding: 0 50px;
width: 100%;

/* width: 100%; */
margin-bottom: 20px;
width: 1024px;
/* margin-bottom: 20px;
width: 1024px; */
}

.logo_png {
Expand Down Expand Up @@ -67,7 +60,7 @@ body {
/* display: flex; */
}

a.is-active {
.is-active {
color: var(--main-color);
}

Expand All @@ -77,10 +70,10 @@ a.is-active {

a.is-active::after {
content: '';
position: relative;
position: absolute;
display: block;
bottom: -17px;
width: 100%; /* Ширина лінії дорівнює ширині тексту */
width: 100%;
background-color: var(--main-color);
border-radius: 8px;
height: 4px;
Expand Down

0 comments on commit 69aaa10

Please sign in to comment.