forked from leftypol/leftypol
fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <).
This commit is contained in:
parent
b03d4f7c54
commit
2a37ad3b5d
4 changed files with 24 additions and 2 deletions
|
@ -657,7 +657,7 @@
|
||||||
$config['markup'][] = array("/'''(.+?)'''/", "<strong>\$1</strong>");
|
$config['markup'][] = array("/'''(.+?)'''/", "<strong>\$1</strong>");
|
||||||
$config['markup'][] = array("/''(.+?)''/", "<em>\$1</em>");
|
$config['markup'][] = array("/''(.+?)''/", "<em>\$1</em>");
|
||||||
$config['markup'][] = array("/\*\*(.+?)\*\*/", "<span class=\"spoiler\">\$1</span>");
|
$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 markup. This should be set to a regular expression, using tags you want to use. Examples:
|
||||||
// "/\[code\](.*?)\[\/code\]/is"
|
// "/\[code\](.*?)\[\/code\]/is"
|
||||||
|
|
|
@ -317,3 +317,12 @@ $config['embedding'][0] = array(
|
||||||
'/^https?:\/\/(\w+\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9\-_]{10,11})(&.+)?$/i',
|
'/^https?:\/\/(\w+\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9\-_]{10,11})(&.+)?$/i',
|
||||||
$config['youtube_js_html']);
|
$config['youtube_js_html']);
|
||||||
$config['additional_javascript'][] = 'js/youtube.js';
|
$config['additional_javascript'][] = 'js/youtube.js';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ====================
|
||||||
|
* Markup
|
||||||
|
* ====================
|
||||||
|
*/
|
||||||
|
|
||||||
|
$config['markup'][] = array("/^\s*<.*$/m", '<span class="orangeQuote">$0</span>');
|
||||||
|
$config['markup'][] = array("/__(.+?)__/", "<span class=\"underline\">\$1</span>");
|
||||||
|
|
|
@ -68,3 +68,8 @@ div.boardlist a {
|
||||||
table.modlog tr th {
|
table.modlog tr th {
|
||||||
background: #EA8;
|
background: #EA8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#quick-reply table {
|
||||||
|
background: #0E0E0E url(data:image/gif;base64,R0lGODlhGAAMAKEEAOXl5ebm5vDw8PHx8SH+EUNyZWF0ZWQgd2l0aCBHSU1QACwAAAAAGAAMAAACRpQiY6cLa146MyY1EJQKjG81lNGRUPOIkgMJHtquBgIO7xwvpbrpduUSuXq8ntEC0bBEylYitdDAdM1ViaobkgKgZwyDLAAAOw==) repeat 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1953,4 +1953,12 @@ div.mix {
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.underline {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.orangeQuote {
|
||||||
|
color: #FF8C00;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue