From b9e199f08db72742687d10f8442f3752ee274eb6 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Tue, 18 Oct 2016 03:38:53 -0400 Subject: [PATCH] Responsive versions of each. --- web/demo.css | 1 - web/demo_jon.css | 28 ++++++++++++++++++++++++++++ web/demo_jon.html | 39 ++++++++++++++++++++++++++++++++++++++- web/demo_jt.css | 4 ++++ web/demo_jt.html | 1 + 5 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 web/demo_jon.css create mode 100644 web/demo_jt.css diff --git a/web/demo.css b/web/demo.css index b85efd2afc..e2b4e3f4de 100644 --- a/web/demo.css +++ b/web/demo.css @@ -29,7 +29,6 @@ h1 { img#trump { display: block; - height: 400px; margin: auto; } diff --git a/web/demo_jon.css b/web/demo_jon.css new file mode 100644 index 0000000000..b9bc76f1a9 --- /dev/null +++ b/web/demo_jon.css @@ -0,0 +1,28 @@ +img#trump { + height: 300px; +} + +@media screen and (min-height: 600px) { + img#trump { + height: 400px; + } +} + +@media screen and (min-height: 800px) { + img#trump { + height: 500px; + } +} + +@media screen and (min-height: 1000px) { + img#trump { + height: 700px; + } +} + +@media screen and (min-height: 1500px) { + img#trump { + height: 1000px; + } +} + diff --git a/web/demo_jon.html b/web/demo_jon.html index 1333ed77b7..09a3ca4829 100644 --- a/web/demo_jon.html +++ b/web/demo_jon.html @@ -1 +1,38 @@ -TODO + + + + Jungle Horse + + + + + + + + +
+

Jungle Horse

+ +
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+
+
+ +
+ + diff --git a/web/demo_jt.css b/web/demo_jt.css new file mode 100644 index 0000000000..7f37177014 --- /dev/null +++ b/web/demo_jt.css @@ -0,0 +1,4 @@ +img#trump { + height: 400px; +} + diff --git a/web/demo_jt.html b/web/demo_jt.html index 38d888a3ac..5f37304333 100644 --- a/web/demo_jt.html +++ b/web/demo_jt.html @@ -5,6 +5,7 @@ +