X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=theme%2FREADME;h=2e3c134bb664c9669ffc70bd28050d9e95d96e9d;hb=1663e2743bb295e04a0d0399d201b45668025e88;hp=266a89fdf94ed46c8e47d41c14225ae2eab1baf1;hpb=bf4ed35a90d5cc906dbae7c097551fb3a10f14d6;p=quix0rs-gnu-social.git diff --git a/theme/README b/theme/README index 266a89fdf9..2e3c134bb6 100644 --- a/theme/README +++ b/theme/README @@ -1,38 +1,8 @@ -/** 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/ - */ +* To use a theme other than neo, add this to config.php: +$config['site']['theme'] = 'yourthemename'; -Location of key paths and files under theme/: +* To use/import the base theme, add this to your theme.ini file: +include=base -./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'; +* To include an external CSS resource (e.g. for a webfont), add this to the top of your theme.ini file: +external[]="yourexternalURL"