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-18 23:25:00 +0300
committerDominik Juelg <djuelg@gmx.de>2016-05-18 23:25:00 +0300
commit174d07667bac7f48051e4dd59c3697caebd0f25f (patch)
treeb343e378e63c99be48a3af940732d140cfda02fb /layouts
parentfb85b44ec6e780a675ce944f10dee4c7bb35fef9 (diff)
added mobile device support on start-screen
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html5
-rw-r--r--layouts/partials/head.html1
-rwxr-xr-xlayouts/partials/start-screen.svg2
3 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index eb62df1..0f253eb 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,6 +6,11 @@
<body>
<div class="wrapper">
<div class="start-screen">
+ <div class="mobile">
+ <div><img src="{{ .Site.Params.logo }}"></div>
+ <div><a href="{{ .Site.Params.button_2 }}">Playground</a></div>
+ <div><a href="{{ .Site.Params.button_3 }}" rel="me">About</a></div>
+ </div>
{{ partial "start-screen.svg" . }}
</div>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c19714d..6ff070a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -10,6 +10,7 @@
{{ "<!-- Load CSS config -->" | safeHTML }}
<link rel="stylesheet" href="/css/normalize.css" type="text/css">
<link rel="stylesheet" href="/css/default.css" type="text/css">
+<link rel="stylesheet" href="/css/mobile.css" type="text/css">
<link rel="stylesheet" href="/css/code-style.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/highlight.min.js"></script>
diff --git a/layouts/partials/start-screen.svg b/layouts/partials/start-screen.svg
index ebecb85..7948fe6 100755
--- a/layouts/partials/start-screen.svg
+++ b/layouts/partials/start-screen.svg
@@ -2,8 +2,6 @@
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
- height="100%"
- width="100%"
viewBox="-160 0 4600 2245.7"
preserveAspectRatio="xMidYMin slice">