Browse Source

fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <).

pull/40/head
nonmakina 3 years ago
parent
commit
e32e12798e
  1. 2
      inc/config.php
  2. 9
      inc/instance-config.php
  3. 5
      stylesheets/gentoochan.css
  4. 10
      stylesheets/style.css

2
inc/config.php

@ -657,7 +657,7 @@
$config['markup'][] = array("/'''(.+?)'''/", "<strong>\$1</strong>");
$config['markup'][] = array("/''(.+?)''/", "<em>\$1</em>");
$config['markup'][] = array("/\*\*(.+?)\*\*/", "<span class=\"spoiler\">\$1</span>");
$config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>");
$config['markup'][] = array("/==(.+?)==/", "<span class=\"heading\">\$1</span>");
// Code markup. This should be set to a regular expression, using tags you want to use. Examples:
// "/\[code\](.*?)\[\/code\]/is"

9
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*&lt;.*$/m", '<span class="orangeQuote">$0</span>');
$config['markup'][] = array("/__(.+?)__/", "<span class=\"underline\">\$1</span>");

5
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;
}

10
stylesheets/style.css

@ -1953,4 +1953,12 @@ div.mix {
footer {
margin-bottom: 50px;
}
}
span.underline {
text-decoration: underline;
}
span.orangeQuote {
color: #FF8C00;
}

Loading…
Cancel
Save