/* RISC OS Open Typo theme.
 *
 * Originally based on Azure.
 */

@import url("/css/risc_os_open_2011.css");

/* Global - collapse paragraph breaks, except in the sidebar */

p
{
  margin: 0 0 1em 0;
  padding: 0;
}

div.lightboxplugin
{
  margin-bottom: 1em;
}

/*+-------------------------------------------+
  |         SEARCH                            |
  +-------------------------------------------+*/

#search
{
  font: bold 100% Arial, Verdana, Helvetica, sans-serif;
}

#search p
{
  margin-top: 1em;
}

/*+-------------------------------------------+
  |         POST                              |
  +-------------------------------------------+*/

.post
{
  padding-bottom: 20px;
  margin: 0 0 20px 0px;
  border-bottom: 1px solid #c4ccd8;
}

.post h1
{
  font: normal 125% Arial, Verdana, Helvetica, sans-serif;
  margin-bottom: 11pt;
  color: #61377a;
}

p.meta
{
  font-size:  75%;
  margin:     0;
  padding:    0;
  text-align: right;
}

p.auth
{
  margin-top: 5px;
  padding: 0 0 10px 10px;
  font-size: 80%;
  margin-left: 6px;
  color: #9a9a9b;
  background: url(/news/images/theme/bracket.gif) top left no-repeat;
}

 /*+-------------------------------------------+
  |               COMMENTS                     |
  +-------------------------------------------+*/

h4.blueblk /* "Comments" title - make it look like <h3> elsewhere */
{
  font: normal 125% Homerton, Tahoma, Arial, Helvetica, sans-serif;
  color: #61377a;
  margin: 0 0px 15px 0px;
}

.comment-list > li, #preview
{
  background: #f0f0f0 url( /images/risc_os_open/top_fade.png ) top left repeat-x;
  padding: 15px;
  margin-right: 5px; /* Else right hand shadow gets cropped off in WebKit - must be a "display: table-cell" quirk */
  margin-bottom: 1em;
  color: #333;
  clear: right;

  /* border-radius: 8px; */ /* Valid, but the W3C CSS3 validator is buggy and complains - and has since 2006! */
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  box-shadow: 0px 0px 5px #888;
  -moz-box-shadow: #888 0 0 5px;
  -webkit-box-shadow: #888 0 0 5px;
}

div.citation
{
  font-size: small;
  margin-bottom: 6px;
}

div.citation cite
{
  color: #4e713e;
  font-style: normal;
}

.gravatar
{
  float: right;
  padding: 0 5px;
}

 /*+-------------------------------------------+
   |               FORMS                       |
   +-------------------------------------------+*/

.frm-tbl td
{
  vertical-align: top; padding: 5px;
}

td#frm-btns
{
  text-align: right;
}

#comment_body
{
  height: 140px;
}

 /*+-------------------------------------------+
   |                  MISC                     |
   +-------------------------------------------+*/


.template_sidebar_node li
{
  font-size: small;
}

.pullquote
{
  width: 30%;
  float: right;
  font: 150%/1.5em Times, Helvetica, "Times New Roman", serif;
  color: #666;
  margin: 10px;
  background: url(/news/images/theme/q-close.gif) no-repeat 70% 100% !important;
  background /**/:url(); /* removing quote graphic in IE5+ */
  padding: 0 25px 5px 0;
}

.pullquote:first-letter
{
  background: url(/news/images/theme/q-open.gif) no-repeat left top !important;
  padding:5px 2px 10px 35px!important;
  padding /**/:0px;   /* resetting padding in IE5+ */
  background /**/: url(); /* removing quote graphic in IE5+ */
}

.light-bg
{
  background: #f7f7f7;
  padding: 2px;
}

.clearfix:after
{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#errors
{
  color: red;
}

.admintools
{
  float: right;
  background-color: #fff;
  font-size: smaller;
  padding: 0 2px;
  margin: 0 1px;
  color: #ccc;
  border: 1px solid #ccc;
}

.admintools:hover
{
  color: #c00;
  border: 1px solid #c00;
}

a[name]
{
  border: none;
}

/* Hides from IE-mac \*/
 * html .clearfix {height: 1%;}
/* End hide from IE-mac */


/* Syntax highlighting */

.typocode_ruby .normal {}
.typocode_ruby .comment { color: #005; font-style: italic; }
.typocode_ruby .keyword { color: #A00; font-weight: bold; }
.typocode_ruby .method { color: #077; }
.typocode_ruby .class { color: #074; }
.typocode_ruby .module { color: #050; }
.typocode_ruby .punct { color: #447; font-weight: bold; }
.typocode_ruby .symbol { color: #099; }
.typocode_ruby .string { color: #944; background: #FFE; }
.typocode_ruby .char { color: #F07; }
.typocode_ruby .ident { color: #004; }
.typocode_ruby .constant { color: #07F; }
.typocode_ruby .regex { color: #B66; background: #FEF; }
.typocode_ruby .number { color: #F99; }
.typocode_ruby .attribute { color: #7BB; }
.typocode_ruby .global { color: #7FB; }
.typocode_ruby .expr { color: #227; }
.typocode_ruby .escape { color: #277; }
.typocode_xml .normal {}
.typocode_xml .namespace { color: #B66; font-weight: bold; }
.typocode_xml .tag { color: #F88; }
.typocode_xml .comment { color: #005; font-style: italic; }
.typocode_xml .punct { color: #447; font-weight: bold; }
.typocode_xml .string { color: #944; }
.typocode_xml .number { color: #F99; }
.typocode_xml .attribute { color: #BB7; }
.typocode_yaml .normal {}
.typocode_yaml .document { font-weight: bold; color: #07F; }
.typocode_yaml .type { font-weight: bold; color: #05C; }
.typocode_yaml .key { color: #F88; }
.typocode_yaml .comment { color: #005; font-style: italic; }
.typocode_yaml .punct { color: #447; font-weight: bold; }
.typocode_yaml .string { color: #944; }
.typocode_yaml .number { color: #F99; }
.typocode_yaml .time { color: #F99; }
.typocode_yaml .date { color: #F99; }
.typocode_yaml .ref { color: #944; }
.typocode_yaml .anchor { color: #944; }

.typocode
{
  background-color:#eee;
  padding:2px;
  margin:5px;
  margin-left:1em;
  margin-bottom:1em;
}

.typocode pre
{
  padding: 0px;
  margin: 0px;
  background: transparent;
  font-family: monospace;
  overflow:auto;
}

.typocode .lineno
{
  text-align: right;
/*  color: #B00;*/
  font-family: monospace;
  padding-right: 1em;
}

/*+-------------------------------------------+
  |                  TAGliST                  |
  +-------------------------------------------+*/

ul#taglist li
{
  display: inline;
  line-height: 2em;
}

.tags .tags0  { font-size: 1.0em; }
.tags .tags1  { font-size: 1.2em; }
.tags .tags2  { font-size: 1.4em; }
.tags .tags3  { font-size: 1.6em; }
.tags .tags4  { font-size: 1.8em; }
.tags .tags5  { font-size: 2.0em; }
.tags .tags6  { font-size: 2.2em; }
.tags .tags7  { font-size: 2.4em; }
.tags .tags8  { font-size: 2.6em; }
.tags .tags9  { font-size: 2.8em; }
.tags .tags10 { font-size: 3.0em; }

