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

github.com/keichi/vienna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/li.html2
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/_default/terms.html2
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/header.html26
-rw-r--r--static/css/main.css17
6 files changed, 28 insertions, 27 deletions
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
index b527029..8f9814a 100644
--- a/layouts/_default/li.html
+++ b/layouts/_default/li.html
@@ -4,7 +4,7 @@
<div class="post-meta clearfix">
<div class="post-date pull-left">
Posted on
- <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}">
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
{{ .Date.Format "Jan 2, 2006" }}
</time>
</div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 92a485f..e443bc6 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,12 +1,12 @@
{{ partial "header.html" . }}
-{{ $baseurl := .Site.BaseUrl }}
+{{ $baseurl := .Site.BaseURL }}
<article>
<header>
<h1 class="text-primary">{{ .Title }}</h1>
<div class="post-meta clearfix">
<div class="post-date pull-left">
Posted on
- <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}">
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
{{ .Date.Format "Jan 2, 2006" }}
</time>
</div>
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 3a60537..a7bcd93 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -1,5 +1,5 @@
{{ partial "header.html" . }}
-{{ $baseurl := .Site.BaseUrl}}
+{{ $baseurl := .Site.BaseURL}}
<section class="taxonomy-terms">
<h1>{{ .Title }}</h1>
<ul>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 1b24796..63cdbeb 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,12 +1,12 @@
</main>
<footer class="container global-footer">
<div class="copyright-note pull-left">
- {{ .Site.Copyright | safeHtml }}
+ {{ .Site.Copyright | safeHTML }}
</div>
{{ partial "link.html" . }}
</footer>
- <script src="{{ .Site.BaseUrl }}js/highlight.pack.js"></script>
+ <script src="{{ .Site.BaseURL }}js/highlight.pack.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index bba7b63..8546a94 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,10 +3,10 @@
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
+ <meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}" />
{{ with .Site.Params.themecolor }}
<meta name="theme-color" content="{{ . }}" />
{{ end }}
- <meta property="og:title" content="{{ if ne .Url "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ with .Params.images }}{{ range first 5 . }}
@@ -17,7 +17,7 @@
{{ with .Site.Params.facebook }}
<meta property="og:article:author" content="https://facebook.com/{{ . }}" />
{{ end }}
- <meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}" />
+ <meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
{{ range .Params.tags }}
<meta property="og:article:tag" content="{{ . }}" />
{{ end }}
@@ -26,32 +26,32 @@
{{ end }}
<title>
- {{ if ne .Url "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}
+ {{ if ne .URL "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}
</title>
- <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/bootstrap.min.css" />
- <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/main.css" />
- <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/font-awesome.min.css" />
- <link rel="stylesheet" href="{{ .Site.BaseUrl }}css/github.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap.min.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/font-awesome.min.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/github.css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css">
- <link rel="shortcut icon" href="{{ .Site.BaseUrl }}images/favicon.ico" />
- <link rel="apple-touch-icon" href="{{ .Site.BaseUrl }}images/apple-touch-icon.png" />
- {{ if eq .Url "/" }}
+ <link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico" />
+ <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}images/apple-touch-icon.png" />
+ {{ if eq .URL "/" }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
</head>
<body>
<header class="global-header">
<section class="header-text">
- <h1><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
+ <h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
{{ with .Site.Params.subtitle }}
<div class="tag-line">
{{ . }}
</div>
{{ end }}
{{ partial "link.html" . }}
- {{ if ne .Url "/" }}
- <a href="{{ .Site.BaseUrl }}" class="btn-header btn-back hidden-xs">
+ {{ if ne .URL "/" }}
+ <a href="{{ .Site.BaseURL }}" class="btn-header btn-back hidden-xs">
<i class="fa fa-angle-left"></i>
&nbsp;Home
</a>
diff --git a/static/css/main.css b/static/css/main.css
index 1f66650..2b2b8a7 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -12,10 +12,10 @@ main {
.header-text {
position: relative;
+ padding-bottom: 1px;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
color: rgba(255, 255, 255, 0.9);
- padding-bottom: 1px;
}
.header-text .tag-line {
@@ -183,19 +183,19 @@ a.btn-back {
}
.author-avatar img {
- width: 100px;
- height: 100px;
max-width: 100px;
max-height: 100px;
+ width: 100px;
+ height: 100px;
border-radius: 50px;
}
.author-contact {
position: relative;
display: inline-block;
+ padding-top: 10px;
height: 100px;
text-align: center;
- padding-top: 10px;
}
.author-contact a {
@@ -207,12 +207,12 @@ a.btn-back {
text-decoration: none;
font-weight: 300;
font-size: 13px;
- transition: background-color,border-color,color 0.1s linear
+ transition: background-color,border-color,color 0.1s linear;
}
.author-contact a:hover {
- background-color: rgba(51, 122, 183, 1.0);
border: 1px solid rgba(51, 122, 182, 1.0);
+ background-color: rgba(51, 122, 183, 1.0);
color: rgba(255, 255, 255, 1.0);
}
@@ -237,11 +237,12 @@ blockquote {
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: "Source Sans Pro", "Kozuka Gothic Pr6N", Meiryo, sans-serif; !important
+ font-family: "Source Sans Pro", "Kozuka Gothic Pr6N", Meiryo, sans-serif !important;
}
-article img {
+article section img {
max-width: 100%;
height: auto;
+ margin: 13px auto;
}