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

github.com/jsnjack/kraiklyn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYauhen Shulitski <jsnjack@gmail.com>2018-01-27 20:06:43 +0300
committerYauhen Shulitski <jsnjack@gmail.com>2018-01-27 20:06:43 +0300
commit0151ee3d319e9e4bd89c1511f0ef5f62f5ad44c5 (patch)
tree2890efff0295738b9871e73f4b375c7340408452
parente6da1b8ac02bd7d487a20e770defbcd62d7ea67c (diff)
Update sidebar
-rw-r--r--layouts/partials/sidebar.html10
-rw-r--r--static/css/styles.css31
2 files changed, 32 insertions, 9 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 20c7029..720c095 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,10 +1,17 @@
<div class="sidebar">
{{ partial "logo.html" }}
<h1 class="site-title"><a href="/">{{ .Site.Title }}</a></h1>
+
+ <div class="version">
+ {{ now.Format "Jan 2, 2006" }}
+ </div>
+
<nav class="internal">
{{ partial "menu.html" . }}
</nav>
+
<nav class="external">
+ <div class="external-title">{{ .Site.Params.externalTitle }}</div>
{{ with .Site.Menus.shortcuts }}
<ul id="shortcuts">
{{ range sort . "Weight" }}
@@ -15,7 +22,4 @@
</ul>
{{ end }}
</nav>
- <div class="footer">
- {{ now.Format "2006" }}
- </div>
</div>
diff --git a/static/css/styles.css b/static/css/styles.css
index caa8919..63addc8 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -52,6 +52,7 @@ html {
/* Sidebar */
.site-title {
margin-top: 0px;
+ margin-bottom:
}
.sidebar a,
@@ -80,6 +81,23 @@ nav {
margin: 2em 0 2em 0;
}
+.sidebar {
+ overflow: auto;
+}
+
+.sidebar .version {
+ font-size: 60%;
+ text-align: center;
+}
+
+.sidebar .external-title {
+ text-align: center;
+}
+
+.sidebar nav.external {
+ font-size: 80%;
+}
+
/* Blocks */
.block {
margin: 1em 0em 1em 0em;
@@ -160,10 +178,11 @@ section.page a:visited {
color: #363636;
}
-div.footer {
- position: absolute;
- right: 0px;
- margin-right: 2em;
- margin-bottom: 1em;
- bottom: 0px;
+section div.highlight pre {
+ overflow: auto;
}
+
+section code {
+ background-color: #fafafa;
+}
+