gnu-social/theme
Zach Copley dd1fc46f09 Merge branch '0.8.x' into design_reset
* 0.8.x: (32 commits)
  admin indicators in groups
  show section with admins in sidebar of group
  update to latest (r76) version of XMPPHP
  better output for common error handler
  fix logging error
  note when going background
  change name of constructor for xmppdaemon
  add a lot more logging to xmppdaemon
  error in get_option_value wasn't returning a value
  reformat commandline.inc
  if not in daemon mode, xmppdaemon sends log to stdout
  extract log-line formatting to its own function
  got my background/foreground logic backwards
  twitter status fetcher takes an id argument
  more efficient fixup of conversations
  commandline processing handles errors better
  xmppdaemon.php can stay in foreground
  command line arg handling a little more flexible
  Daemon can optionally not go into the background
  don't canonicalize people's text into URLs
  ...

Conflicts:
	theme/base/css/display.css
2009-06-29 13:23:45 -07:00
..
base Merge branch '0.8.x' into design_reset 2009-06-29 13:23:45 -07:00
biz Updated notice attach UI for biz theme. 2009-06-09 17:59:08 +00:00
cloudy Updated primary and secondary styles for biz, cloudy, h4ck3r, otalk, 2009-05-21 00:18:11 +00:00
default Using transparent background colour instead of solid for notice on hover 2009-06-25 20:36:02 +00:00
h4ck3r Updated primary and secondary styles for biz, cloudy, h4ck3r, otalk, 2009-05-21 00:18:11 +00:00
identica Using transparent background colour instead of solid for notice on hover 2009-06-25 20:36:02 +00:00
iphone Make stuff work with no base 2009-04-14 16:02:09 -04:00
otalk Updated primary and secondary styles for biz, cloudy, h4ck3r, otalk, 2009-05-21 00:18:11 +00:00
pigeonthoughts Updated themes for notice hover on content area 2009-06-18 04:55:41 +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';