Commit 629c34b2 authored by Nigel McNie's avatar Nigel McNie
Browse files

Move the blog CSS rules into their own stylesheet, tweak blog scripts to include it.

parent e6381219
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myportfolio/blogs');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'blog');
define('SECTION_PAGE', 'new');
require(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
define('TITLE', get_string('newblog','artefact.blog'));
require_once('pieforms/pieform.php');
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myportfolio/blogs');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'blog');
define('SECTION_PAGE', 'post');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -26,6 +26,10 @@
define('INTERNAL', 1);
define('MENUITEM', 'myportfolio/blogs');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'blog');
define('SECTION_PAGE', 'settings');
require(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
define('TITLE', get_string('blogsettings','artefact.blog'));
require_once('pieforms/pieform.php');
......
/**
* CSS rules for the blog artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
#postlist td.postdetails {
padding-bottom: 2em;
font-style: italic;
}
#postlist p {
margin: 0 0 1em 0;
}
.blogpost-attachments {
width: 100%;
* width: 98%;
border: 1px solid #ddd;
background-color: #ddd;
}
.blogpost-attachments tbody th {
border: none !important;
padding: .25em .5em;
text-align: left;
}
.blogpost-attachments tr.r0 td,
.blogpost-attachments tr.r1 td {
padding: .25em .5em;
}
#bloglist td .addicon {
margin: 0;
}
......@@ -1391,38 +1391,6 @@ tr#contactinformation_contactinformation_container td .resumecontactinfo th {
margin-top: 1em;
}
/* MY PORTFOLIO > MY BLOGS */
#postlist td.postdetails {
padding-bottom: 2em;
font-style: italic;
}
#postlist p {
margin: 0 0 1em 0;
}
.blogpost-attachments {
width: 100%;
* width: 98%;
border: 1px solid #ddd;
background-color: #ddd;
}
.blogpost-attachments tbody th {
border: none !important;
padding: .25em .5em;
text-align: left;
}
.blogpost-attachments tr.r0 td,
.blogpost-attachments tr.r1 td {
padding: .25em .5em;
}
#bloglist td .addicon {
margin: 0;
}
/* GROUPS */
#groupsviewlist {
list-style: none;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment