+
+
{{ page.title }}
+
-
-
-
{{ page.title }}
-
-
-
- {{ content }}
+
+ {{ content }}
+
diff --git a/_/layouts/home.html b/_/layouts/home.html
index 63dfc19b1..6f518a781 100644
--- a/_/layouts/home.html
+++ b/_/layouts/home.html
@@ -2,12 +2,7 @@
html_class: home
---
{% include head.html %}
-
-
+{% include site-header.html %}
{% for page in site.pages %}
diff --git a/_includes/head.html b/_includes/head.html
index 24f979d43..b30598f36 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -3,7 +3,7 @@
{{ page.title }} cheatsheet
-
+
diff --git a/_includes/site-header.html b/_includes/site-header.html
new file mode 100644
index 000000000..f3ad011f2
--- /dev/null
+++ b/_includes/site-header.html
@@ -0,0 +1,6 @@
+
+
diff --git a/assets/style.css b/assets/style.css
index eb0331cc2..7f3fde8ab 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -1,32 +1,34 @@
- .article-content pre, .with-footnote pre , .panorama-section pre , .article-content > .panorama-section pre {
- /*max-width: 900px; */
- }
- .article-content pre > code, .with-footnote pre > code, .panorama-section pre > code, .article-content > .panorama-section pre > code {
- overflow: auto;
- font-size: 0.85em;
- margin-left: -30px;
- margin-right: -30px;
- }
-
- .article-headline h1:after {
- content: '';
- display: block;
- width: 80px;
- height: 1px;
- background: #ddd;
- margin: 40px auto;
- }
-
- .hljs-keyword, .hljs-builtin {
- font-weight: normal;
- color: #050505;
- }
-
- .article-content h2 a,
- .article-content h3 a,
- .article-content h4 a,
- .article-content h2 a:visited,
- .article-content h3 a:visited,
- .article-content h4 a:visited {
- color: #111;
- }
+.pages-list {
+ font-size: 0.9em;
+ max-width: 800px;
+ margin: 60px auto;
+ overflow: hidden;
+}
+.pages-list a {
+ display: block;
+ padding: 6px 0;
+ text-align: left;
+ float: left;
+ width: 44%;
+ margin: 0 3%;
+ box-shadow: none;
+ transition: all 100ms linear;
+}
+.pages-list a .title,
+.pages-list a .date {
+ display: block;
+}
+.pages-list a .title {
+ font-weight: bold;
+ color: #111;
+ float: left;
+}
+.pages-list a .date {
+ color: #aaa;
+ font-size: 0.9em;
+ float: right;
+}
+.pages-list a:hover .title,
+.pages-list a:focus .title {
+ color: dodgerblue;
+}