Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guangmean/Niello.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguangmean <angularcorp@outlook.com>2019-01-13 05:46:52 +0300
committerguangmean <angularcorp@outlook.com>2019-01-13 05:46:52 +0300
commit6ec91257a32f6d80624b49411ed2d6181705de28 (patch)
tree2fd9a14435e48ef84565d9772ddee296b353c488
parentc0dbb591ee55c721b732c99c72b214754a5edf57 (diff)
Hidden horizontal scrollbar
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/foot.html7
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/post/single.html2
-rw-r--r--static/css/diello.css20
-rwxr-xr-xstatic/css/main.css2
6 files changed, 21 insertions, 14 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 770ffe1..ef6a0ec 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -50,6 +50,6 @@
</div>
- {{ partial "foot.html" }}
+ {{ partial "foot.html" . }}
</body>
</html>
diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html
index 47501bb..fd8c4e2 100644
--- a/layouts/partials/foot.html
+++ b/layouts/partials/foot.html
@@ -7,9 +7,10 @@
<script src="{{.Site.BaseURL | relLangURL}}js/vendor/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
-<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
+{{ if .Site.Params.ga }}
<script>
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
- ga('create', 'UA-XXXXX-Y', 'auto'); ga('send', 'pageview')
+ga('create', '{{- .Site.Params.ga -}}', 'auto'); ga('send', 'pageview')
</script>
-<script src="https://www.google-analytics.com/analytics.js" async defer></script>
+<script src="//www.google-analytics.com/analytics.js" async defer></script>
+{{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index dad95ad..f077dc6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,10 +1,10 @@
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
{{ partial "title.html" . }}
<meta name="keywords" content="{{ with .Keywords }} {{- delimit . ", " -}} {{ end }}">
<meta name="description" content="{{ with .Description }} {{- . -}} {{ end }}">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<link rel="stylesheet" href="{{.Site.BaseURL | relLangURL}}css/highlight.min.css">
<link rel="stylesheet" href="{{.Site.BaseURL | relLangURL}}css/normalize.css">
<link rel="stylesheet" href="{{.Site.BaseURL | relLangURL}}css/diello.css">
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 1ffa7af..0d5d9c6 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -38,6 +38,6 @@
</div>
- {{ partial "foot.html" }}
+ {{ partial "foot.html" . }}
</body>
</html>
diff --git a/static/css/diello.css b/static/css/diello.css
index e3d5a8f..3bbf604 100644
--- a/static/css/diello.css
+++ b/static/css/diello.css
@@ -23,6 +23,9 @@ html, body {
color : #ccc;
line-height : 200%;
background-color : #000;
+ width : 100vw;
+ max-width : 100vw;
+ overflow-x : hidden;
}
h1 {
@@ -34,7 +37,7 @@ h3 {
margin : 0;
padding : 0;
font-family : Museo300;
- font-size : 20px;
+ font-size : 22px;
}
a {
@@ -77,13 +80,13 @@ small > a:hover {
}
.em {
- font-size : 18px;
+ font-size : 20px;
}
footer {
display : inline-flex;
justify-content : center;
- padding : 30px;
+ padding : 30px 0;
width : 100%;
font-family : Museo300;
font-size : 18px;
@@ -94,14 +97,16 @@ footer {
.flex-column {
display : -webkit-flex;
display : flex;
- flex-flow : column | nowrap;
+ flex-direction : row;
+ flex-wrap : nowrap;
justify-content : center;
}
.ads {
display : -webkit-flex;
display : flex;
- flex-flow : row | nowrap;
+ flex-direction : row;
+ flex-wrap : nowrap;
justify-content : center;
align-items : flex-start;
padding : 120px 60px;
@@ -118,11 +123,12 @@ footer {
.navigation {
display : -webkit-flex;
display : flex;
- flex-flow : row | nowrap;
+ flex-direction : row;
+ flex-wrap : nowrap;
justify-content : flex-end;
margin : 0 0 50px;
padding : 0;
- font-size : 20px;
+ font-size : 22px;
border-bottom : 1px solid #333;
height : 38px;
}
diff --git a/static/css/main.css b/static/css/main.css
index 2c15e1a..30c46b7 100755
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -229,7 +229,7 @@ textarea {
}
.home {
flex-basis : 98%;
- padding : 0 10px;
+ padding : 0 16px;
}
}