Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: corrects the writing of media requests #53

Merged
merged 2 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blocks/advantages/advantages.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
flex-direction: column;
}

@media screen and (max-width:1199px) {
@media screen and (max-width: 1199px) {
.advantages{
gap: 30px;
padding: 56px 0 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.form-fieldset__legend_for_contact-info{
padding: 0 31px;
}
@media (max-width:659px){
@media screen and (max-width: 659px){
.form-fieldset__legend_for_contact-info{
display: none;
}
Expand Down
4 changes: 2 additions & 2 deletions blocks/header/__container/header__container.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
box-sizing: border-box;
}

@media (max-width:1199px){
@media screen and (max-width: 1199px){
.header__container{
padding: 27px 20px 43px;
}
}

@media (max-width:659px){
@media screen and (max-width: 659px){
.header__container{
align-items: center;
padding: 22px 20px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/header/__menu-burger/header__menu-burger.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
cursor: pointer;
}

@media(min-width:1199px){
@media screen and (min-width: 1199px){
.header__menu-burger{
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/header/__nav-list/header__nav-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
line-height: 18px;
}

@media(max-width:1199px){
@media screen and (max-width: 1199px){
.header__nav-list{
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/__button/hero__button.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
color: rgb(178, 40, 102, 0.5);
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__button{
width: 280px;
}
Expand Down
4 changes: 2 additions & 2 deletions blocks/hero/__container/hero__container.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

}

@media(max-width:1199px){
@media screen and (max-width: 1199px){
.hero__container{
max-width:240px;
padding: 0 30px 30px;
}
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__container{
max-width:280px;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/__info/hero__info.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
width: 300px;
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__info{
padding-top: 28px;
margin-top: 269px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/__subtitle/hero__subtitle.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
line-height: 24px;
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__subtitle{
font-family: 14px;
opacity: 0.7;
Expand Down
4 changes: 2 additions & 2 deletions blocks/hero/__system-list/hero__system-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
margin: 67px 0 61px;
}

@media(max-width:1199px){
@media screen and (max-width: 1199px){
.hero__system-list{
margin: 51px 0 51px 0;
}
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__system-list{
margin: 28px 0;
}
Expand Down
4 changes: 2 additions & 2 deletions blocks/hero/__title/hero__title.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
margin: 0;
}

@media(max-width:1199px){
@media screen and (max-width: 1199px){
.hero__title{
font-size: 40px;
font-weight: 300;
}
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero__title{
font-size: 24px;

Expand Down
4 changes: 2 additions & 2 deletions blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
bottom: 0;
}

@media(max-width:1199px){
@media screen and (max-width: 1199px){
.hero{
background-position: center bottom;
background-size: 800px 545px;
Expand All @@ -23,7 +23,7 @@
}
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.hero{
height: 367px;
padding: 95px 0 0 0;
Expand Down
4 changes: 2 additions & 2 deletions blocks/intro/__title/_page/intro__title_page_catalog.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.intro__title_page_catalog{
max-width: 357px;
}
@media (max-width: 1199px){
@media screen and (max-width: 1199px){
.intro__title_page_catalog {
padding: 177px 0 130px;
}
}
@media (max-width: 659px){
@media screen and (max-width: 659px){
.intro__title_page_catalog {
max-width: 280px;
padding: 95px 0 76px;
Expand Down
4 changes: 2 additions & 2 deletions blocks/intro/__title/_page/intro__title_page_form.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.intro__title_page_form{
max-width: 757px;
}
@media (max-width: 1199px){
@media screen and (max-width: 1199px){
.intro__title_page_form {
max-width: 620px;
padding: 177px 0 59px;
}
}

@media (max-width: 659px){
@media screen and (max-width: 659px){
.intro__title_page_form {
max-width: 280px;
padding: 95px 0 43px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/intro/__title/intro__title.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
margin: auto;
}

@media (max-width: 659px){
@media screen and (max-width: 659px){
.intro__title {
font-size: 24px;
line-height: 33px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/intro/_page/intro_page_index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background-position: bottom center;
}

@media(max-width: 659px){
@media screen and (max-width: 659px){
.intro_page_index{
padding: 0 0 270px;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/intro/intro.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background-size: cover;
}

@media(max-width:659px){
@media screen and (max-width: 659px){
.intro{
background-image: url(../../images/intro-background-mobile.png);
}
Expand Down
4 changes: 2 additions & 2 deletions blocks/logo/__icon/logo__icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
height:40px;
}

@media (max-width:1199px){
@media screen and (max-width: 1199px){
.logo__icon{
width:145px;
height:40px;
}
}

@media (max-width:659px){
@media screen and (max-width: 659px){
.logo__icon{
width:74px;
height:23px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/research/research.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gap: 73px;
}

@media screen and (max-width:1199px) {
@media screen and (max-width: 1199px) {
.research {
background: rgb(255, 255, 255);
padding: 54px 20px 44px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/reviews/__author-bio/reviews__author-bio.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-size: 18px;
line-height: 30px;
}
@media screen and (max-width:1199px) {
@media screen and (max-width: 1199px) {
.reviews__author-bio {
font-size: 14px;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/reviews/__author-name/reviews__author-name.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-weight: 700;
line-height: 30px;
}
@media screen and (max-width:1199px) {
@media screen and (max-width: 1199px) {
.reviews__author-name {
font-size: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/slider/__arrow-button/slider__arrow-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
color: rgb(233 235 236);
}

@media screen and (max-width:1199px) {
@media screen and (max-width: 1199px) {
.slider__arrow-button {
display: none;
}
Expand Down
4 changes: 2 additions & 2 deletions blocks/textarea/textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ textarea::placeholder {
line-height: 1.66;
}

@media (max-width: 1199px) {
@media screen and (max-width: 1199px) {
.textarea {
height: 189px;
}
}

@media (max-width: 659px) {
@media screen and (max-width: 659px) {
.textarea {
height: 197px;
}
Expand Down