From 2f0acd88e85d745b40423c1a6d9375fdb685a38f Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 2 Dec 2009 11:22:30 +0100 Subject: Updated theme readme --- theme/README | 38 ++++++++++++++++++++++++++++++++++++++ theme/readme.txt | 38 -------------------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 theme/README delete mode 100644 theme/readme.txt (limited to 'theme') diff --git a/theme/README b/theme/README new file mode 100644 index 000000000..266a89fdf --- /dev/null +++ b/theme/README @@ -0,0 +1,38 @@ +/** Howto: create a StatusNet theme + * + * @package StatusNet + * @author Sarven Capadisli + * @copyright 2009 StatusNet, Inc. + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 + * @link http://status.net/ + */ + +Location of key paths and files under theme/: + +./base/css/ +./base/css/display.css +./base/images/ + +./default/css/ +./default/css/display.css +./default/images/ + +./base/display.css contains layout, typography rules: +Only alter this file if you want to change the layout of the site. Please note that, any updates to this in future statusnet releases may not be compatible with your version. + +./default/css/display.css contains only the background images and colour rules: +This file is a good basis for creating your own theme. + +Let's create a theme: + +1. To start off, copy over the default theme: +cp -r default mytheme + +2. Edit your mytheme stylesheet: +nano mytheme/css/display.css + +a) Search and replace your colours and background images, or +b) Create your own layout either importing a separate stylesheet (e.g., change to @import url(base.css);) or simply place it before the rest of the rules. + +4. Set /config.php to load 'mytheme': +$config['site']['theme'] = 'mytheme'; diff --git a/theme/readme.txt b/theme/readme.txt deleted file mode 100644 index d030f2db4..000000000 --- a/theme/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -/** Howto: create a statusnet theme - * - * @package StatusNet - * @author Sarven Capadisli - * @copyright 2009 Control Yourself, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://laconi.ca/ - */ - -Location of key paths and files under theme/: - -./base/css/ -./base/css/display.css -./base/images/ - -./default/css/ -./default/css/display.css -./default/images/ - -./base/display.css contains layout, typography rules: -Only alter this file if you want to change the layout of the site. Please note that, any updates to this in future statusnet releases may not be compatible with your version. - -./default/css/display.css contains only the background images and colour rules: -This file is a good basis for creating your own theme. - -Let's create a theme: - -1. To start off, copy over the default theme: -cp -r default mytheme - -2. Edit your mytheme stylesheet: -nano mytheme/css/display.css - -a) Search and replace your colours and background images, or -b) Create your own layout either importing a separate stylesheet (e.g., change to @import url(base.css);) or simply place it before the rest of the rules. - -4. Set /config.php to load 'mytheme': -$config['site']['theme'] = 'mytheme'; -- cgit v1.2.3-54-g00ecf