/*
--------------------------
Simple PHP Blog CSS Styles
--------------------------

Name: Modern Theme
Author: Alexander Palmo
Version: 0.4.2
Date: 12/11/06

Description:
This the is the css theme for the Modern theme. You can use
this as a template for your own themes.

Also refer to user_style.php for custom color over-rides.


Some font suggestions...

STANDARD
font-family: Arial, Helvetica, Sans-Serif;
font-family:  'Lucida Grande', Geneva, sans-serif;
font-family: Tahoma, Geneva, sans-serif;
font-family: Geneva, Verdana, sans-serif;

CLASSIC / TRADITIONAL
font-family: 'Times New Roman', Times, serif;
font-family: Georgia, serif;
font-family: Book Antiqua, Palatino, serif;

MODERN / FUNKY
font-family: 'Gill Sans', 'Trebuchet MS', Helvetica, sans-serif;

MONOSPACE
font-family: Lucida Console, Monaco, monospace;

*/

/* GENERAL SETTINGS */
body
{
  font-family: 'Gill Sans', 'Trebuchet MS', Helvetica, sans-serif;
  color: #000;
  font-size: 0.8em;
  text-align: left;
  margin: 25px 25px 15px 25px;
  padding: 0;
  background-color: #cccc99;
  min-width: 953px;
}

p
{
  margin: .8em 0 .8em 0;
}

hr  
{
  color: #cccccc;
  background-color: #cccccc;
  height: 1px;
  border: 0;
}

/* TYPEOGRAPHY */
a { 
  text-decoration: none; 
  font-weight: bold;
}

a:link, a:visited { color: #933; }
a:hover { color: #F33; }
a:active { color: #33F; }

form {
  margin: 0;
  padding: 0
}

input, select, option, textarea
{
  font-size: 1em;
}

code, pre {
  font-family: 'Courier New', Courier, Fixed;
  font-size: 1.2em;
}

pre {
  width: 480px;
  overflow: auto;
  border: 1px dotted #777;
  padding: 10px;
}

blockquote
{
  color: #666666;
  padding-left: 1.5em;
  border-left: 5px solid #999999;
  margin: 1.5em 3.0em 0 1.0em;
}

/* HEADERS */
h1, h2, h3, h4, h5, h6
{
  font-family: Arial, Helvetica, Sans-Serif;
  font-weight: bold;
  margin: .3em 0 .3em 0;
}
h1 { font-size: 1.8em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }

/* IMAGES */
img { border: 0; }

#img_float_left
{
  /* Used by the [img] tag when float=left */
  float: left;
  margin: 2px 8px 4px 2px;
}

#img_float_right
{
  /* Used by the [img] tag when float=right */
  float: right;
  margin: 2px 2px 4px 8px;
}

/* LAYOUT / PLACEMENT */
#page
{
  margin: 10px auto 10px auto;
  border: 1px solid #80804d;
  background-color: #ffffe6;
}

#popup
{
  width: 550px;
  margin: 10px auto 10px auto;
  border: 1px solid #80804d;
  background-color: #ffffe6;
}

#header
{
  border-bottom: 1px solid #666;
  text-align: center;
}

#description
{
   background: #636126;
   border-color: #666;
   border-width: 0px 0px 1px 0px;
   border-style: solid;
   padding: 6px;
   font-family: 'Trebuchet MS', 'Gill Sans', Helvetica, sans-serif;
   font-size: 12px;
   text-align: center;
   color: #E8FFFF;
}

#title
{
  font-size: 1.3em;
  color: #FFF;
  background-color: #996;
  padding: 5px 10px 5px 10px;
  border-bottom: 1px solid #80804d;
}

#innerpage
{
  margin: 0;
  padding: 0;
}

#content
{
  min-width: 380px;
  padding: 10px;
}

#sidebar
{
  background-color: #e6e6b3;
  padding: 10px;
  width: 179px;
  border-right: 1px #80804d solid;
  border-bottom: 1px #80804d solid;
}

#sidebar_r
{
  background-color: #e6e6b3;
  padding: 10px;
  width: 179px;
  border-left: 1px #80804d solid;
  border-bottom: 1px #80804d solid;
} 

#footer
{
  font-size: 0.8em;
  color: #FFF;
  background-color: #996;
  padding: 10px;
  border-top: 1px solid #666;
  clear: both;
}

/* CONTENT */
#content .entry,
#content .static,
#content .comment
{
  padding-bottom: 10px;
}

#content .entry .blog_title,
#content .static .blog_title,
#content .comment .blog_title
{
  font-size: 1.3em;
  color: #FFF;
  border-color: #660;
  padding: .3em .5em;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  background-color: #B2B286;
}

#content .blog_title img
{
  /* padding: top right bottom left */
  padding: 0px 10px 0px 0px;
}

#content .blog_title_buttons
{
  /* Edit and Delete buttons in the Blog Title */
  float: right;
  position: relative;
  top: -15px;
  right: 2px;
  display: inline;
}

#content .entry .blog_body,
#content .static .blog_body,
#content .comment .blog_body
{
  line-height: 1.3em;
  background-color: #FFF;
  padding: 10px;
  margin: 0;
  border: 1px solid #660;
  color: #663;
  text-align: justify;
}

#content .entry .blog_body_clear,
#content .static .blog_body_clear,
#content .comment .blog_body_clear
{
  padding: 0px;
  border-color: #FFF;
  border-width: 0px;
  border-style: solid;
}

#content .entry .blog_body_solid,
#content .static .blog_body_solid,
#content .comment .blog_body_solid
{
  padding: 1px;
  border-color: #660;
  background: #fff;
  border-width: 5px;
  border-style: solid;
}

#content .entry .blog_date,
#content .static .blog_date,
#content .comment .blog_date
{
  font-size: .9em;
  color: #999;
  margin-bottom: 1em;
}

.blog_ip_address
{
  font-size: 0.8em;
}

#content .entry .blog_comment,
#content .static .blog_comment,
#content .comment .blog_comment
{
  padding: .5em;
  color: #663;
  background-color: #FFF;
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #660;
}

/* SIDEBAR */
#sidebar .menu_body a,
#sidebar_r .menu_body a 
{ 
  text-decoration: none;
  font-weight: bold;
}

#sidebar .menu_body a:link, #sidebar .menu_body a:visited,
#sidebar_r .menu_body a:link, #sidebar_r .menu_body a:visited
{
  color: #933; 
}

#sidebar .menu_body a:hover,
#sidebar_r .menu_body a:hover
{
  color: #F33; 
}

#sidebar .menu_body a:active, 
#sidebar_r .menu_body a:active
{
  color: #33F; 
}

div #toggleSidebarAvatar, #toggleSidebarLinks, #toggleSidebarCalendar, #toggleSidebarArchives, #toggleSidebarCategories , #toggleSidebarSearch, #toggleSidebarMenu, #toggleSidebarPreferences, #toggleSidebarRecentComments, #toggleSidebarRecentEntries, #toggleSidebarRecentTrackbacks
{
  display: block;
}

#sidebar .menu_title,
#sidebar_r .menu_title
{
  font-size: 1em;
  color: #FFF;
  padding: .3em .5em;
  background-color: #B2B286;
  margin: 0;
  border-color: #A6A6A6;
  border-width: 1px;
  border-style: solid;
}

#sidebar .menu_title a,
#sidebar_r .menu_title a
{
  text-decoration: none;
  color: inherit;
}

#sidebar .menu_title:hover,
#sidebar_r .menu_title:hover
{
}

#sidebar .menu_body,
#sidebar_r .menu_body
{
  padding: 10px;
  background-color: #FFF;
  margin: 0;
  border-color: #A6A6A6;
  border-width: 0 1px 1px 1px;
  border-style: none solid solid solid;
}

#sidebar .calendar,
#sidebar_r .calendar
{
  font-size: 0.85em;
}

#sidebar .calendar a,
#sidebar_r .calendar a
{
  font-weight: bold;
  text-decoration: none;
}

#sidebar .calendar td,
#sidebar_r .calendar td
{
  padding: 2px;
}

#archive_tree_menu ul 
{
  list-style: none inside;
  padding: 0 0 0 10px;
  margin: 0;
}

#archive_tree_menu li 
{
  margin: 0;
  padding: .5em 0 0 0;
}


user_styles.php:
Code: Select all
<style type="text/css">
  /* OVERRIDE COLORS */

  /* GENERAL SETTINGS */
  body {
    background-color: #<?php echo(get_user_color('bg_color')); ?>;
    color: #<?php echo(get_user_color('txt_color')); ?>;
  }

  hr  
  {
    color: #<?php echo(get_user_color('inner_border_color')); ?>;
    background-color: #<?php echo(get_user_color('inner_border_color')); ?>;
  }
  
  /* TYPEOGRAPHY */
  
  a:link, a:visited { color: #<?php echo(get_user_color('link_reg_color')); ?>; }
  a:hover { color: #<?php echo(get_user_color('link_hi_color')); ?>; }
  a:active { color: #<?php echo(get_user_color('link_down_color')); ?>; }
  
  pre {
    width: <?php global $theme_vars; echo( $theme_vars[ 'max_image_width' ] ); ?>px;
    border-color: #<?php echo(get_user_color('inner_border_color')); ?>;
  }
  
  /* HEADERS */
  
  h1, h2, h3, h4, h5, h6 {
    /* color: #<?php echo(get_user_color('headline_txt_color')); ?>; */
  }
  
  blockquote {
    color: #<?php echo(get_user_color('txt_color')); ?>;
    border-color: #<?php echo(get_user_color('inner_border_color')); ?>;
  }
  
  /* LAYOUT / PLACEMENT */
  
  #page {
    background-color: #<?php echo(get_user_color('main_bg_color')); ?>;
    border-color: #<?php echo(get_user_color('border_color')); ?>;
  }
  
  #popup {
    background-color: #<?php echo(get_user_color('main_bg_color')); ?>;
    border-color: #<?php echo(get_user_color('border_color')); ?>;
  }
  
  #header {
    border-color: #<?php echo(get_user_color('border_color')); ?>;
  }
  
  #title {
    color: #<?php echo(get_user_color('header_txt_color')); ?>;
    border-color: #<?php echo(get_user_color('border_color')); ?>;
    background-color: #<?php echo(get_user_color('header_bg_color')); ?>;
  }
  
  #footer {
    color: #<?php echo(get_user_color('footer_txt_color')); ?>;
    border-color: #<?php echo(get_user_color('border_color')); ?>;
    background: #<?php echo(get_user_color('footer_bg_color')); ?>;
  }
  
  /* CONTENT */
  
  /* REGULAR ENTRY */
  #content .entry .blog_title
  {
    border-color: #<?php echo(get_user_color('entry_border')); ?>;
    color: #<?php echo(get_user_color('entry_title_text')); ?>;
    background-color: #<?php echo(get_user_color('entry_title_bg')); ?>;
  }
  
  #content .entry .blog_body
  {
    border-color: #<?php echo(get_user_color('entry_border')); ?>;
    color: #<?php echo(get_user_color('entry_text')); ?>;
    background-color: #<?php echo(get_user_color('entry_bg')); ?>;
  }

  #content .entry .blog_body_solid  {
    border-color: #<?php echo(get_user_color('entry_border')); ?>;
    color: #<?php echo(get_user_color('entry_text')); ?>;
    background-color: #<?php echo(get_user_color('entry_border')); ?>;
  }
  
  #content .entry .blog_comment
  {
    border-color: #<?php echo(get_user_color('entry_border')); ?>;
    color: #<?php echo(get_user_color('entry_text')); ?>;
    background-color: #<?php echo(get_user_color('entry_bg')); ?>;
  }
  
  #content .entry .blog_date,
  #content .static .blog_date,
  #content .comment .blog_date
  {
    color: #<?php echo(get_user_color('date_txt_color')); ?>;
  }
  
  /* STATIC ENTRY */
  #content .static .blog_title
  {
    border-color: #<?php echo(get_user_color('static_border')); ?>;
    color: #<?php echo(get_user_color('static_title_text')); ?>;
    background-color: #<?php echo(get_user_color('static_title_bg')); ?>;
  }
  
  #content .static .blog_body
  {
    border-color: #<?php echo(get_user_color('static_border')); ?>;
    color: #<?php echo(get_user_color('static_text')); ?>;
    background-color: #<?php echo(get_user_color('static_bg')); ?>;
  }
  
  #content .static .blog_comment
  {
    border-color: #<?php echo(get_user_color('static_border')); ?>;
    color: #<?php echo(get_user_color('static_text')); ?>;
    background-color: #<?php echo(get_user_color('static_bg')); ?>;
  }
  
  /* COMMENT ENTRY */
  #content .comment .blog_title
  {
    border-color: #<?php echo(get_user_color('comment_border')); ?>;
    color: #<?php echo(get_user_color('comment_title_text')); ?>;
    background-color: #<?php echo(get_user_color('comment_title_bg')); ?>;
  }
  
  #content .comment .blog_body
  {
    border-color: #<?php echo(get_user_color('comment_border')); ?>;
    color: #<?php echo(get_user_color('comment_text')); ?>;
    background-color: #<?php echo(get_user_color('comment_bg')); ?>;
  }
  
  #content .comment .blog_comment
  {
    border-color: #<?php echo(get_user_color('comment_border')); ?>;
    color: #<?php echo(get_user_color('comment_text')); ?>;
    background-color: #<?php echo(get_user_color('comment_bg')); ?>;
  }
  
  /* SIDEBAR */
  
  #sidebar,
  #sidebar_r
  {
    border-color: #<?php echo(get_user_color('inner_border_color')); ?>;
    background-color: #<?php echo(get_user_color('menu_bg_color')); ?>;
  }
  
  #sidebar .menu_body a:link,
  #sidebar_r .menu_body a:link
  { 
    color: #<?php echo(get_user_color('menu_link_reg_color')); ?>; 
  }
  
  #sidebar .menu_body a:visited, 
  #sidebar_r .menu_body a:visited
  {
    color: #<?php echo(get_user_color('menu_link_reg_color')); ?>; 
  }
  
  #sidebar .menu_body a:hover, 
  #sidebar_r .menu_body a:hover
  {
    color: #<?php echo(get_user_color('menu_link_hi_color')); ?>; 
  }
  
  #sidebar .menu_body a:active, 
  #sidebar_r .menu_body a:active
  { 
    color: #<?php echo(get_user_color('menu_link_down_color')); ?>; 
  }
  
  #sidebar .menu_title, 
  #sidebar_r .menu_title
  {
    border-color: #<?php echo(get_user_color('menu_border')); ?>;
    color: #<?php echo(get_user_color('menu_title_text')); ?>;
    background-color: #<?php echo(get_user_color('menu_title_bg')); ?>;
  }
  
  #sidebar .menu_body, 
  #sidebar_r .menu_body
  {
    border-color: #<?php echo(get_user_color('menu_border')); ?>;
    color: #<?php echo(get_user_color('menu_text')); ?>;
    background-color: #<?php echo(get_user_color('menu_bg')); ?>;
  }
</style>
