Skip to content

Commit

Permalink
refactor cleanup (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Nov 11, 2023
1 parent 45029b8 commit 7897a44
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ GEM
ffi (1.16.3)
ffi (1.16.3-x64-mingw-ucrt)
forwardable-extended (2.6.0)
google-protobuf (3.24.4-x64-mingw-ucrt)
google-protobuf (3.24.4-x86_64-linux)
google-protobuf (3.25.0-x64-mingw-ucrt)
google-protobuf (3.25.0-x86_64-linux)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
i18n (1.14.1)
Expand Down
25 changes: 14 additions & 11 deletions _includes/head-base-styles.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
<style>
html {
font-size: 16px
}
font-family: "Rubik", "Google Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 16px;
color: #e0e0e0;

/* LAYOUTS */
body {
font: 400 16px/1.5 "Rubik", "Roboto", "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", Helvetica, Arial, sans-serif;
color: #adadad;
background-color: #1b1b1b;
-webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
font-kerning: normal; }

/* LAYOUTS */
body {
color: #adadad;
background-color: #1b1b1b;

display: flex;
min-height: 100vh;
flex-direction: column;
overflow-wrap: break-word;

margin: 0;
padding: 2rem 1.3rem;
padding: 2rem 1rem;
min-height: calc(100vh - 4rem);
}

main,
footer {
display: block;
position: relative;
max-width: 750px;
margin: 1rem auto 2rem auto;
margin: 1rem auto;
width: 100%;
}

Expand Down
2 changes: 1 addition & 1 deletion _includes/head-home-styles.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<style>
.splash-page {
height: calc(100vh - 5rem);
height: calc(100vh - 6rem);
display: flex;
flex-direction: column;
align-items: center;
Expand Down
10 changes: 5 additions & 5 deletions _layouts/base.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: " en-US" }}">
<html lang="{{ page.lang | default: site.lang | default: "en-US" }}">
{%- include head.html -%}

<body>
<main aria-label="Content">
<div class="body-container">
{{ content }}
</div>
<main aria-label="Content" id="main-content">
{{ content }}
</main>
{%- include footer.html -%}
</body>

</html>

0 comments on commit 7897a44

Please sign in to comment.