Skip to content

Commit

Permalink
fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
JugglerX committed May 2, 2021
1 parent 0d12305 commit 1ab1199
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 63 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -3,10 +3,9 @@
Hero is a multi-page business theme with fullscreen hero images and fullwidth sections.

[Live Demo](https://hugo-hero.netlify.com/) |
[Installation](#installation) |
[Zerostatic Themes](https://www.zerostatic.io/theme/hugo-hero/)

![Hugo Hero Theme screenshot](https://github.com/JugglerX/hugo-hero-theme/blob/master/images/screenshot-full.jpg)
![Hugo Hero Theme screenshot](https://www.zerostatic.io/theme/hugo-hero/hugo-hero-screenshot.png)

# Features

Expand Down
16 changes: 8 additions & 8 deletions assets/scss/components/_header.scss
Expand Up @@ -13,14 +13,14 @@
}
&.header-absolute {
position: absolute;
z-index: 10;
z-index: 100;
width: 100%;
}
}
.lock-scroll {
.header {
&.header-absolute {
position: static;
}
}
}
// .lock-scroll {
// .header {
// &.header-absolute {
// position: static;
// }
// }
// }
45 changes: 1 addition & 44 deletions assets/scss/components/_main-menu-mobile.scss
Expand Up @@ -4,50 +4,7 @@ $color-link: #ffffff;

$button-height: 27px;
$button-width: 35px;
// .button_container {
// position: fixed;
// top: 5%;
// right: 2%;
// height: $button-height;
// width: $button-width;
// cursor: pointer;
// z-index: 1000;
// transition: opacity 0.25s ease;
// &:hover {
// opacity: 0.7;
// }
// &.active {
// .top {
// transform: translateY(11px) translateX(0) rotate(45deg);
// background: $color-active;
// }
// .middle {
// opacity: 0;
// background: $color-active;
// }
// .bottom {
// transform: translateY(-11px) translateX(0) rotate(-45deg);
// background: $color-active;
// }
// }
// span {
// background: $color-main;
// border: none;
// height: 5px;
// width: 100%;
// position: absolute;
// top: 0;
// left: 0;
// transition: all 0.35s ease;
// cursor: pointer;
// &:nth-of-type(2) {
// top: 11px;
// }
// &:nth-of-type(3) {
// top: 22px;
// }
// }
// }

.main-menu-mobile {
position: fixed;
background: $color-main;
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/libraries/hamburgers/hamburgers.scss
Expand Up @@ -17,7 +17,7 @@ $hamburger-layer-spacing : 5px !default;
$hamburger-layer-color : $primary !default;
$hamburger-layer-border-radius : 3px !default;
$hamburger-hover-opacity : 0.7 !default;
$hamburger-active-layer-color : #FFF !default;
$hamburger-active-layer-color : $primary !default;
$hamburger-active-hover-opacity: $hamburger-hover-opacity !default;

// To use CSS filters as the hover effect instead of opacity,
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/style.scss
Expand Up @@ -89,4 +89,4 @@
// content: "#{$name} - min-width: #{$value}";
// }
// }
// }
// }
Expand Up @@ -5371,7 +5371,7 @@ a.text-dark:hover, a.text-dark:focus {
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
background-color: #FFF; }
background-color: #1c3ed3; }

.hamburger-box {
width: 32px;
Expand Down Expand Up @@ -5448,12 +5448,9 @@ ol {
align-items: center; }
.header.header-absolute {
position: absolute;
z-index: 10;
z-index: 100;
width: 100%; }

.lock-scroll .header.header-absolute {
position: static; }

.footer {
background: #43454d;
padding-top: 20px;
Expand Down

Large diffs are not rendered by default.

@@ -1 +1 @@
{"Target":"css/style.min.3101f3b33c394d594d4d73a54417d865fbdc78740ec0119d260b5d4181041c0e.css","MediaType":"text/css","Data":{"Integrity":"sha256-MQHzszw5TVlNTXOlRBfYZfvceHQOwBGdJgtdQYEEHA4="}}
{"Target":"css/style.min.617a6cda7b79055b48a0315a774102015e1bc3eb871efc6a2e7a878828906ef1.css","MediaType":"text/css","Data":{"Integrity":"sha256-YXps2nt5BVtIoDFad0ECAV4bw+uHHvxqLnqHiCiQbvE="}}

0 comments on commit 1ab1199

Please sign in to comment.