gnu-social/theme
Sarven Capadisli 4a8c993ed0 Updated instructions for creating a theme. Removed earthy theme ~
which was too basic to be unique.
2009-05-14 20:22:04 +00:00
..
base Aligned shownotice page's entry-content to left. Fixing vcard photo 2009-05-02 00:10:50 +00:00
biz Init biz theme 2009-05-10 23:14:42 +00:00
cloudy Updated remaining files and styles for style separation for themes 2009-04-14 23:32:09 +00:00
default Giving more contrast between the background colour and the laconica logo. 2009-05-01 04:39:49 +00:00
h4ck3r Minor clearing. 2009-05-13 16:06:52 +00:00
identica Merge branch '0.7.x' into 0.8.x 2009-04-15 11:35:43 -04:00
iphone Make stuff work with no base 2009-04-14 16:02:09 -04:00
otalk otalk theme: Using two columns for notice list 2009-05-13 17:29:13 +00:00
pigeonthoughts Init pigeon thoughts theme. 2009-05-11 04:04:56 +00:00
readme.txt Updated instructions for creating a theme. Removed earthy theme ~ 2009-05-14 20:22:04 +00:00

/** Howto: create a laconica theme
 *
 * @package   Laconica
 * @author Sarven Capadisli <csarven@controlyourself.ca>
 * @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 laconica 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';