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

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Senkbeil <chip.senkbeil@gmail.com>2015-09-27 08:24:22 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2015-09-27 08:24:22 +0300
commit0679b3acb78db860fd972840331877c70583370a (patch)
tree77f00a430ae73dba9babb1a05bba63a457d5114d
parent8df72c0fec4c19b421d2a2eb3c531351b89177b7 (diff)
Updated project list to include tagsand categories, refactored tags/categories to extra partial directory
-rw-r--r--layouts/partials/extra/categories.html (renamed from layouts/partials/post/categories.html)0
-rw-r--r--layouts/partials/extra/tags.html (renamed from layouts/partials/post/tags.html)0
-rw-r--r--layouts/partials/post/page-item.html4
-rw-r--r--layouts/partials/post/single.html4
-rw-r--r--layouts/partials/project/item.html35
-rw-r--r--static/css/main.css3
6 files changed, 15 insertions, 31 deletions
diff --git a/layouts/partials/post/categories.html b/layouts/partials/extra/categories.html
index 78007f9..78007f9 100644
--- a/layouts/partials/post/categories.html
+++ b/layouts/partials/extra/categories.html
diff --git a/layouts/partials/post/tags.html b/layouts/partials/extra/tags.html
index cd79d5d..cd79d5d 100644
--- a/layouts/partials/post/tags.html
+++ b/layouts/partials/extra/tags.html
diff --git a/layouts/partials/post/page-item.html b/layouts/partials/post/page-item.html
index 1f687c0..dd54be2 100644
--- a/layouts/partials/post/page-item.html
+++ b/layouts/partials/post/page-item.html
@@ -12,9 +12,9 @@
{{ if .Params.redirect }}Redirect{{ else }}Read More{{ end }}
</a>
<footer>
- {{ partial "post/categories.html" . }}
+ {{ partial "extra/categories.html" . }}
<span class="separator">|</span>
- {{ partial "post/tags.html" . }}
+ {{ partial "extra/tags.html" . }}
</footer>
</div>
</div>
diff --git a/layouts/partials/post/single.html b/layouts/partials/post/single.html
index c94f328..ae94287 100644
--- a/layouts/partials/post/single.html
+++ b/layouts/partials/post/single.html
@@ -16,9 +16,9 @@
<h1 class="article-title">{{ .Title }}</h1>
<time class="date-color">{{ .Date.Format "Mon Jan 2, 2006" }}</time>
<span class="separator">|</span>
- {{ partial "post/categories.html" . }}
+ {{ partial "extra/categories.html" . }}
<span class="separator">|</span>
- {{ partial "post/tags.html" . }}
+ {{ partial "extra/tags.html" . }}
</header>
<hr>
diff --git a/layouts/partials/project/item.html b/layouts/partials/project/item.html
index a91a775..cdd28f9 100644
--- a/layouts/partials/project/item.html
+++ b/layouts/partials/project/item.html
@@ -6,35 +6,18 @@
{{ $link := .Permalink }}
<!-- TODO: Figure out why line height causes issues here -->
<div class="flex-item flex-item-spacing no-line-height">
- <div class="relative rounded-corners z-depth-1 lazyload" data-noscript="">
+ <div class="relative lazyload" data-noscript="">
<noscript>
- <div class="dialog-container">
- <a href="{{ $link }}" class="dialog-link">
- <div class="project-container">
- <img src="{{ $image }}" class="fill-container-width rounded-corners-top z-depth-1" />
- <div class="rounded-corners-bottom center-text project-container-title">
- <h3>{{ $title }}</h3>
- </div>
- </div>
- <div class="highlight-block rounded-corners">
- </div>
- </a>
- <div class="dialog-content">
- <div class="dialog-content-stylings">
- <h3>{{ $title }}</h3>
-
- <hr>
-
- <section>
- {{ $summary }}
- </section>
-
- <hr>
-
- <a href="{{ $link }}" class="page-item-btn">Go to project</a>
+ <a href="{{ $link }}">
+ <div class="project-container rounded-corners z-depth-1">
+ <img src="{{ $image }}" class="fill-container-width rounded-corners-top" />
+ <div class="rounded-corners-bottom center-text project-container-title">
+ <h4 class="white-text">{{ $title }}</h4>
+ {{ partial "extra/categories.html" . }}
+ {{ partial "extra/tags.html" . }}
</div>
</div>
- </div>
+ </a>
</noscript>
</div>
</div>
diff --git a/static/css/main.css b/static/css/main.css
index 5e8305d..675b5aa 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -55,7 +55,7 @@
.project-container {}
.project-container-title {
- padding: 5px;
+ padding: 10px;
background-color: #455A64;
color: #FFFFFF;
}
@@ -435,6 +435,7 @@ ul.categories,
ul.tags {
display: inline;
list-style: none;
+ line-height: 1em;
}
ul.categories li,