From 959e3ed0f7ea1ea48930ec9a34e524b230f65721 Mon Sep 17 00:00:00 2001 From: Tanuj Vishnoi Date: Mon, 1 Oct 2018 19:24:07 +0530 Subject: [PATCH] Fixed font scaling by vw css --- public/bill-generator-pp.html | 14 ++++---------- public/cricketstories-pp.html | 12 +++--------- public/cricketstories-tos.html | 11 +++-------- public/galgotias-cookbook-pp.html | 13 ++++--------- public/index.html | 6 +++--- public/rudyboss-pp.html | 13 ++++--------- 6 files changed, 21 insertions(+), 48 deletions(-) diff --git a/public/bill-generator-pp.html b/public/bill-generator-pp.html index c564b23..66f2f12 100644 --- a/public/bill-generator-pp.html +++ b/public/bill-generator-pp.html @@ -54,23 +54,17 @@ position: absolute; top: 10%; margin:5px; - + font-weight: 200; color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; } - @media screen and (max-width: 400px) { - #welcome { - font-size: 0.45rem !important; - } - } - #browserWidthNotice { font-style: italic; display: none; @@ -85,7 +79,7 @@ text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; @@ -147,4 +141,4 @@

How do we use the information


- \ No newline at end of file + diff --git a/public/cricketstories-pp.html b/public/cricketstories-pp.html index ed1755d..b1e8851 100644 --- a/public/cricketstories-pp.html +++ b/public/cricketstories-pp.html @@ -60,18 +60,12 @@ color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; } - @media screen and (max-width: 400px) { - #welcome { - font-size: 0.45rem !important; - } - } - #browserWidthNotice { font-style: italic; display: none; @@ -86,7 +80,7 @@ text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; @@ -173,4 +167,4 @@

How do we use the information

- \ No newline at end of file + diff --git a/public/cricketstories-tos.html b/public/cricketstories-tos.html index d1ad784..c3776bb 100644 --- a/public/cricketstories-tos.html +++ b/public/cricketstories-tos.html @@ -60,17 +60,12 @@ color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; } - @media screen and (max-width: 400px) { - #welcome { - font-size: 0.45rem !important; - } - } #browserWidthNotice { font-style: italic; @@ -86,7 +81,7 @@ text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; @@ -215,4 +210,4 @@

Changes to This Terms and Conditions

- \ No newline at end of file + diff --git a/public/galgotias-cookbook-pp.html b/public/galgotias-cookbook-pp.html index 96fcdb4..5a8bfff 100644 --- a/public/galgotias-cookbook-pp.html +++ b/public/galgotias-cookbook-pp.html @@ -54,22 +54,17 @@ position: absolute; top: 10%; margin:5px; - + font-weight: 200; color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; } - @media screen and (max-width: 400px) { - #welcome { - font-size: 0.45rem !important; - } - } #browserWidthNotice { font-style: italic; @@ -85,7 +80,7 @@ text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; @@ -148,4 +143,4 @@

How do we use the information


- \ No newline at end of file + diff --git a/public/index.html b/public/index.html index d1d2882..cb79e75 100644 --- a/public/index.html +++ b/public/index.html @@ -56,7 +56,7 @@ color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; @@ -83,7 +83,7 @@ cursor: pointer; text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; } @@ -303,4 +303,4 @@ - \ No newline at end of file + diff --git a/public/rudyboss-pp.html b/public/rudyboss-pp.html index 2424d93..46cb319 100644 --- a/public/rudyboss-pp.html +++ b/public/rudyboss-pp.html @@ -54,22 +54,17 @@ position: absolute; top: 10%; margin:5px; - + font-weight: 200; color: #fff; opacity: 0.65; text-align: center; - font-size: 0.775rem; + font-size: 1vw; line-height: 1.05rem; letter-spacing: 0.135em; word-spacing: -0.075rem; } - @media screen and (max-width: 400px) { - #welcome { - font-size: 0.45rem !important; - } - } #browserWidthNotice { font-style: italic; @@ -85,7 +80,7 @@ text-decoration: none; color: #d6d6d6; - font-size: 2rem; + font-size: 3vw; letter-spacing: 0.025em; font-family: "Gloria Hallelujah"; @@ -147,4 +142,4 @@

How do we use the information


- \ No newline at end of file +