From b66ef17262dcda292c8611c98207024ec59bc959 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Sun, 17 Jan 2021 14:34:52 -0500 Subject: [PATCH 1/5] Enable memcached in the config --- inc/instance-config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/instance-config.php b/inc/instance-config.php index 083c499e..76e16155 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -77,6 +77,7 @@ $config['db']['prefix'] = ''; $config['db']['user'] = 'lainchan'; $config['db']['password'] = ''; +$config['cache']['enabled'] = 'memcached'; $config['cookies']['mod'] = 'mod'; $config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj'; From 0a404925ea8f4dc1c2756cbb785d9a0811da6948 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Sun, 17 Jan 2021 14:38:09 -0500 Subject: [PATCH 2/5] instance config flood settings --- inc/instance-config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index 76e16155..af90e981 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -82,9 +82,9 @@ $config['cache']['enabled'] = 'memcached'; $config['cookies']['mod'] = 'mod'; $config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj'; -$config['flood_time'] = 0; -$config['flood_time_ip'] = 0; -$config['flood_time_same'] = 0; +$config['flood_time'] = 30; +$config['flood_time_ip'] = 60; +$config['flood_time_same'] = 60; $config['max_body'] = 100000; $config['reply_limit'] = 250; $config['max_links'] = 40; From 6acff64f17c8f654529c9dc5a5f33c130b267080 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Sun, 17 Jan 2021 15:01:33 -0500 Subject: [PATCH 3/5] Revert "Enable memcached in the config" This reverts commit b66ef17262dcda292c8611c98207024ec59bc959. --- inc/instance-config.php | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index af90e981..c70eadee 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -77,7 +77,6 @@ $config['db']['prefix'] = ''; $config['db']['user'] = 'lainchan'; $config['db']['password'] = ''; -$config['cache']['enabled'] = 'memcached'; $config['cookies']['mod'] = 'mod'; $config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj'; From 91efbfd418a9b3ee39fa36bf1066005acf205bd7 Mon Sep 17 00:00:00 2001 From: Dedushka Date: Sun, 17 Jan 2021 16:10:56 -0500 Subject: [PATCH 4/5] Add styles, addresses #38 --- inc/instance-config.php | 6 ++ stylesheets/anons_dark_red.css | 150 +++++++++++++++++++++++++++ stylesheets/demain_dark.css | 182 +++++++++++++++++++++++++++++++++ stylesheets/demain_light.css | 182 +++++++++++++++++++++++++++++++++ stylesheets/temp_dark.css | 103 +++++++++++++++++++ stylesheets/temp_dark_red.css | 101 ++++++++++++++++++ stylesheets/tomorrow.css | 115 +++++++++++++++++++++ 7 files changed, 839 insertions(+) create mode 100644 stylesheets/anons_dark_red.css create mode 100644 stylesheets/demain_dark.css create mode 100644 stylesheets/demain_light.css create mode 100644 stylesheets/temp_dark.css create mode 100644 stylesheets/temp_dark_red.css create mode 100644 stylesheets/tomorrow.css diff --git a/inc/instance-config.php b/inc/instance-config.php index c70eadee..a95c26cf 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -284,6 +284,12 @@ $config['stylesheets']['Notsuba'] = 'notsuba.css'; $config['stylesheets']['Photon'] = 'photon.css'; $config['stylesheets']['Szalet'] = 'szalet.css'; $config['stylesheets']['Tsuki'] = 'tsuki.css'; +$config['stylesheets']['DemainLight'] = 'demain_light.css'; +$config['stylesheets']['DemainDark'] = 'demain_dark.css'; +$config['stylesheets']['TempDark'] = 'temp_dark.css'; +$config['stylesheets']['TempDarkRed'] = 'temp_dark_red.css'; +$config['stylesheets']['Tomorrow'] = 'tomorrow.css'; +$config['stylesheets']['AnonsDarkRed'] = 'anons_dark_red.css'; $config['default_stylesheet'] = array('Dark Red', $config['stylesheets']['Dark Red']); /* diff --git a/stylesheets/anons_dark_red.css b/stylesheets/anons_dark_red.css new file mode 100644 index 00000000..d8681ec4 --- /dev/null +++ b/stylesheets/anons_dark_red.css @@ -0,0 +1,150 @@ +/* General */ +body { + background: #1d1f21 url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #ACACAC; +} +/* Link colors */ +a:link, a:visited, .intro a.email span.name { + color: #81a2be; +} +a:hover, .intro a.post_no:hover { + color: #cc6666; +} +/* Board title and subtitle */ +header div.subtitle, h1 { + color: indianred; +} +/* Post number*/ +a.post_no { + color: #c5c8c6; +} +/* Replies */ +/* Background color and border */ +div.post.reply { + background: #282A2E; + border-color: #373b41; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply.highlighted { + background: #282A2E; + border-color: #5f89ac; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply div.body a { + color: #5f89ac; +} +.intro span.subject { + color: #b294bb; +} +/* Greentext */ +span.quote { + color: #b5bd68 +} +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, .thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, .thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, .thread.grid-li.grid-size-large:hover { + background-color: #282A2E; + border: 1px solid #373b41; +} +/* Posting form */ +/* Field names */ +form table tr th { + background: #282A2E; + color: #ACACAC; + border: 1px solid #373b41; +} +/* Input fields */ +textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { + color: #ACACAC; + background: #282A2E; + border: 1px double #1d1f21; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover { + border: 1px solid #1d1f21; + -moz-box-shadow: 0 0 10px #1d1f21; + -webkit-box-shadow: 0 0 10px #1d1f21; + box-shadow: 0 0 10px #1d1f21; +} +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #151515; + border-color: #81a2be!important;; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #151515; + border-color: #81a2be; +} +div.pages a.selected { + color: #cc6666; +} +hr { + border-color: #373b41; +} +div.boardlist { + color: #81a2be; + font-size: 14px; +} +div.boardlist a { + color: #cc6666; +} +table.modlog tr th { + background: #1d1f21; +} + +/* options.js */ +#options_div, #alert_div { + background: #151515; +} + +.desktop-style div.boardlist:nth-child(1) { + background-color: #151515; +} +/* Red text */ +span.heading { + color: indianred; +} +/* Buggy shit */ +div.post.reply div.body a { + color: #5f89ac; + text-decoration: none; +} +/* OP */ +/* Subject */ +.intro span.subject { + color: #b294bb; +} +/* name */ +.intro span.name { + color: #5f89ac; +} +/* tripcode */ +.intro span.trip { + color: #8abeb7; +} +/* Quick reply */ +/* Quick reply banner */ +div.banner {background-color:#9988ee;} +#quick-reply th, #quick-reply td {background-color:#1F1F1F;} +#quick-reply table {border-color:#373b41} +/* Buggy shit */ +div.post.reply div.body a { + color: #5f89ac; + text-decoration: none; +} +/* b5bd68*/ diff --git a/stylesheets/demain_dark.css b/stylesheets/demain_dark.css new file mode 100644 index 00000000..18ccb05d --- /dev/null +++ b/stylesheets/demain_dark.css @@ -0,0 +1,182 @@ +/* Demain_light theme for leftypol.org adapted from Seaweed theme for 4chan*/ +/* Work in progress*/ +/* General */ +/* General */ +body { + background: #e9eced url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #4c4c4c; + font-size: 11pt; + font-family: liberation.sans +} +/* Link colors */ +a:link, +a:visited, +.intro a.email span.name { + color: #477085; +} +a:hover, +.intro a.post_no:hover { + color: #5d6678; +} +/* Board title and subtitle */ +header div.subtitle, +h1 { + color: #d93f42; +} +/* Post number*/ +a.post_no { + color: #477085; +} +/* "Top bar" of the replies*/ +p.intro { + background: #e3e7e8; + border-color: #cccccc; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Replies */ +/* Background color and border */ +div.post.reply { + background: #e9eced; + border-color: #cccccc; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply.highlighted { + background: #d5dada; + border-color: #477085; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply div.body a { + color: #477085; +} +.intro span.subject { + color: #6b7a1e; +} +/* Greentext */ +span.quote { + color: #6b7a1e +} +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, +.thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, +.thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, +.thread.grid-li.grid-size-large:hover { + background-color: #e9eced; + border: 1px solid #cccccc; +} +/* Posting form */ +/* Field names */ +form table tr th { + background: #e9eced; + color: #4c4c4c; + border: 1px solid #cccccc; +} +/* Input fields */ +textarea, +input:not([type="file"]):not([type="checkbox"]), +[type="submit"] { + color: #4c4c4c; + background: #e9eced; + border: 1px double #cccccc; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, +input:not([type="file"]):not([type="checkbox"]):focus, +[type="submit"]:hover { + border: 1px solid #d5dada; + -moz-box-shadow: 0 0 10px #d5dada; + -webkit-box-shadow: 0 0 10px #d5dada; + box-shadow: 0 0 10px #d5dada; +} +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #e9eced; + border-color: #cccccc!important; + ; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #e9eced; + border-color: #cccccc; +} +div.pages a.selected { + color: #5d6678; +} +hr { + border-color: #cccccc; +} +div.boardlist { + color: #81a2be; + font-size: 14px; +} +div.boardlist a { + color: #477085; +} +table.modlog tr th { + background: #e9eced; +} + +/* options.js */ +#options_div, +#alert_div { + background: #e9eced; +} + +.desktop-style div.boardlist:nth-child(1) { + background-color: #e9eced; +} +/* Red text */ +span.heading { + color: #d93f42; +} +/* Buggy shit */ +div.post.reply div.body a { + color: #5f89ac; + text-decoration: none; +} +/* OP */ +/* Subject */ +.intro span.subject { + color: #617d6f; +} +/* name */ +.intro span.name { + color: #4c4c4c; +} +/* tripcode */ +.intro span.trip { + color: #5d6678; +} +/* Quick reply */ +/* Quick reply banner */ +div.banner { + background-color: #477085; +} +#quick-reply th, +#quick-reply td { + background-color: #d5dada; +} +#quick-reply table { + border-color: #cccccc +} +/* Buggy shit */ +div.post.reply div.body a { + color: #477085; + text-decoration: none; +} diff --git a/stylesheets/demain_light.css b/stylesheets/demain_light.css new file mode 100644 index 00000000..18ccb05d --- /dev/null +++ b/stylesheets/demain_light.css @@ -0,0 +1,182 @@ +/* Demain_light theme for leftypol.org adapted from Seaweed theme for 4chan*/ +/* Work in progress*/ +/* General */ +/* General */ +body { + background: #e9eced url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #4c4c4c; + font-size: 11pt; + font-family: liberation.sans +} +/* Link colors */ +a:link, +a:visited, +.intro a.email span.name { + color: #477085; +} +a:hover, +.intro a.post_no:hover { + color: #5d6678; +} +/* Board title and subtitle */ +header div.subtitle, +h1 { + color: #d93f42; +} +/* Post number*/ +a.post_no { + color: #477085; +} +/* "Top bar" of the replies*/ +p.intro { + background: #e3e7e8; + border-color: #cccccc; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Replies */ +/* Background color and border */ +div.post.reply { + background: #e9eced; + border-color: #cccccc; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply.highlighted { + background: #d5dada; + border-color: #477085; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +div.post.reply div.body a { + color: #477085; +} +.intro span.subject { + color: #6b7a1e; +} +/* Greentext */ +span.quote { + color: #6b7a1e +} +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, +.thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, +.thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, +.thread.grid-li.grid-size-large:hover { + background-color: #e9eced; + border: 1px solid #cccccc; +} +/* Posting form */ +/* Field names */ +form table tr th { + background: #e9eced; + color: #4c4c4c; + border: 1px solid #cccccc; +} +/* Input fields */ +textarea, +input:not([type="file"]):not([type="checkbox"]), +[type="submit"] { + color: #4c4c4c; + background: #e9eced; + border: 1px double #cccccc; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, +input:not([type="file"]):not([type="checkbox"]):focus, +[type="submit"]:hover { + border: 1px solid #d5dada; + -moz-box-shadow: 0 0 10px #d5dada; + -webkit-box-shadow: 0 0 10px #d5dada; + box-shadow: 0 0 10px #d5dada; +} +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #e9eced; + border-color: #cccccc!important; + ; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #e9eced; + border-color: #cccccc; +} +div.pages a.selected { + color: #5d6678; +} +hr { + border-color: #cccccc; +} +div.boardlist { + color: #81a2be; + font-size: 14px; +} +div.boardlist a { + color: #477085; +} +table.modlog tr th { + background: #e9eced; +} + +/* options.js */ +#options_div, +#alert_div { + background: #e9eced; +} + +.desktop-style div.boardlist:nth-child(1) { + background-color: #e9eced; +} +/* Red text */ +span.heading { + color: #d93f42; +} +/* Buggy shit */ +div.post.reply div.body a { + color: #5f89ac; + text-decoration: none; +} +/* OP */ +/* Subject */ +.intro span.subject { + color: #617d6f; +} +/* name */ +.intro span.name { + color: #4c4c4c; +} +/* tripcode */ +.intro span.trip { + color: #5d6678; +} +/* Quick reply */ +/* Quick reply banner */ +div.banner { + background-color: #477085; +} +#quick-reply th, +#quick-reply td { + background-color: #d5dada; +} +#quick-reply table { + border-color: #cccccc +} +/* Buggy shit */ +div.post.reply div.body a { + color: #477085; + text-decoration: none; +} diff --git a/stylesheets/temp_dark.css b/stylesheets/temp_dark.css new file mode 100644 index 00000000..c68980d4 --- /dev/null +++ b/stylesheets/temp_dark.css @@ -0,0 +1,103 @@ +@-moz-document domain("leftypol.org") { +/* Bunker Theme for Leftypol.org */ +/* General */ +body { + background: #1d1f21 url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #ACACAC; +} + +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #151515; + border-color: #FFB300!important; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Board links */ +div.boardlist { + color: #acacac; + font-size: 14px; +} + +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #151515; + border-color: #117743; +} +div.pages a.selected { + color: #ff0000; +} +/* Thread separators */ +hr { + border-color: #117743; +} + +/* Link colors, might or might not work */ +a:link, a:visited, .intro a.email span.name { + color: #FFB300; +} +a:link:hover { + color: #d00; +} + +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, .thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, .thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, .thread.grid-li.grid-size-large:hover { + background-color: #282A2E; + border: 1px solid #117743; +} + +/* Posting form */ +/* Field names */ +form table tr th { + background: #282A2E; + color: #ACACAC; + border: 1px solid #117743; +} +/* Input fields */ +textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { + color: #ACACAC; + background: #282A2E; + border: 1px double #07371F; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover { + border: 1px solid #117743; + -moz-box-shadow: 0 0 10px #117743; + -webkit-box-shadow: 0 0 10px #117743; + box-shadow: 0 0 10px #117743; +} + +/* OP */ +/* Subject */ +.intro span.subject { + color: #34ED3A; +} + +/* Replies */ +/* Background color and green border */ +div.post.reply { + background: #282A2E; + border-color: #117743; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Highlighted replies */ +div.post.reply.highlighted { + background: rgba(59, 22, 43, 0.4); +} +/* Buggy shit */ +div.post.reply div.body a { + color: #ff0000; + text-decoration: none; +} +} diff --git a/stylesheets/temp_dark_red.css b/stylesheets/temp_dark_red.css new file mode 100644 index 00000000..df80a931 --- /dev/null +++ b/stylesheets/temp_dark_red.css @@ -0,0 +1,101 @@ +/* Red Bunker Theme for Leftypol.org */ +/* General */ +body { + background: #1d1f21 url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #ACACAC; +} + +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #151515; + border-color: #ffd700!important; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Board links */ +div.boardlist { + color: #acacac; + font-size: 14px; +} + +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #151515; + border-color: #cd0000; +} +div.pages a.selected { + color: #ff0000; +} +/* Thread separators */ +hr { + border-color: #CD0000; +} + +/* Link colors, might or might not work */ +a:link, a:visited, .intro a.email span.name { + color: #ffd700; +} +a:link:hover { + color: #d00; +} + +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, .thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, .thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, .thread.grid-li.grid-size-large:hover { + background-color: #282A2E; + border: 1px solid #cd0000; +} + +/* Posting form */ +/* Field names */ +form table tr th { + background: #282A2E; + color: #ACACAC; + border: 1px solid #cd0000; +} +/* Input fields */ +textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { + color: #ACACAC; + background: #282A2E; + border: 1px double #07371F; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover { + border: 1px solid #cd0000; + -moz-box-shadow: 0 0 10px #cd0000; + -webkit-box-shadow: 0 0 10px #cd0000; + box-shadow: 0 0 10px #cd0000; +} + +/* OP */ +/* Subject */ +.intro span.subject { + color: #ffd700; +} + +/* Replies */ +/* Background color and green border */ +div.post.reply { + background: #282A2E; + border-color: #cd0000; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Highlighted replies */ +div.post.reply.highlighted { + background: rgba(59, 22, 43, 0.4); +} +/* Buggy shit */ +div.post.reply div.body a { + color: #ff0000; + text-decoration: none; +} diff --git a/stylesheets/tomorrow.css b/stylesheets/tomorrow.css new file mode 100644 index 00000000..b3f95226 --- /dev/null +++ b/stylesheets/tomorrow.css @@ -0,0 +1,115 @@ +/* Tomorrow Theme for Leftypol.org */ +/* General */ +body { + background: #1d1f21 url('img/fade-yotsuba.png') repeat-x 50% 0%; + color: #ACACAC; +} + +/* Top bar */ +/* Background, border and fade */ +.bar { + background-color: #151515; + border-color: #81a2be!important; + /* comment these out to remove the fade */ + /* + -moz-box-shadow: 0 0 40px #FFB300; + -webkit-box-shadow: 0 0 40px #FFB300; + box-shadow: 0 0 40px #FFB300; + */ +} +/* Board links */ +div.boardlist { + color: #81a2be; + font-size: 14px; +} + +/* Bottom bar, not visible in catalog mode */ +div.pages { + background: #151515; + border-color: #81a2be; +} +div.pages a.selected { + color: #cc6666; +} +/* Thread separators */ +hr { + border-color: #373b41; +} + +/* Link colors, might or might not work */ +a:link, a:visited, .intro a.email span.name { + color: #81a2be; +} +a:link:hover { + color: #cc6666; +} + +/* Catalog grids */ +/* Background color and green border */ +.thread.grid-li.grid-size-vsmall, .thread.grid-li.grid-size-vsmall:hover, +.thread.grid-li.grid-size-small, .thread.grid-li.grid-size-small:hover, +.thread.grid-li.grid-size-large, .thread.grid-li.grid-size-large:hover { + background-color: #282A2E; + border: 1px solid #373b41; +} + +/* Posting form */ +/* Field names */ +form table tr th { + background: #282A2E; + color: #ACACAC; + border: 1px solid #373b41; +} +/* Input fields */ +textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { + color: #ACACAC; + background: #282A2E; + border: 1px double #1d1f21; + border-radius: 5px; +} +/* Input fields, focused */ +textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover { + border: 1px solid #1d1f21; + -moz-box-shadow: 0 0 10px #1d1f21; + -webkit-box-shadow: 0 0 10px #1d1f21; + box-shadow: 0 0 10px #1d1f21; +} + +/* OP */ +/* Subject */ +.intro span.subject { + color: #b294bb; +} + +/* name */ +.intro span.name { + color: #5f89ac; +} + +/* tripcode */ +.intro span.trip { + color: #8abeb7; +} + +/* Replies */ +/* Background color and green border */ +div.post.reply { + background: #282A2E; + border-color: #373b41; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Highlighted replies */ +div.post.reply.highlighted { + background: #282A2E; + border-color: #5f89ac; + border-style: solid; + border-width: 0.8px; + border-radius: 5px; +} +/* Buggy shit */ +div.post.reply div.body a { + color: #5f89ac; + text-decoration: none; +} From 68080f90bfba1a3fd930ed512f877072cf73d7e1 Mon Sep 17 00:00:00 2001 From: Dedushka Date: Sun, 17 Jan 2021 16:17:37 -0500 Subject: [PATCH 5/5] Add bunker-like CSS them, adresses #145 --- inc/instance-config.php | 1 + stylesheets/bunker_like.css | 175 ++++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+) create mode 100644 stylesheets/bunker_like.css diff --git a/inc/instance-config.php b/inc/instance-config.php index a95c26cf..c752938f 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -290,6 +290,7 @@ $config['stylesheets']['TempDark'] = 'temp_dark.css'; $config['stylesheets']['TempDarkRed'] = 'temp_dark_red.css'; $config['stylesheets']['Tomorrow'] = 'tomorrow.css'; $config['stylesheets']['AnonsDarkRed'] = 'anons_dark_red.css'; +$config['stylesheets']['BunkerLike'] = 'bunker_like.css'; $config['default_stylesheet'] = array('Dark Red', $config['stylesheets']['Dark Red']); /* diff --git a/stylesheets/bunker_like.css b/stylesheets/bunker_like.css new file mode 100644 index 00000000..65de9e9b --- /dev/null +++ b/stylesheets/bunker_like.css @@ -0,0 +1,175 @@ +body { + background: #1D1F21; + color: #ACACAC; + font-family: Courier, monospace; + font-size: 13px; +} + +/* LINKS */ +a, a:link, a:visited, .intro a.email span.name { + color: #FFB300; + text-decoration: none; +} +a:link:hover, a:visited:hover { + color: #FFB300; + text-shadow: 0px 0px 5px #117743; +} +div.pages a.selected { + color: #FFB300; +} + +/* INTRO */ +h1, div.title, header div.subtitle { + color: #663E11; + font-family: Courier, monospace; +} +h1 { + font-size: 24pt; + font-weight: normal; + letter-spacing: 0px; +} +header div.subtitle { + font-size: 12pt; +} + +/* FORMS AND BUTTONS */ +div.banner { + background-color: inherit; + color: #ACACAC; +} +form table { + border: 1px dashed #117743; + padding-right: 1px; +} +form table tr th { + background: #282A2E; + border: 1px solid #117743; + border-radius: 5px; +} +input[type="text"], input[type="password"], textarea, select { + border: 1px double #07371F; + border-radius: 5px; + background: #282A2E; + color: #ACACAC; + font-family: Courier, monospace; +} +input[type="text"]:focus, input[type="password"]:focus, textarea:focus { + box-shadow: 0px 0px 5px 2px #117743; +} +input[type="submit"] { + border: 3px double #07371F; + border-radius: 5px; + background: #16171A; + color: #ACACAC; + font-family: Courier, monospace; + font-weight: bold; +} +.dropzone { + background: #16171A; + border: 3px double #07371F; + color: #ACACAC; +} +.dropzone .file-hint { + color: #ACACAC; + font-weight: bold; +} +#quick-reply table { + background: #1D1F21 !important; +} +fieldset { + border: 1px dashed #117743; +} + +/* POST IDENTIFIERS */ +.intro span.subject { + color: #34ED3A; +} +.intro span.name { + color: #117743; +} +.intro span.trip { + color: #117743; +} +.intro a.capcode, p.intro a.nametag { + color: #FF0000; + font-weight: bold; +} +.intro a.email, p.intro a.email span.name, p.intro a.email:hover, p.intro a.email:hover span.name { + color: #34ED97; +} +.intro time { + font-weight: bold; +} +.intro a.post_no { + color: #ACACAC; + font-weight: bold; +} + +/* POST BOXES */ +div.post.reply { + background: #282A2E; + border: 1px solid #117743; + border-radius: 5px; +} +div.post.reply.highlighted { + background: rgba(59, 22, 43, 0.4); + border: 1px solid #117743; + border-radius: 5px; +} + +/* POST CONTENT */ +div.post.reply div.body a { + color: #FFB300; +} +.quote { + color: #789922; +} + +/* BARS */ +.bar { + background-color: #151515; +} +.bar.top { + border-bottom: 1px solid #B0790A; +} +.bar.bottom { + border-top: 1px solid #B0790A; +} +div.boardlist { + color: #ACACAC; +} +hr { + border: none; + border-top: 1pt solid #117743; +} + +/* CATALOG */ +.theme-catalog h1 { + color: #ACACAC; + font-size: 18pt; + font-weight: bold; +} +.theme-catalog h1 a { + font-weight: normal; +} +.theme-catalog div.thread, .theme-catalog div.thread:hover { + background: #282A2E; + border: 1px solid #117743; + border-radius: 5px; + font-size: 10pt; +} + +/* OPTIONS */ +#options_div, #alert_div { + background: #1D1F21; + border: 1px dashed #117743; +} +#options_tablist { + border-right: 1px dashed #117743; +} +.options_tab_icon { + color: #ACACAC; +} +.options_tab_icon.active { + color: #FFB300; +}