Skip to content

Commit

Permalink
Merge pull request #10 from FelipeHussar/web_project_coffeeshop
Browse files Browse the repository at this point in the history
Web project coffeeshop
  • Loading branch information
FelipeHussar authored Oct 3, 2024
2 parents d66821b + 6df36c4 commit ebc658f
Show file tree
Hide file tree
Showing 12 changed files with 715 additions and 349 deletions.
49 changes: 49 additions & 0 deletions blocks/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.about {
justify-content: space-between;
background-color: #0a2850;
color: #fff;
overflow: hidden;
position: relative;
box-sizing: border-box;
display: flex;
/* gap: 120px; */
}
.about__title {
z-index: 1;
max-width: 251px;
margin-top: 100px;
margin-left: 80px;
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-size: 44px;
line-height: 52px;
}

.about__content {
display: flex;
flex-direction: column;
margin-top: 119px;
margin-bottom: 113px;
max-width: 660px;
gap: 20px;
margin-right: 80px;
}
.about__paragraph {
z-index: 1;
font-family: "Noto Serif";
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 30px;
}

.about__circle {
background-color: #2f80ed;
width: 426px;
height: 426px;
border-radius: 50%;
position: absolute;
top: -152px;
left: -129px;
}
37 changes: 37 additions & 0 deletions blocks/card.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.card {
width: 540px;
}
.card__list {
list-style-type: none;
padding: 0;
margin: 0;
font-family: "Noto Serif";
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 20px;
}

.card__list-item {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
}

.card__list-item > span {
flex-grow: 1;
border-bottom: 1px solid #ccc;
margin: 0 10px;
}
.card__title_expresso {
display: flex;
align-items: center;
}
.card__title {
margin-bottom: 32px;
font-family: "Inter";
font-style: normal;
font-weight: bold;
font-size: 20px;
line-height: 30px;
}
55 changes: 55 additions & 0 deletions blocks/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
.footer {
padding: 60px 100px 60px 80px;
}
.footer__content {
display: flex;
justify-content: space-between;
}
.footer__logo {
width: 105px;
height: 39px;
}
.footer_social {
min-width: 208px;
font-size: 16px;
line-height: 20px;
}
.footer__social-heading {
color: white;
font-family: "Inter";
font-style: normal;
font-weight: bold;
font-size: 16px;
line-height: 20px;
}
.footer__list {
list-style-type: none;
padding: 0;
margin: 0;
}
.footer__list-item {
}
.footer__social-link {
font-family: "Inter";
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 20px;
text-decoration: none;
color: white;
}
.footer__social-link:hover {
color: #c1c1c1;
}
.footer__social-icon {
}
.footer__copyright {
font-family: "Inter";
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 20px;
color: white;
margin-top: 108px;
margin-bottom: 60px;
}
54 changes: 54 additions & 0 deletions blocks/form.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.form__fieldset {
display: flex;
flex-direction: column;
gap: 32px;
border: none;
}
.form__label {
margin-bottom: 8px;
font-family: Inter;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 20px;
}
.form__label_checkbox {
display: flex;
align-items: center;
gap: 12px;
}
.form__button {
max-width: 385px;
height: 60px;
border-radius: 4px;
color: white;
background-color: #2f80ed;
width: 100%;
font-family: Inter;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 20px;
opacity: 0.7;
}
.form__input {
height: 60px;
width: 100%;
box-sizing: border-box;
padding: 15px 20px;
margin-top: 8px;
font-family: Inter;
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 30px;
}
.form__checkbox {
width: 20px;
height: 20px;
margin: 0;
}

.form {
max-width: 385px;
}
98 changes: 98 additions & 0 deletions blocks/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
.header {
display: flex;
flex-direction: column;
position: relative;
height: 100vh;
background-color: #ffffff;
background-image: url("../images/background_header.svg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
box-sizing: border-box;
min-height: 720px;
max-height: 800px;
justify-content: space-between;
}

.header__description {
font-family: "Noto Serif";
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 30px;
max-width: 638px;
}
.header__image {
z-index: 1;
position: absolute;
width: 646px;
height: 568px;
top: 124px;
right: 5px;
}
.header__span-accent {
font-family: "Noto Serif";
font-style: italic;
font-weight: normal;
font-size: 60px;
line-height: 72px;
color: #2f80ed;
display: block;
}

.header__paragraph {
margin: 0px;
font-weight: 500;
color: #838383;
}

.header__content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
font-family: "Note Serif", "Times New Roman", serif;
}
.header__title {
max-width: 729px;
margin-top: 0px;
letter-spacing: -1px;
margin-bottom: 20px;
font-size: 60px;
line-height: 72px;
font-weight: 500;
}

.header__image {
z-index: 1;
position: absolute;
max-width: 636px;
top: 135px;
right: 20px;
margin: 0 auto;
}

.header__footer {
margin: 40px 80px;
display: flex;
align-items: flex-end;
justify-content: space-between;
z-index: 1;
}
.header__content-paragraphs {
margin: 0;
font-weight: 500;
color: #838383;
}
.header__link {
text-decoration: none;
color: #2f80ed;
}
.header__link:hover {
color: #1f69c9;
}

.header__address {
margin: 0;
color: #838383;
}
42 changes: 42 additions & 0 deletions blocks/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.menu {
background-color: #fff;
background-image: url("../images/background_menu.svg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border: 1px solid #ccc;
border-radius: 5px;
}
.menu__cards {
display: flex;
gap: 100px;
justify-content: center;
flex-wrap: wrap;
margin: 0 auto;
}
.menu__title {
margin: 0 auto;
display: flex;
justify-content: center;
padding: 100px 0 24px 0;
max-width: 845px;
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-size: 44px;
line-height: 52px;
}
.menu__subtitle {
max-width: 845px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
flex-basis: 50%;
justify-content: center;
margin-bottom: 100px;
font-family: "Noto Serif";
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 30px;
}
32 changes: 32 additions & 0 deletions blocks/nav.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
}

.nav__logo {
height: 39px;
width: 105px;
}

.nav__links {
display: flex;
gap: 20px;
justify-content: space-around;
list-style: none;
font-family: "inter";
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 20px;
}
.nav__link {
color: #000000;
text-decoration: none;
font-weight: bold;
padding: 0;
}
.nav__link:hover {
color: #2f80ed;
}
8 changes: 8 additions & 0 deletions blocks/page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.page {
max-width: 1600px;
min-width: 1100px;
margin: 0 auto;
font-family: "Inter", Arial, sans-serif;
font-size: 16px;
line-height: 20px;
}
Loading

0 comments on commit ebc658f

Please # to comment.