aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 20:33:46 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 20:33:46 +0300
commitad86f7a4717f60182a9aa6d95b255a478b5f34e4 (patch)
tree3faddbb0ce6648414814b4894d767019fc729861
parentb8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7 (diff)
downloadvalentineus.github.io-ad86f7a4717f60182a9aa6d95b255a478b5f34e4.tar.xz
valentineus.github.io-ad86f7a4717f60182a9aa6d95b255a478b5f34e4.zip
Correction of validator's comments [2]
-rw-r--r--_includes/head.html6
-rw-r--r--_scss/_framework.scss9
2 files changed, 8 insertions, 7 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 1094f76..d91ac74 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -6,14 +6,14 @@
<meta content="index, follow" name="robots">
<!-- Title / Description -->
- <meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description" />
+ <meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description">
<title>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</title>
<!-- RSS -->
- <link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml" />
+ <link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml">
<!-- Canonical URL -->
- <link href="{{- page.url | absolute_url | url_escape -}}" rel="canonical" />
+ <link href="{{- page.url | absolute_url | url_escape -}}" rel="canonical">
<!-- CSS -->
{%- include styles.html -%}
diff --git a/_scss/_framework.scss b/_scss/_framework.scss
index 8c909ad..a2f0c56 100644
--- a/_scss/_framework.scss
+++ b/_scss/_framework.scss
@@ -8,6 +8,7 @@
html {
font-family: $font-family-base;
font-size: 62.5%;
+ min-height: 100%;
overflow-y: scroll;
}
@@ -20,6 +21,7 @@ body {
line-height: 1.5;
margin: auto;
max-width: 52em;
+ min-height: 100vh;
padding: 6em 4em 4em 4em;
text-rendering: optimizeLegibility;
}
@@ -38,7 +40,6 @@ h4,
h5,
h6 {
font-weight: 700;
- hyphens: auto;
line-height: 1.1;
margin-bottom: 1.5rem;
margin-top: 3rem;
@@ -200,7 +201,7 @@ input[type="button"] {
color: $color-bg;
cursor: pointer;
display: inline-block;
- padding: 5px 10;
+ padding: 5px 10px;
text-align: center;
text-decoration: none;
white-space: nowrap;
@@ -228,8 +229,8 @@ input {
box-shadow: none;
box-sizing: border-box;
color: $color-text;
- margin-bottom: 10;
- padding: 6px 10;
+ margin-bottom: 10px;
+ padding: 6px 10px;
&:focus {
border: 1px solid $color-blossom;