Joomlaのテンプレート作成用のシンプルな土台 その3

 Joomlaのテンプレート作成用のシンプルな土台Joomlaのテンプレート作成用のシンプルな土台 その2の続きで、template.cssの中身。cssファイルの規定は無いので、こちらは参考程度に。テンプレートを使った時に出てくる id名 や class名を見ながら、cssにフォントや色等をすれば好みのものをフルスクラッチできます。

/*
	Theme Name: Simple template
	Description: Simple is template for Joomla 1.5.
	Version: 0.0.1
	Author: alifedesign.net
	Author URI: http://alifedesign.net/
*/

/* Reset
-------------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 76%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.7;
	margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0.5em 0;
}
h1, .componentheading {	font-size: 1.7em; }
h2, .contentheading { font-size: 1.5em;}
h3 { font-size: 1.3em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; font-weight: bold; }

a { text-decoration: none; }
a: hover { text-decoration: underline; }

p, blockquote, form, label, ul, ol, dl, fieldset, address {
	margin: 0.5em 0;
}

li, dd {
	margin-left: 1em;
}

feildset {
	padding: 5em;
}

#wrap {
	border: 1px solid #999;
	min-width: 760px;
	max-width: 960px;
	width:  auto;
	text-align: left;
	margin: 0 auto;
	padding: 10px;
}

#header {
	border-bottom: 1px solid #333;
	padding: 10px;
}

#content {
	float: left;
	width: 60%;
	overflow: hidden;
	padding: 10px;
}

#footer {
	clear: both;
	border-top: 1px solid #333;
}

#sidebar-left, #sidebar-right {
	border: 1px solid #999;
	float: left;
	width: 20%;
	overflow: hidden;
	padding: 10px 0;
}

#footer, .small, .createdate, .modifydate, .mosimage_caption {
	border: 1px solid #999;
	font: 0.8em Arial,Helvetica,sans-serif;
	color: #999;
}

こちらの記事もあわせてどうぞ:

コメントする

メールアドレスを元にアイコンを自動生成する Identiconを使っています。

| カテゴリ:Webツールを使う |