gnu-social/theme
Meitar Moscovitz c9e8b1e5c3 Add streamlined mobile device-friendly styles when enabled in config.
A new mobile-specific style sheet is added and loaded only if the
`$config['site']['mobile']` configuration variable is set to true.
2009-02-11 03:03:16 +11:00
..
base Add streamlined mobile device-friendly styles when enabled in config. 2009-02-11 03:03:16 +11:00
default Add a link to the group search page from a user's own group list. 2009-02-07 04:03:25 +11:00
identica Add a link to the group search page from a user's own group list. 2009-02-07 04:03:25 +11:00
iphone Renamed 'mobile' theme to more appropriate 'iphone' 2008-08-16 16:04:37 -04:00
readme.txt Howto: create a laconica theme 2009-01-28 19:13:46 +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.


1. Copy over the default theme to start off (replace 'mytheme'):
cp -r ./default ./mytheme

2. Edit your mytheme stylesheet:
nano ./mytheme/css/display.css

3. Search and replace a colour or a path to the background image of your choice.