From 6f76428cef77f69b308edc5dd8c25b35900d1259 Mon Sep 17 00:00:00 2001 From: Teascade Date: Fri, 4 Nov 2016 12:51:52 +0200 Subject: [PATCH] Fixed some problems related to changing viewport --- blog/index.html | 2 +- blogtext/index.html | 2 +- build.py | 2 +- css/main.css | 5 ++++- css/main.css.map | 2 +- games/index.html | 2 +- index.html | 2 +- scss/main.scss | 5 +++++ 8 files changed, 15 insertions(+), 7 deletions(-) diff --git a/blog/index.html b/blog/index.html index da12173..99c5376 100644 --- a/blog/index.html +++ b/blog/index.html @@ -52,7 +52,7 @@ Once I release them I'll make sure to post them here and on organization though, which I sometimes use when collaborating games with other people.
The games made under this organization then are listed here (aswell with Saltosion's own itch.io)

-

+

Blog

diff --git a/blogtext/index.html b/blogtext/index.html index e632fd2..ed0e1cc 100644 --- a/blogtext/index.html +++ b/blogtext/index.html @@ -52,7 +52,7 @@ Once I release them I'll make sure to post them here and on organization though, which I sometimes use when collaborating games with other people.
The games made under this organization then are listed here (aswell with Saltosion's own itch.io)

-

+

Blog

diff --git a/build.py b/build.py index ab937c4..367265b 100644 --- a/build.py +++ b/build.py @@ -85,7 +85,7 @@ def build_blogposts(): f2.write("window.blogpostDataStr = '" + f.read().replace("\n", "") + "';") def apply_custom_markdown(markdown): - itch_embed_template = '' + itch_embed_template = '' regex = re.compile("\[itch\$[0-9]*\]") diff --git a/css/main.css b/css/main.css index 43a991e..830bf26 100644 --- a/css/main.css +++ b/css/main.css @@ -21,7 +21,8 @@ body, html { .cont .stuffarea { margin-left: 10%; padding-right: 0 !important; - width: 80% !important; } + width: 80% !important; + height: auto !important; } .cont .stuffarea ul.navbar { padding: 0 !important; padding-left: 0.5em !important; } } @@ -127,6 +128,8 @@ body, html { background-color: #252525; } .cont .stuffarea ul.navbar li.active:hover { background-color: #363636; } + .cont .stuffarea iframe.itch-embedded { + width: 100%; } noscript { color: #fff; } diff --git a/css/main.css.map b/css/main.css.map index f5c1795..c2c9e69 100644 --- a/css/main.css.map +++ b/css/main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I;IA4HR,mBAAG;MACA,KAAK,EA7HJ,IAAI;IAgIR,0BAAU;MAEP,YAAY,EAAE,GAAG;MACjB,UAAU,EAAE,IAAI;MAChB,WAAW,EAAE,MAAM;MACnB,cAAc,EAAE,GAAG;MAEnB,kCAAQ;QACL,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;MAGf,6BAAG;QACA,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,KAAK;QACd,gBAAgB,EA/IrB,OAAO;QAgJF,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,OAAe;QACtB,YAAY,EAAE,iBAAsB;QACpC,SAAS,EAAE,aAAa;QAExB,qCAAQ;UACL,SAAS,EAAE,YAAY;MAG7B,2CAAiB;QACd,WAAW,EAAE,iBAAsB;MAEtC,mCAAS;QACN,gBAAgB,EAAE,OAAY;QAC9B,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,OAAO;MAGlB,oCAAU;QACP,gBAAgB,EAAE,OAAe;MAGpC,0CAAgB;QACb,gBAAgB,EAAE,OAAsB;IAI9C,qCAAqB;MAClB,KAAK,EAAE,IAAI;;AAKpB,QAAS;EACN,KAAK,EApLE,IAAI", "sources": ["../scss/main.scss"], "names": [], "file": "main.css" diff --git a/games/index.html b/games/index.html index 0b55129..2df784e 100644 --- a/games/index.html +++ b/games/index.html @@ -52,7 +52,7 @@ Once I release them I'll make sure to post them here and on organization though, which I sometimes use when collaborating games with other people.
The games made under this organization then are listed here (aswell with Saltosion's own itch.io)

-

+

Blog

diff --git a/index.html b/index.html index ce95605..dfed222 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@ Once I release them I'll make sure to post them here and on organization though, which I sometimes use when collaborating games with other people.
The games made under this organization then are listed here (aswell with Saltosion's own itch.io)

-

+

Blog

diff --git a/scss/main.scss b/scss/main.scss index 0f55afa..ab03b01 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -32,6 +32,7 @@ body, html { margin-left: 10%; padding-right: 0 !important; width: 80% !important; + height: auto !important; ul.navbar { padding: 0 !important; @@ -170,6 +171,10 @@ body, html { background-color: $dark + #060606 + #111; } } + + iframe.itch-embedded { + width: 100%; + } } }