From 9a7f8b7ea22868c9c92a437748a246f023e19ede Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 18 Mar 2023 13:06:03 +1000 Subject: [PATCH] dillo compatibility --- public/static/main.css | 12 ++++++++---- view/layout/main.pug | 10 ++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/public/static/main.css b/public/static/main.css index bbafa1e..27d4c88 100644 --- a/public/static/main.css +++ b/public/static/main.css @@ -59,6 +59,9 @@ a:visited { padding-left: 4px; line-height: 125%; } +.side_menu ul li { + font-size: 9pt; +} .side_menu p { padding-left: 14px; } @@ -132,10 +135,11 @@ a.web_link::before { background-position: center; content: ' '; - padding: 8px 8px; - margin-right: 4px; + padding: 5px 5px; + margin:0 4px; - transform: translateY(3px); + transform: translateY(0px); display: inline-block; -} \ No newline at end of file +} +.nojs_hide {display: none;} \ No newline at end of file diff --git a/view/layout/main.pug b/view/layout/main.pug index 0f1e3d3..d4eb017 100644 --- a/view/layout/main.pug +++ b/view/layout/main.pug @@ -61,7 +61,7 @@ html(style='overflow-y:auto' lang='en_US') | contact the maintainers and notify them of the issue. table(width='100%' height='100%' class='body_table') tr - td(class='side_menu') + td(class='side_menu' width='10%') h1 a(href='/') blek! Site hr(class='flag_hr') @@ -77,11 +77,11 @@ html(style='overflow-y:auto' lang='en_US') a(href=route) #{name} hr - p This site is also available in: - p + p(class='nojs_hide') This site is also available in: + p(class='nojs_hide') a(href='#' id='aussy_language') span(class='flag_btn au_flag' title='Australian') - td(class='main_contents') + td(class='main_contents' width='90%') block content block foot @@ -99,5 +99,7 @@ html(style='overflow-y:auto' lang='en_US') alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU'); }, 1000 * 60 * 60 * 24 * 365 * 10); + $('.nojs_hide').css('display', 'block') + //- page js block scripts \ No newline at end of file