/*
Title: Pettan
Revision: $Revision: 1.3 $
Author: Nana
Access: http://moo.boo.jp
License: GPL
Comment: メモ帳ぺったん風

	Copyright 2002 (C) by Nana <moo@xu.boo.jp>	
	validated by W3C.
*/

/*
ページ全体の基本的な設定,背景色や文字色など
*/
body {
	background-color: #eea;
	color: #562;
	padding: 0.2em 0em;
	margin: 0.5em 20%;
}

/*
リンク文字列に関する設定
*/
a:link {
	text-decoration: none;
	color: #F4A460;
}

a:visited {
	text-decoration: none;
	color: #BDB76B;
}

a:active {
	text-decoration: none;
}

a:hover, a:focus {
	color: #e44;
}

/*
ページトップにある操作ボタンの並ぶ行の設定
*/
div.adminmenu {
	text-align: right;
	font-size: small;
}

/*
カレンダーの設定
*/
div.calendar {
	text-align: left;
	font-size: small;
	padding: 2px;
	margin-top: 0.5em;
	background-color: #fff;
}
div.calendar div.year {
}

/*
ページトップにある操作ボタン自体の設定
*/
span.adminmenu {
	background-color: transparent;
	border-style: solid;
	border-color: #eee #aaa #aaa #eee;
	border-width: 1px;
	padding: 2px;
}

/*
日記タイトルの設定
*/
h1 {
	color: #DEB887;
	text-align: left;
	font-style: italic;
	font-size: 150%;
}

/*
1日の日記全体を囲む枠の設定
*/
div.day {
	text-align: left;
	padding: 0px;
	margin: 2em 0em;
	background-image: url(pettan-yellow.png);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-color: #fff;
}

/*
タイトル行全体の設定
*/
h2 {
	margin: 0px;
	padding: 0px;
	text-align: left;
	background-image: url(pettan-yellow.png);
	background-position: right top;
	background-repeat: no-repeat;
	font-size: 120%;
	line-height: 1.5em;			
}

/*
日付の設定
*/
h2 span.date {
	font-weight: bold;
	display: block;
	text-align: left;
	padding-left: 30px;
	background-image: url(pettan-yellow.png);
	background-position: left top;
	background-repeat: no-repeat;
	line-height: 1.5em;
}
/*
h2 a:link, h2 a:visited {
	color: #fff;
}*/

/*
タイトルの設定
*/
h2 span.title {
	margin-left: 2em;
	padding: 0px;
	font-weight: normal;
	font-size: 100%;
}

/*
タイトルを除いた1日の日記本文全体の設定
*/
div.body {
	text-align: left;
	padding: 0px;
	margin: 0px;
}

/*
サブタイトルを含むセクションの設定
*/
div.section {
	margin: 0em 1em;
	
}

/*
サブタイトルの設定
*/
h3 {
	padding: 0.3em;
	margin: 0px;
	font-weight: bold;
	font-size: 100%;
	border-bottom: ridge 2px #F5DEB3;
}

/*
イメージアンカーの設定
ただしDefaultテーマではイメージアンカーは使っていないのでコメントにしてある
指定のコツは以下の通り
  - span.sanchorはセクションアンカー、span.canchorはツッコミアンカー
  - background-imageにアンカー画像を指定
  - paddingのtop(最初)とright(2番目)に画像の縦横サイズを指定
  - colorに背景色と同じ色を指定(文字を見えなくするため)
*/

div.day span.sanchor {
	background-image: url(pettan-yellow.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 10px 10px 0px 0px;
	color: #fff;
	background-color: transparent;
	font-size: 1px;
}
/*
div.day span.canchor {
	background-image: url(canchor.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 20px 20px 0px 0px;
	color: #fff;
	background-color: transparent;
	font-size: 1px;
}
*/

/*
日記の本文(段落)の設定
*/
div.section p {
	line-height: 1.4em;
	padding: 0em 1em 0em 1em;
}

/*
ツッコミ/フォーム/リンク元のキャプション設定
*/
div.caption {
	background-color: #EEE8AA;
	text-align: left;
	padding: 0px;
	margin: 0px 1em;
	border-style: solid;
	border-color: #fff #aaa #aaa #fff;
	border-width: 1px;
}

/*
ツッコミ欄全体の設定
*/
div.comment {
	font-size: 90%;
	text-align: left;
	margin: 0px;
	padding: 0px;
	line-height: 130%;
}

/*
ツッコミ省略版本文
*/
div.commentshort {
	font-size: 90%;
	margin-left: 1em;
}
span.commentator {
	font-weight: bold;
}
div.commentshort p {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	line-height: 130%;
}

/*
ツッコミ本体
*/
div.commentbody {
	margin: 2px 8px;
}

/*
ツッコミした人の情報
*/
span.commentator {
	font-weight: bold;
}

/*
ツッコミ本文
*/
div.commentbody p {
	margin: 0.5em;
	margin-left: 2em;
}

/*
フォーム全体を囲む枠の設定
*/
div.form {
	text-align: left;
	padding: 4px;
	margin: 0em;
}

div.form div.caption {
	background-color: #EEE8AA;
	text-align: left;
	padding: 0px;
	border: solid #000 1px;
	margin-bottom: 0.5em;
}

div.form div.caption a{
	display: block;
	padding: 2px;
	border-style: solid;
	border-color: #fff #aaa #aaa #fff;
	border-width: 1px;
}

/*
フォームの設定
*/
div.form form {
	margin: 0em 0em 0em 4px;
}

div.form form.comment {
	font-size: 90%;
}

div.field {
	display: inline;
}
form.comment input {
	background-color: #EEE8AA;
	color: #000;
	margin-left: 1em;
}

div.textarea {
	display: block;
	vertical-align: top;
}

form.comment textarea {
	display: block;
	background-color: #EEE8AA;
	color: #000;
	margin-left: 3em;
	width: 25em;
	height: 5em;
}

div.button {
	display: block;
}

/*
リンク元リスト(Month/Latestモード)の設定
*/
div.referer {
	text-align: center;
	font-size: small;
	padding: 10px 8px;
	margin: 0px;
	background-image: url(pettan-yellow.png);
	background-position: left bottom;
	background-repeat: no-repeat;
}

/*
リンク元リスト(Dayモード)の設定
*/
div.refererlist {
	font-size: small;
	text-align: left;
	padding: 10px 8px;
	background-image: url(pettan-yellow.png);
	background-position: left bottom;
	background-repeat: no-repeat;
	background-color: transparent;
}

/*
リンク元リスト一覧の設定
*/
div.refererlist ul {
	margin-top: 3px;
}

/*
罫線の設定
*/
hr {
	border-style: none;
}

/*
日々の日記のセパレータに使われる罫線の設定
*/
hr.sep {
	display: none;
}

/*
フッタの設定
*/
div.footer {
	font-size: small;
	text-align: left;
}

/*
更新フォーム
*/
div.day.update {
	background-color: #fff;
	padding: 0px;
}

div.day.update div.form div.caption {
	background-image: url(pettan-yellow.png);
	background-position: left top;
	background-repeat: no-repeat;
	background-color: transparent;
	margin: 0px;
	border-style: none;
	padding-left: 20px;
}

div.day.update div.form {
	background-image: url(pettan-yellow.png);
	background-position: right top;
	background-repeat: no-repeat;
	padding: 0px;
}

form.update div {
	padding: 0px;
	margin: 0px 1px;
}

form.update input, form.update textarea, form.commentstat input {
	background-color: #EEE8AA;
	color: #000;
}

form.update span.field {
	display: inline;
	margin-left: 0em;
	margin-right: 0.5em;
}

form.update div.field.title {
	display: block;
	margin-top: 1em;
}
form.update div.field.title input {
	margin-left: 0.5em;
}

form.update div.textarea {
	display: block;
	margin-top: 1em;
}
form.update textarea {
	display: block;
	margin-left: 3em;
	margin-bottom: 1em;
	width: 25em;
	height: 15em;
}

form.update span.checkbox.hidediary {
	margin-left: 1em;
}

/*
ツッコミ状態変更フォーム
*/
div.comment form {
	margin-top: 0em;
}

div.day.conf h2 span.title {
	display: block;
	text-align: left;
	margin: 0px;
	padding-left: 1em;
	background-image: url(pettan-yellow.png);
	background-position: left top;
	background-repeat: no-repeat;
}

div.day.conf div.body {
	padding: 8px;
	background-image: url(pettan-yellow.png);
	background-position: left bottom;
	background-repeat: no-repeat;
}
div.conf.day textarea {
	display: block;
	margin-bottom: 1em;
	width: 30em;
	height: 15em;
}
/*
エラーメッセージ表示の設定
*/
p.message {
	text-align: center;
	font-size: medium;
	background-color: #fff;
	width: 66%;
	color: #888;
	padding: 8px;
}

/*
整形済みテキスト(preタグ)の設定
*/
pre {
	margin-left: 2em;
	margin-right: 1em;
	padding: 8px;
	background-color: #fff;
	border-left: 5px solid #DAA520;
}

/*
引用(blockquoteタグ)の設定
*/
div.body blockquote {
	border-style: solid;
	border-color: #fff;
	border-width: 2px;
	margin-left: 2em;
	padding: 4px 4px 4px 4px;
	background-color: #DAA520;
	color: #fff;
}
div.body blockquote p {
	margin: 0.5em 0em 0.5em 0em;
}
/*
引用ソースの表示
*/
p.source{
	margin-top: 0em;
	margin-right: 1.5em;
	text-align: right;
	font-size:90%;
}
/*
箇条書きの設定
*/
div.body ul, div.body ol {
	margin-left: 4em;
	margin-right: 3em;
}

/*
項目リストの設定
*/
div.body dl {
	margin-left: 5em;
}

div.body dt {
	margin-bottom: 0.2em;
	font-weight: bold;
}

div.body dd {
	margin: 0em 3em 0.5em 1em;
}

/*
 いくつかのメジャーなプラグイン対応
*/

/* recent_list */
p.recentitem {
	font-size: x-small;
	margin-top: 0px;
	margin-bottom: 0px;
        
}

div.recentsubtitles {
	font-size: x-small;
	margin-top: 0px;
	margin-bottom: 1em;
	margin-left: 0.5em;
        padding-bottom: 0px;
}

/*
サイドバー関連
*/
div.main {
	margin-left: 18%;
}

div.sidebar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 18%;
	padding: 2px 2px 100% 2px;
	padding-top: 0.5em;
        /*border-right: 1px solid #880;*/
	background-color: #fff;
}

div.sidebar p {
	line-height: 120%;
	text-align: center;
	margin: 2px 4px 2px 4px;
	border-bottom: 1px solid #880;
}

/* calendar2 */
table.calendar {
	font-size: x-small;
	line-height: 1.1em;
	margin: 2px auto;
}

table.calendar td {
	text-align: right;
}

table.calendar td.calendar-prev-month, table.calendar td.calendar-current-month, table.calendar td.calendar-next-month {
	text-align: center;
}

/* footnote */
div.body span.footnote {
	vertical-align: super;
	font-size: xx-small;
}

div.body div.footnote {
	font-size: x-small;
	padding: 0px;
	border-top: 1px solid #BDB76B;
	margin: 0px 10%;
}

/* calendar3 */
.calendar-popup {
        display: none;
        position: absolute;
	padding: 0 1ex 0 1ex;
	font-size: small;
}

.calendar-day a{
	font-weight: normal;
}

.calendar-sunday {
	color: #DA70D6;
}

.calendar-saturday {
	color: #1E90FF;
}

.calendar-weekday {
	color: #555555;
}
.calendar-todo {
	border-style: dashed;
	border-color: #fff;
	border-width: 1px;
}
div.rank {
        font-size: small;
}
