From e32e12798ecc7290e80583e2e27eb85b6d56b431 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Mon, 4 Jan 2021 15:59:59 -0600 Subject: [PATCH 1/3] fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <). --- inc/config.php | 2 +- inc/instance-config.php | 9 +++++++++ stylesheets/gentoochan.css | 5 +++++ stylesheets/style.css | 10 +++++++++- 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/inc/config.php b/inc/config.php index 8326dc18..c5842b88 100644 --- a/inc/config.php +++ b/inc/config.php @@ -657,7 +657,7 @@ $config['markup'][] = array("/'''(.+?)'''/", "\$1"); $config['markup'][] = array("/''(.+?)''/", "\$1"); $config['markup'][] = array("/\*\*(.+?)\*\*/", "\$1"); - $config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "\$1"); + $config['markup'][] = array("/==(.+?)==/", "\$1"); // Code markup. This should be set to a regular expression, using tags you want to use. Examples: // "/\[code\](.*?)\[\/code\]/is" diff --git a/inc/instance-config.php b/inc/instance-config.php index 6c44abcc..067639b6 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -317,3 +317,12 @@ $config['embedding'][0] = array( '/^https?:\/\/(\w+\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9\-_]{10,11})(&.+)?$/i', $config['youtube_js_html']); $config['additional_javascript'][] = 'js/youtube.js'; + +/* + * ==================== + * Markup + * ==================== + */ + +$config['markup'][] = array("/^\s*<.*$/m", '$0'); +$config['markup'][] = array("/__(.+?)__/", "\$1"); diff --git a/stylesheets/gentoochan.css b/stylesheets/gentoochan.css index ae7ef2f3..93111b3f 100644 --- a/stylesheets/gentoochan.css +++ b/stylesheets/gentoochan.css @@ -68,3 +68,8 @@ div.boardlist a { table.modlog tr th { background: #EA8; } + +#quick-reply table { + background: #0E0E0E url(data:image/gif;base64,R0lGODlhGAAMAKEEAOXl5ebm5vDw8PHx8SH+EUNyZWF0ZWQgd2l0aCBHSU1QACwAAAAAGAAMAAACRpQiY6cLa146MyY1EJQKjG81lNGRUPOIkgMJHtquBgIO7xwvpbrpduUSuXq8ntEC0bBEylYitdDAdM1ViaobkgKgZwyDLAAAOw==) repeat 0 0 !important; +} + diff --git a/stylesheets/style.css b/stylesheets/style.css index 570decf6..6131ae65 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -1953,4 +1953,12 @@ div.mix { footer { margin-bottom: 50px; -} \ No newline at end of file +} + +span.underline { + text-decoration: underline; +} + +span.orangeQuote { + color: #FF8C00; +} From 0c622642d3331f90a18344e62938c967caa2bc8d Mon Sep 17 00:00:00 2001 From: nonmakina Date: Mon, 4 Jan 2021 20:23:32 -0600 Subject: [PATCH 2/3] strikethrough --- inc/instance-config.php | 1 + stylesheets/style.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/inc/instance-config.php b/inc/instance-config.php index 067639b6..0cb5a19c 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -326,3 +326,4 @@ $config['additional_javascript'][] = 'js/youtube.js'; $config['markup'][] = array("/^\s*<.*$/m", '$0'); $config['markup'][] = array("/__(.+?)__/", "\$1"); +$config['markup'][] = array("/~~(.+?)~~/", "\$1"); diff --git a/stylesheets/style.css b/stylesheets/style.css index 6131ae65..b88b919f 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -1959,6 +1959,10 @@ span.underline { text-decoration: underline; } +span.strikethrough { + text-decoration: line-through; +} + span.orangeQuote { color: #FF8C00; } From c2519f7476e3a441a0b45becc2627863883ba9da Mon Sep 17 00:00:00 2001 From: nonmakina Date: Mon, 4 Jan 2021 20:33:20 -0600 Subject: [PATCH 3/3] removes red quote styling and turns it back to the default green color --- stylesheets/dark_red.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/dark_red.css b/stylesheets/dark_red.css index 71c62eed..915f5600 100644 --- a/stylesheets/dark_red.css +++ b/stylesheets/dark_red.css @@ -6,7 +6,7 @@ @import url("/stylesheets/dark.css"); span.quote { - color:#D96262; + /* color:#D96262; */ } div.blotter, h1, h2, header div.subtitle, div.title, a:link:hover, a:visited:hover p.intro a.post_no:hover,