Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
irina-hychka committed Dec 13, 2018
1 parent 928b99d commit 5f779f7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="site-nav">
<h1><a href="#" class="logo" title="Dreams home"><img src="images/logo.png" alt="Dreams"/></a></h1>
<div class="menu-wrap">
<button id="hamburger-menu--btn" type="menu">
<button id="hamburger-menu--btn" class="mobile-btn" type="menu">
<svg class="mobile-icon"><use xlink:href="#menu" /></svg>
</button>
<nav id="site-menu" class="main-menu">
Expand Down
31 changes: 18 additions & 13 deletions homeworks/iryna.gychka_irina-hychka/homework_markup_1/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ h4 {
opacity: .85;
}

#hamburger-menu--btn {
.mobile-btn {
display: none;
}

Expand All @@ -581,6 +581,7 @@ h4 {

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

header,
.main-box {
width: 100%;
Expand Down Expand Up @@ -616,10 +617,11 @@ h4 {
a:active,
a:focus {
color: #222;
}
}
}

@media (max-width: 1023.98px) {

.info-even,
.info-odd {
margin: 0 38px;
Expand All @@ -632,15 +634,20 @@ h4 {

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

.about-box {
justify-content: flex-start;
max-width: 60%;
margin: 0 auto 30px;
}

.about-photo {
width: auto;
}

.even .about-photo,
.odd .about-photo,
.info-even,
.odd .about-photo,
.info-even,
.info-odd {
order: 0;
}
Expand All @@ -650,10 +657,6 @@ h4 {
margin: 0 0 0 38px;
}

.about-photo {
width: auto;
}

.about-photo:after {
content: none;
}
Expand All @@ -669,6 +672,7 @@ h4 {

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

.site-description h2 {
font-size: 40px;
}
Expand All @@ -681,7 +685,7 @@ h4 {
margin: 0 auto;
}

#hamburger-menu--btn {
.mobile-btn {
position: relative;
z-index: 2;
display: block;
Expand All @@ -693,10 +697,10 @@ h4 {
-webkit-appearance: none;
cursor: pointer;
}
#hamburger-menu--btn:hover,
#hamburger-menu--btn:active,
#hamburger-menu--btn:focus {

.mobile-btn:hover,
.mobile-btn:active,
.mobile-btn:focus {
background: none;
opacity: 1;
}
Expand Down Expand Up @@ -738,6 +742,7 @@ h4 {

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

.site-description h2 {
font-size: 30px;
}
Expand Down

0 comments on commit 5f779f7

Please sign in to comment.