Skip to content

Commit

Permalink
💄 Header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Oct 16, 2019
1 parent d686b4e commit ffd9a71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@staart/site",
"version": "0.9.23",
"version": "0.9.24",
"main": "dist/index.js",
"repository": "[email protected]:staart/site",
"author": "Anand Chowdhary <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<a href="#content" class="skip-link">Skip to main content</a>
<header>
<div>
<div class="masthead">
<a href="/" class="logo">
{{#if icon_white}}
<img class="icon" alt="" src="{{ icon_white }}" />
Expand Down
10 changes: 6 additions & 4 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,12 @@ main {

header {
text-align: center;
background-color: $theme;
color: $light-color;
padding: 7.5vh 0 0 0;
.masthead {
background-color: $theme;
color: $light-color;
padding: 6vh 0;
max-width: 100%;
}
a {
display: inline-block;
color: inherit;
Expand All @@ -94,7 +97,6 @@ header {
}
}
nav {
margin-top: 5vh;
padding: 1rem 0;
background-color: whitesmoke;
color: $text-color;
Expand Down

0 comments on commit ffd9a71

Please sign in to comment.