Skip to content

Commit

Permalink
attempt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bravemattk committed Aug 31, 2024
1 parent 434c27d commit 4fbd0a9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link href='https://fonts.googleapis.com/css?family=Esteban|Lato:400,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ "/css/main.css?v=00006" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/main.css?v=00007" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
{% include head--twitter-card.html %}
Expand Down
31 changes: 21 additions & 10 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,31 @@
--anim-speed: 1s;
}


html, body {
height:100%;
font-family: sans-serif;
margin:0;
html{
display: flex;
justify-content: center;
background: url(../img/bg-min.jpg) no-repeat;
background-size: cover;
overscroll-behavior-y: none;
}

ul {
padding: 1em;
}
// html, body {
// display: flex;
// justify-content: center;
// height: 100vh; /* Full viewport height */
// font-family: sans-serif;
// margin:0;
// overscroll-behavior-y: none;
// }

// html{
// background: url(../img/bg-min.jpg) no-repeat;
// background-size: cover;
// }


body {
padding:15px;
height:calc(100% - 30px);
min-height:calc(100vh - 30px);
line-height: 1.5;
}

Expand All @@ -42,6 +50,9 @@ h4 {
}


ul {
padding: 1em;
}
.align {
display: flex;
align-items:center;
Expand Down

0 comments on commit 4fbd0a9

Please sign in to comment.