diff --git a/assets/scss/main.scss b/assets/scss/main.scss index ec2c119..20417e8 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -47,7 +47,7 @@ table { /* begin custom css */ html {scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif} -.section {padding: 1em 0;} +.section {padding: 2em 0;} .container {max-width: 960px; margin: 0 auto; padding: 0 1em;} @@ -55,7 +55,6 @@ html {scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, ' .section-header { font-size: 2em; font-weight: 700; - margin-top: 0.5em; margin-bottom: 0.7em; line-height: 1.2; } @@ -237,7 +236,7 @@ body {margin-bottom: 44px;} /* contact section and footer */ #contact {background: #eee} -.contact-methods {font-size: 1.2em;} +.contact-methods {font-size: 1.4em;} .contact-method {line-height: 1.4} .contact-method i {margin-right: 0.5em;} .site-footer { @@ -262,6 +261,7 @@ body {margin-bottom: 44px;} display: flex; justify-content: center; text-decoration: none; + span {display: none;} } .social-link:first-child {margin-left: 0;} .twitter:hover {color: #1da1f2} @@ -294,7 +294,7 @@ body {margin-bottom: 44px;} .cta {grid-area: 2/1;} } } - .site-header {position: unset;} + .site-header {position: sticky; bottom: unset; top: 0; z-index: 2;} body {margin-bottom: unset;} #hamburger, .hamburger-label {display: none;} .site-nav {display: flex; flex-basis: unset; flex-flow: row;} @@ -325,7 +325,6 @@ body {margin-bottom: 44px;} @media (min-width: 62em) { .container {padding: 0;} - .section {padding: 2em 0;} .personal-summary { font-size: 1.5em; padding: 2em 0; diff --git a/layouts/index.html b/layouts/index.html index 7a6a848..cc07da7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -58,7 +58,7 @@

Mohammed is currently available for consultation and advisory roles.

-

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi dicta, adipisci aut a fugiat nihil facilis? Totam quas ipsa voluptate dolor facilis explicabo, perferendis vel, aliquid officia rem asperiores voluptates.

@@ -74,9 +74,9 @@