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

github.com/djuelg/Shapez-Theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Juelg <djuelg@gmx.de>2016-05-09 19:31:57 +0300
committerDominik Juelg <djuelg@gmx.de>2016-05-09 19:31:57 +0300
commit1f09033aa79c4b35cbb7b87957a87fe987c9c612 (patch)
treee2f563a762528d93aa4f66ec16c11a093778a622
parent4a599609daea643ac799b1299b9d33b2cce5f041 (diff)
added automatic scroll down by click on "Last"
-rw-r--r--README.md2
-rw-r--r--themes/dj_blog/layouts/index.html2
-rwxr-xr-xthemes/dj_blog/layouts/partials/face.svg2
-rw-r--r--themes/dj_blog/static/css/default.css12
4 files changed, 8 insertions, 10 deletions
diff --git a/README.md b/README.md
index 98dde40..fd83ddd 100644
--- a/README.md
+++ b/README.md
@@ -30,8 +30,6 @@ Furthermore I would like to thank [CrimsonRay](https://github.com/CrimsonRay), t
# TODO:
- Durchsichtige Kreis Hitboxen in SVG integrieren
- Ordnerstruktur verschieben
-- add "hideshow" for all browsers
-- durch Klick auf "Last", den letzten Artikel zeigen (automatisch runter scrollen)
- Playground: Datum weniger whitespace nach oben
- markdownify Description
- Banner mit orangenem Ausrufezeichen statt Datum ermöglichen
diff --git a/themes/dj_blog/layouts/index.html b/themes/dj_blog/layouts/index.html
index 33daca9..e73bb5a 100644
--- a/themes/dj_blog/layouts/index.html
+++ b/themes/dj_blog/layouts/index.html
@@ -29,7 +29,7 @@
</div>
{{ end }}
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
- <div class="moustage">
+ <div id="moustage">
{{ partial "face.svg" . }}
</div>
{{ end }}
diff --git a/themes/dj_blog/layouts/partials/face.svg b/themes/dj_blog/layouts/partials/face.svg
index a2f2776..ea55ad5 100755
--- a/themes/dj_blog/layouts/partials/face.svg
+++ b/themes/dj_blog/layouts/partials/face.svg
@@ -35,7 +35,7 @@
</a>
</g>
<g>
- <a xlink:title="Last Page" xlink:href="{{ .Paginator.Last.URL }}">
+ <a xlink:title="Last Page" xlink:href="{{ .Paginator.Last.URL }}#moustage">
<path transform="matrix(-0.1,0,0,-0.1,539.90695,504.03403)"
d="m 1770,2133 c -151,-14 -278,-71 -398,-178 -58,-52 -159,-169 -267,-310 -146,-189 -253,-272 -380,-296 -154,-28 -417,36 -537,132 -20,16 -39,29 -42,29 -3,0 4,-24 15,-52 179,-458 646,-727 1269,-729 399,-2 770,137 1029,386 93,89 152,162 205,253 l 36,60 0,132 c 0,129 -1,132 -29,173 -99,142 -312,289 -506,350 -118,36 -297,59 -395,50 z"
id="path3342-4" />
diff --git a/themes/dj_blog/static/css/default.css b/themes/dj_blog/static/css/default.css
index abc3236..fb10985 100644
--- a/themes/dj_blog/static/css/default.css
+++ b/themes/dj_blog/static/css/default.css
@@ -466,7 +466,7 @@ li:before {
margin-bottom: 0.1em;
}
-.moustage {
+#moustage {
display: box;
align-items: center;
justify-content: center;
@@ -477,23 +477,23 @@ li:before {
fill: #4CABAB;
}
-.moustage g a {
+#moustage g a {
fill: #333;
}
-.moustage a text {
+#moustage a text {
fill: #008080;
}
-.moustage a:hover {
+#moustage a:hover {
fill: #FF7400;
}
-.moustage a:hover text {
+#moustage a:hover text {
fill: #FFB03C;
}
-.moustage g a text {
+#moustage g a text {
fill: gray;
}