Skip to content

Commit

Permalink
Merge pull request #19 from AnnaSamtash/animation
Browse files Browse the repository at this point in the history
Animation
  • Loading branch information
AnnaSamtash authored Dec 24, 2023
2 parents 5c390fb + 6e9a34f commit f148922
Show file tree
Hide file tree
Showing 7 changed files with 187 additions and 183 deletions.
94 changes: 47 additions & 47 deletions src/css/base.css
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
body {
font-family: "Inter", sans-serif;
background-color: #0E1823;
font-family: 'Inter', sans-serif;
background-color: #0e1823;
}

input,
textarea,
button {
font-family: inherit;
font-family: inherit;
}

.section-title {
color: #FBFBFB;
font-size: 28px;
font-weight: 500;
line-height: 1;
letter-spacing: -0.02em;
color: #fbfbfb;
font-size: 28px;
font-weight: 500;
line-height: 1;
letter-spacing: -0.02em;
}

.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}

.container {
margin-left: auto;
margin-right: auto;
margin-left: auto;
margin-right: auto;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
.container {
max-width: 375px;
padding-left: 20px;
padding-right: 20px;
}
.container {
max-width: 375px;
padding-left: 20px;
padding-right: 20px;
}

.section {
padding-bottom: 80px;
}
.section {
padding-bottom: 80px;
}
}

@media screen and (min-width: 768px) {
.section {
padding-bottom: 150px;
}
.section {
padding-bottom: 150px;
}
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
.container {
max-width: 768px;
padding-left: 32px;
padding-right: 32px;
}
.container {
max-width: 768px;
padding-left: 32px;
padding-right: 32px;
}
}

@media screen and (min-width: 1280px) {
.container {
padding-left: 50px;
padding-right: 50px;
}
.container {
padding-left: 50px;
padding-right: 50px;
}
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
.container {
max-width: 1280px;
}
.container {
max-width: 1280px;
}
}

@media screen and (min-width: 1440px) {
.container {
max-width: 1440px;
}
}
.container {
max-width: 1440px;
}
}
177 changes: 83 additions & 94 deletions src/css/header.css
Original file line number Diff line number Diff line change
@@ -1,121 +1,110 @@
.page-header {
position: absolute;
width: 100%;
top: 20px;
padding-left: 20px;
padding-right: 20px;
position: absolute;
width: 100%;
top: 20px;
padding-left: 20px;
padding-right: 20px;
}

.container-header {
padding-left: 20px;
padding-right: 20px;
height: 42px;
display: flex;
align-items: center;
justify-content: space-between;
align-items: center;
border-radius: 8px;
border: 1px solid #FBFBFB;
background: #FBFBFB;
padding-left: 20px;
padding-right: 20px;
height: 42px;
display: flex;
align-items: center;
justify-content: space-between;
align-items: center;
border-radius: 8px;
border: 1px solid #fbfbfb;
background: #fbfbfb;
}

.mobile-menu-open-btn-header {
stroke: #1B414B;
border: none;
background-color: transparent;
padding: 0;
line-height: 0;
stroke: #1b414b;
border: none;
background-color: transparent;
padding: 0;
line-height: 0;
}

.navbar-brand {
color: #1B414B;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.03em;
color: #1b414b;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.03em;
}

.navbar-menu-btn {
color: #FBFBFB;
text-align: center;
font-family: Inter;
font-size: 9px;
font-weight: 400;
line-height: 1.3;
text-transform: uppercase;
width: 91px;
height: 40px;
flex-shrink: 0;
border-radius: 8px;
background: #1B414B80;
padding: 15px 25px 15px 24px;
color: #fbfbfb;
text-align: center;
font-family: Inter;
font-size: 9px;
font-weight: 400;
line-height: 1.3;
text-transform: uppercase;
width: 91px;
height: 40px;
flex-shrink: 0;
border-radius: 8px;
background: #1b414b80;
padding: 15px 25px 15px 24px;
}



@media screen and (min-width: 320px) and (max-width: 767px) {
.navbar-menu {
display: none;
}


.navbar-menu {
display: none;
}

.header-social-list {
display: none;
}

.header-social-list {
display: none;
}
}




@media screen and (min-width: 768px) {
.page-header {
max-width: 100%;
top: 32px;
padding-left: 32px;
padding-right: 32px;

}

.mobile-menu-open-btn-header {
display: none;
}

.container-header {
height: 48px;
}

.navbar-menu {
display: flex;
align-items: center;
column-gap: 4px;
}

.hover {
background-color: #1B414B;
}
.page-header {
max-width: 100%;
top: 32px;
padding-left: 32px;
padding-right: 32px;
}

.mobile-menu-open-btn-header {
display: none;
}

.container-header {
height: 48px;
}

.navbar-menu {
display: flex;
align-items: center;
column-gap: 4px;
}

.header-social-list {
display: flex;
column-gap: 8px;
}
.hover {
background-color: #1b414b;
}

.header-social-list-icon {
fill: #1B414B;
}
.header-social-list {
display: flex;
column-gap: 8px;
}

.navbar-brand {
font-size: 20px;
}
.header-social-list-icon {
fill: #1b414b;
}

.navbar-brand {
font-size: 20px;
}
}

@media screen and (min-width: 1280px) {
.page-header {
padding-right: 100px;
padding-left: 100px;
}

}
.page-header {
padding-right: 100px;
padding-left: 100px;
}
}
Loading

0 comments on commit f148922

Please sign in to comment.