Skip to content

Commit

Permalink
Remake4
Browse files Browse the repository at this point in the history
  • Loading branch information
ZodiacVR committed Nov 1, 2024
1 parent 088451b commit 3965e1c
Show file tree
Hide file tree
Showing 4 changed files with 679 additions and 71 deletions.
358 changes: 358 additions & 0 deletions css/help.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,358 @@
:root {
--color-iris: #4d5ae5;
--color-ocean: #404bbf;
--color-navy-blue: #2e2f42;
--color-green: #31d0aa;
--color-slate: #434455;
--color-light-slate: #8e8f99;
--color-cornflower: #e7e9fc;
--color-cloud: #f4f4fd;
--color-navy-blue-modal: #2e2f42;
--color-grey: #2e2f42;
--color-white: #ffffff;
--color-dairy: #fcfcfc;
}

body {
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
background-color: #ffffff;
}

.list {
list-style: none;
}

.link {
text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
margin: 0;
padding: 0;
}

button {
cursor: pointer;
color: currentColor;
font: inherit;
}

ul {
list-style: none;
}

a {
text-decoration: none;
outline: none;
}

img {
display: block;
max-width: 100%;
height: auto;
}

.container {
width: 1158px;
margin: 0 auto;
padding: 0 15px 0 15px;
}

.header {
border-bottom: 1px solid #e7e9fc;
display: flex;
align-items: center;
}
.header-container {
display: flex;
align-items: center;
}

.header-nav {
display: flex;
align-items: center;
}

.logo-title {
color: #4d5ae5;
font-family: 'Raleway', sans-serif;
font-weight: 700;
font-size: 18px;
line-height: 1.17;
letter-spacing: 0.03em;
text-transform: uppercase;
display: inline-block;
margin-right: 76px;
}

.logo-head {
color: #2e2f42;
}

.site-nav {
color: #434455;
display: flex;
gap: 40px;
}

.site-nav-link {
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #2e2f42;
padding-top: 24px;
padding-bottom: 24px;
}

.site-nav-link:hover,
.site-nav-link:focus {
color: #404bbf;
}

.links {
font-style: normal;
margin-left: auto;
}

.site-contacts {
display: flex;
gap: 40px;
}

.link-contact {
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
display: inline-block;
padding-top: 24px;
padding-bottom: 24px;
}

.link-contact:hover,
.link-contact:focus {
color: #404bbf;
}
.title {
background-color: #2e2f42;
padding: 188px 0;
}

.main-title {
color: white;
font-weight: 700;
font-size: 56px;
line-height: 1.07143;
letter-spacing: 0.02em;
text-align: center;
max-width: 496px;
text-align: center;
margin: 0 auto 48px;
}

.title-button {
color: white;
background-color: #4d5ae5;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.04em;
cursor: pointer;
border-radius: 4px;
padding: 16px 32px;
border: none;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
display: block;
margin: 0 auto;
min-width: 169px;
}

.title-button:hover,
.title-button:focus {
background-color: #404bbf;
}
.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;
}
.stuffing-sect {
padding: 120px 0;
}
.stuf-title {
color: #2e2f42;
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
margin-bottom: 8px;
}
.filling-list {
display: flex;
gap: 24px;
}

.stuf {
width: calc((100% - 72px) / 4);
/*or width calc((100% - 3 * 24px) / 4)
or flex-basis: calc((100% - 3 * 24px) / 4)
or flex-basis: calc((100% - 72px) / 4))*/
}
.stuffing {
letter-spacing: 0.02em;
color: #434455;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
}

.team-sect {
background-color: #f4f4fd;
padding: 120px 0;
}

.team-title {
color: #2e2f42;
font-weight: 700;
font-size: 36px;
line-height: 1.11;
text-align: center;
letter-spacing: 0.02em;
text-transform: capitalize;
margin-bottom: 72px;
}

.team-list {
background-color: var(--color-cloud);
display: flex;
gap: 24px;
}

.profile {
box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
background: #fff;
border-radius: 0px 0px 4px 4px;
width: calc((100% - 72px) / 4);
/*or width calc((100% - 3 * 24px) / 4)
or flex-basis: calc((100% - 3 * 24px) / 4)
or flex-basis: calc((100% - 72px) / 4))*/
}

.team-wrapper {
padding: 32px 0;
}

.team-name {
color: #2e2f42;
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
text-align: center;
margin-bottom: 8px;
}

.team-function {
color: #434455;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
text-align: center;
letter-spacing: 0.02em;
}

.portfolio-sect {
padding: 120px 0;
}
.title-portfolio {
color: #2e2f42;
font-weight: 700;
font-size: 36px;
line-height: 1.11111;
text-align: center;
letter-spacing: 0.02em;
text-transform: capitalize;
margin-bottom: 72px;
}
.portfolio-list {
display: flex;
flex-wrap: wrap;
gap: 48px 24px;
}

.portfolio-item {
width: calc((100% - 48px) / 3);
}
.portfolio-wrapper-conteiner {
}
.portfolio-wrapper {
padding: 32px 16px;
border-top: none;
border: 1px solid #e7e9fc;
}

.portfolio-title {
color: #2e2f42;
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
margin-bottom: 8px;
}

.portfolio-text {
color: #434455;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
}

.footer {
background-color: #2e2f42;
padding: 100px 0;
}

.logo-footer-title {
color: #4d5ae5;
font-family: 'Raleway', sans-serif;
font-weight: 700;
font-size: 18px;
line-height: 1.16667;
letter-spacing: 0.03em;
text-transform: uppercase;
display: inline-block;
margin-bottom: 16px;
}

.logo-footer {
color: #f4f4fd;
margin-bottom: 16px;
}

.footer-title {
color: #f4f4fd;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
width: 264px;
}
7 changes: 2 additions & 5 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,19 +297,16 @@ img {
display: flex;
flex-wrap: wrap;
gap: 48px 24px;
padding: 0%;
}

.portfolio-item {
width: calc((100% - 48px) / 3);
}
.portfolio-wrapper-conteiner {
padding: 32px 16px;
border-top: none;
border: 1px solid #e7e9fc;
}
.portfolio-wrapper {
padding: 32px 16px;
border-top: none;
border: 1px solid #e7e9fc;
}

.portfolio-title {
Expand Down
Loading

0 comments on commit 3965e1c

Please sign in to comment.