From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- themes/default/include/functions.php | 40 +++++++++ themes/default/include/style_bbcode.css | 142 ++++++++++++++++---------------- 2 files changed, 111 insertions(+), 71 deletions(-) create mode 100644 themes/default/include/functions.php (limited to 'themes/default/include') diff --git a/themes/default/include/functions.php b/themes/default/include/functions.php new file mode 100644 index 0000000..4a401fd --- /dev/null +++ b/themes/default/include/functions.php @@ -0,0 +1,40 @@ +"; + echo "
"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "
"; + echo ""; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "
{$title}
"; + echo "
"; + } + + function CloseBlock() + { + echo "
"; + CloseContent(); + } + +?> \ No newline at end of file diff --git a/themes/default/include/style_bbcode.css b/themes/default/include/style_bbcode.css index 7299c06..05333f9 100644 --- a/themes/default/include/style_bbcode.css +++ b/themes/default/include/style_bbcode.css @@ -1,71 +1,71 @@ -.bold { - font-weight: bold; -} - -.italics { - font-style: italic; -} - -.underline { - text-decoration: underline; -} - -.strikethrough { - text-decoration: line-through; -} - -.overline { - text-decoration: overline; -} - -.quotecodeheader { - font-family: Verdana, arial, helvetica, sans-serif; - font-size: 12px; - font-weight: bold; -} - -.codebody { - background-color: #FFFFFF; - font-family: Courier new, courier, mono; - font-size: 12px; - color: #006600; - border: 1px solid #BFBFBF; -} - -.quotebody { - background-color: #FFFFFF; - font-family: Courier new, courier, mono; - font-size: 12px; - color: #660002; - border: 1px solid #BFBFBF; -} - -.listbullet { - list-style-type: disc; - list-style-position: inside; -} - -.listdecimal { - list-style-type: decimal; - list-style-position: inside; -} - -.listlowerroman { - list-style-type: lower-roman; - list-style-position: inside; -} - -.listupperroman { - list-style-type: upper-roman; - list-style-position: inside; -} - -.listloweralpha { - list-style-type: lower-alpha; - list-style-position: inside; -} - -.listupperalpha { - list-style-type: upper-alpha; - list-style-position: inside; -} +.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} -- cgit