Skip to content

Commit

Permalink
Контейнер
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaIa committed Feb 27, 2023
1 parent 5fddb46 commit 957aa49
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 65 deletions.
97 changes: 47 additions & 50 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,42 @@
--transition-duration: 250ms;
}

body {
/* body {
color: var(--primary-text-color);
background-color: var(--primary-background-color);
font-family: var(--main-text-font);
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
}
} */

/* Загальні налаштування контейнера */

.container {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 16px;
padding-right: 16px;
outline: 2px solid tomato;
}

@media screen and (min-width: 480px) {
.container {
width: 428px;
}
}

/* .container {
width: 1158px;
margin-left: auto;
margin-right: auto;
padding-left: 15px;
padding-right: 15px;
padding-right: 15px;}*/
/* outline: 2px solid tomato; */
}




/* Зкинути крапки */
.list {
Expand Down Expand Up @@ -168,7 +185,7 @@ img {

/* ========= Хедер ========= */

.header-cntnr {
/* .header-cntnr {
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -177,11 +194,11 @@ img {
.header-page {
border-bottom: 1px solid var(--footer-text-color);
box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08), 0px 1px 1px rgba(46, 47, 66, 0.16), 0px 1px 6px rgba(46, 47, 66, 0.08);
}
} */

/* Навігація сайту */

.header-nav a {
/* .header-nav a {
color: var(--title-text-color);
text-decoration: none;
}
Expand Down Expand Up @@ -223,11 +240,11 @@ img {
height: 4px;
background-color: var(--activ-hover-color);
border-radius: 2px;
}
} */

/* Адреса */

.addrss a {
/* .addrss a {
color: var(--primary-text-color);
font-style: normal;
text-decoration: none;
Expand All @@ -249,11 +266,11 @@ img {
display: block;
padding-top: 24px;
padding-bottom: 23px;
}
} */

/* ================ Герой ====================== */

.hero {
/* .hero {
padding-top: 188px;
padding-bottom: 188px;
text-align: center;
Expand Down Expand Up @@ -281,11 +298,11 @@ img {
.small {
text-transform: none;
}
} */

/* Кнопка */
.btn {
/* min-width: 169px; */
/* .btn {
min-width: 169px;
padding: 16px 32px;
border-radius: 4px;
border: none;
Expand All @@ -306,11 +323,11 @@ img {
.btn:hover,
.btn:focus {
background-color: var(--activ-hover-color);
}
} */

/* ================= Цінності ================= */

.values {
/* .values {
padding-bottom: 60px;
}
Expand All @@ -333,23 +350,23 @@ img {
margin-bottom: 8px;
background-color: var(--secondary-background-color);
}
} */

/* ================== Сервіс ================== */

.services {
/* .services {
padding-top: 60px;
}
.services-list {
display: flex;
flex-wrap: wrap;
gap: 24px;
}
} */

/* ================= Команда ====================== */

.team {
/* .team {
background-color: var(--secondary-background-color);
}
Expand Down Expand Up @@ -406,11 +423,11 @@ img {
padding-top: 32px;
box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08), 0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
border-radius: 0px 0px 4px 4px;
}
} */

/* ============== customerS ===================*/

.customers {
/* .customers {
padding-top: 130px;
}
Expand Down Expand Up @@ -447,10 +464,10 @@ img {
.customer-link:is(:hover, :focus) svg {
fill: var(--activ-hover-color);
}
} */

/* ==================== ФУТЕР =========== */
.ftr {
/* .ftr {
padding-top: 100px;
padding-bottom: 100px;
color: var(--footer-text-color);
Expand Down Expand Up @@ -556,11 +573,11 @@ img {
top: 50%;
right: 24px;
transform: translateY(-50%);
}
} */

/* ============== Модальне вікно ============== */

.backdrop {
/*.backdrop {
position: fixed;
top: 0;
left: 0;
Expand Down Expand Up @@ -761,36 +778,16 @@ background-color: var(--activ-hover-color);
align-items: center;
margin-bottom: 24px;
}
/*
.modal-label-accept::before {
content: '';
display: block;
width: 16px;
height: 16px;
border: 1.25px solid var(--fill-modal-icon);
border-radius: 2px;
}
.modal-input-accept:checked + .modal-label-accept::before {
background-color: var(--activ-hover-color);
border: 1.25px solid var(--activ-hover-color);
background-image: url(../images/click.svg);
background-position: center;
background-repeat: no-repeat;
}
.modal-input-accept:focus + .modal-label-accept::before {
outline: 1px solid var(--accent-color);
} */
.btn-submit {
.btn-submit {
min-width: 169px;
display: block;
}
} */

/* =============== Портфоліо ===================== */

.cards {
/* .cards {
padding-top: 96px;
padding-bottom: 120px;
}
Expand Down Expand Up @@ -883,5 +880,5 @@ background-repeat: no-repeat;
.card-link:hover,
.card-link:focus {
box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08), 0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
}
} */

30 changes: 15 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<main>
<!--Hero-->
<section class="hero">
<!-- <section class="hero">
<div class="hero-container container">
<h1 class="hero-title">
Effective Solutions <span class="small">for</span> Your Business
Expand All @@ -65,10 +65,10 @@ <h1 class="hero-title">
Order Service
</button>
</div>
</section>
</section> -->

<!--Values-->
<section class="section values">
<!-- <section class="section values">
<div class="container">
<h2 class="visually-hidden">Values</h2>
<ul class="values-list list">
Expand Down Expand Up @@ -122,10 +122,10 @@ <h3 class="values-title ttl">Technologies</h3>
</li>
</ul>
</div>
</section>
</section>-->

<!--Services-->
<section class="section services">
<!-- <section class="section services">
<div class="container">
<h2 class="services-title ttl">What are we doing</h2>
<ul class="services-list list">
Expand Down Expand Up @@ -158,10 +158,10 @@ <h2 class="services-title ttl">What are we doing</h2>
</li>
</ul>
</div>
</section>
</section> -->

<!--Team-->
<section class="section team">
<!-- <section class="section team">
<div class="container">
<h2 class="team-title ttl">Our Team</h2>
<ul class="team-list list">
Expand Down Expand Up @@ -339,10 +339,10 @@ <h3 class="name ttl">Daniel Wilson</h3>
</li>
</ul>
</div>
</section>
</section> -->

<!-- CUSTOMERS -->
<section class="customers section">
<!-- <section class="customers section">
<div class="container">
<h2 class="customers-ttl ttl">Customers</h2>
<ul class="customer-list list">
Expand Down Expand Up @@ -390,11 +390,11 @@ <h2 class="customers-ttl ttl">Customers</h2>
</li>
</ul>
</div>
</section>
</section> -->
</main>

<!--Підвал-->
<footer class="ftr">
<!-- <footer class="ftr">
<div class="ftr-cntnr container">
<div class="ftr-motto">
<a href="./index.html" class="ftr-logo logo"
Expand Down Expand Up @@ -462,10 +462,10 @@ <h2 class="customers-ttl ttl">Customers</h2>
</form>
</div>
</div>
</footer>
</footer> -->

<!-- MODAL WINDOW -->
<div class="backdrop is-hidden" data-modal>
<!-- <div class="backdrop is-hidden" data-modal>
<div class="modal">
<button type="button" class="modal-close-btn" data-modal-close>
<svg class="modal-close-svg" width="8" height="8">
Expand Down Expand Up @@ -544,7 +544,7 @@ <h2 class="customers-ttl ttl">Customers</h2>
<button type="submit" class="btn btn-submit">Send</button>
</form>
</div>
</div>
<script src="./js/modal.js"></script>
</div> -->
<!-- <script src="./js/modal.js"></script> -->
</body>
</html>

0 comments on commit 957aa49

Please sign in to comment.