all repos — site @ 0f0a36186aa1bd3e3f341150ca9036c9c3eb820d

source for my site, found at icyphox.sh

Fix padding on mobile, reduce font size
Anirudh Oppiliappan x@icyphox.sh
Mon, 26 Oct 2020 09:46:03 +0530
commit

0f0a36186aa1bd3e3f341150ca9036c9c3eb820d

parent

a6779222f97e744d90b1f82b9d02bbf61f77b451

3 files changed, 11 insertions(+), 11 deletions(-)

jump to
M config.pyconfig.py

@@ -2,7 +2,7 @@ # config.py - Vite's configuration script

title = "icyphox" author = "" -header = "<a href=/>← back</a>" +header = "<a href=/>← all posts</a>" # actually the sidebar footer = f"""
M static/style.cssstatic/style.css

@@ -44,7 +44,7 @@ }

html { background: var(--bg); - font-size: 18px; + font-size: 19px; line-height: 1.5; }

@@ -52,6 +52,10 @@ .content > article, p, blockquote, ul {

line-height: 1.5; font-family: 'Charter'; font-feature-settings: normal; +} + +.content { + margin: auto 5% auto 5%; } .pull-right > p {

@@ -170,6 +174,10 @@ grid-column: 9 / 13;

grid-row: 1; } + html { + font-size: 21px; + } + .sep { display: hidden; }

@@ -179,9 +187,8 @@ grid-column: 2 / 9;

grid-row: 1; } .content { - margin: 0 auto; + margin: 0%; } - .openring { display: grid;

@@ -215,10 +222,6 @@ grid-row: 1;

} .content { margin: 0 auto; - } - - html { - font-size: 19px; } .openring {
M templates/text.htmltemplates/text.html

@@ -45,9 +45,6 @@ Send an email to

<a href="mailto:~icyphox/x@lists.sr.ht?Subject=Re: {{ title }}">~icyphox/x@lists.sr.ht</a>—my <a href="https://lists.sr.ht/~icyphox/x">public inbox</a>.</p> </div> </div> - <div class="pull-right"> - {{ footer }} - </div> </div> </body> </html>