Biomod/2012/TeamJapan/Sendai/Header: Difference between revisions
(New page: <div style="padding: 10px; border: 5px solid #333333;"> <html> <style rel="stylesheet" type="text/css"> .clear {clear:both;} #verticalmenu { /*this .CSS is inspired by http://w...) |
No edit summary |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | |||
{ | |||
margin:0; | |||
padding:0; | |||
} | |||
body { | |||
margin: 0; | |||
color: #333; | |||
text-align: center; | |||
background-color: #FDFDFD; | |||
background-image: url(img/back01.jpg); | |||
background-position: top; | |||
background-repeat: repeat-x; | |||
} | } | ||
/* 文字サイズ */ | |||
#main{} | |||
#menuR,#menuL{ | |||
font-size: 92%; | |||
} | } | ||
p, /* 文章の行間を指定 */ | |||
#contents li, | |||
dl, | |||
dd | |||
{ | |||
line-height: 160%; | |||
} | } | ||
p{ | |||
margin: 0px 0em 1.5em 3px; | |||
} | } | ||
ul,ol,dl{ | |||
margin: 0em 1em 1em 2em; | |||
} | } | ||
. | |||
/* ======================================== .contentswrap 間隔・余白調整用 */ | |||
.contentswrap{ | |||
margin: 0px; | |||
} | } | ||
/* ======================================== #page ページ外枠 */ | |||
#page { | |||
width: 950px; | |||
margin: 0px auto; | |||
text-align: left; | |||
} | } | ||
color: | |||
/* ======================================== #header 画面上部 */ | |||
#header { | |||
height: 75px; | |||
margin: 0px; | |||
border-top: 1px solid #FFFFFF; | |||
color: #FFFFFF; | |||
} | } | ||
#sitename { | |||
margin: 30px 0px 0px; | |||
font-size: 24px; | |||
font-weight: bold; | |||
color: #666666; | |||
} | } | ||
/* ======================================== #menu 上部メニュー */ | |||
#menu { | |||
border-right: 1px solid #CCCCCC; | |||
border-left: 1px solid #CCCCCC; | |||
} | |||
ul.menu_f02{ | |||
height: 30px; | |||
margin: 0px; | |||
border-bottom: 5px solid #333333; | |||
background-color: #0B7A8E; | |||
} | } | ||
ul.menu_f02 li{ | |||
float: left; | |||
border-right: 1px solid #9AA7B6; | |||
display: block; | |||
} | } | ||
# | ul.menu_f02 li a{ | ||
font-size: | height: 20px; | ||
width: 130px; | |||
padding: 10px 0px 0px; | |||
border-bottom: 5px solid #333333; | |||
font-size: 14px; | |||
font-weight: bold; | |||
color: #FFFFFF; | |||
text-decoration: none; | |||
display: block; | |||
text-align: center; | |||
background-color: #0B7A8E; | |||
} | } | ||
ul.menu_f02 li a.nowthis{ | |||
border-bottom: 5px solid #FF6699!important; | |||
} | } | ||
ul.menu_f02 li a:hover , ul.menu_f01 li a.nowthis{ | |||
padding: 10px 0px 0px; | |||
border-bottom: 5px solid #D3FBFE; | |||
color: #FFFFFF; | |||
background-color: #1DAFD3; | |||
# | |||
} | } | ||
/* | /* ======================================== #contents 画面中央部 #mainとサイドメニューの外枠 */ | ||
# | #contents{ | ||
padding: 30px 0px 20px; | |||
margin: 0px; | |||
} | } | ||
/* ======================================== #main ページの本文 */ | |||
#main { | |||
float: left; | |||
width: 500px; | |||
margin: 0px 0px 20px; | |||
margin | |||
} | } | ||
# | |||
#main h1 { | |||
padding: 0px; | |||
margin: 0px; | |||
color: #0B7A8E; | |||
} | } | ||
# | |||
#main h2 { | |||
clear: both; | |||
padding: 3px 0px 3px 5px; | |||
margin: 2em 0px 1em; | |||
border-left: 10px solid #F4CC0B; | |||
font-size: 120%; | |||
background-color: #F6F6F6; | |||
} | } | ||
# | |||
color: # | |||
#main h3 { | |||
margin: 0px 0px 0.5em 3px; | |||
font-size: 100%; | |||
color: #336699; | |||
} | } | ||
# | |||
/* ======================================== menuL 左サイドメニュー */ | |||
#menuL { | |||
float: left; | |||
width: 200px; | |||
margin: 0px 20px 20px 0px; | |||
background-color: #F6F6F6; | |||
} | } | ||
# | #menuL p{ | ||
margin-right: 1em; | |||
margin-left: 1em; | |||
} | } | ||
# | |||
/* ======================================== menuL 右サイドメニュー */ | |||
#menuR { | |||
float: right; | |||
width: 200px; | |||
margin: 0px 0px 20px; | |||
background-color: #F6F6F6; | |||
} | } | ||
# | |||
#menuR p{ | |||
margin-right: 1em; | |||
margin-left: 1em; | |||
} | } | ||
/* ======================================== #underNavi 画面下部サブナビゲーション */ | |||
#underNavi{ | |||
clear: both; | |||
margin: 0px; | |||
border-top: 1px solid #999999; | |||
text-align: center; | |||
} | |||
/* | |||
# | /* ======================================== #footer 画面下部 */ | ||
#footer { | |||
padding: 10px 0px; | |||
border-top: 5px solid #CCCCCC; | |||
color: #FFFFFF; | |||
text-align: center; | |||
background-color: #0B7A8E; | |||
} | } | ||
Line 323: | Line 245: | ||
/* | /* ======================================== #templatelink 画面下部:著作リンク */ | ||
#templatelink { | |||
padding: 3px 0px; | |||
margin: 0px 0px 5px; | |||
font-size: 14px; | |||
text-align: right; | |||
} | } | ||
#templatelink a{ | |||
color: #336699; | |||
text-decoration: none; | |||
} | |||
/* ======================================== そのほか個別設定 */ | |||
.title{ | |||
padding: 0px 0px 0px 10px; | |||
margin: 0px 0px 20px; | |||
border-left: 30px solid #F4CC0B; | |||
} | } | ||
.label{ | |||
padding: 7px 5px 5px 10px; | |||
margin: 0px 0px 10px; | |||
border-left: 10px solid #F4CC0B; | |||
font-weight: bold; | |||
color: #FFFFFF; | |||
background-color: #0B7A8E; | |||
} | } | ||
.subh { | |||
padding: 5px 0px 0px 3px; | |||
margin: 0px; | |||
border-top: 1px dashed #999999; | |||
font-weight: bold; | |||
color: #4A8854; | |||
} | } | ||
.photo { | |||
margin: 0px 0px 20px; | |||
} | } | ||
.toInfo { | |||
margin: 0px 0px 1em; | |||
text-align: right; | |||
list-style-type: none; | |||
} | } | ||
.boxL { | |||
float: left; | |||
height: 160px; | |||
width: 245px; | |||
margin: 0px 0px 15px; | |||
font-size: 92%; | |||
background-color: #EBF0F3; | |||
} | } | ||
.boxR { | |||
float: right; | |||
height: 160px; | |||
width: 245px; | |||
margin: 0px 0px 15px; | |||
font-size: 92%; | |||
background-color: #EBF0F3; | |||
} | } | ||
.boxL p, .boxR p{ | |||
margin: 10px !important; | |||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 00:35, 7 August 2012
<html>
<style type="text/css">
{ margin:0; padding:0; }
body { margin: 0; color: #333; text-align: center; background-color: #FDFDFD; background-image: url(img/back01.jpg); background-position: top; background-repeat: repeat-x; }
/* 文字サイズ */
- main{}
- menuR,#menuL{
font-size: 92%; }
p, /* 文章の行間を指定 */
- contents li,
dl, dd { line-height: 160%; }
p{ margin: 0px 0em 1.5em 3px; }
ul,ol,dl{
margin: 0em 1em 1em 2em;
}
/* ======================================== .contentswrap 間隔・余白調整用 */ .contentswrap{ margin: 0px; }
/* ======================================== #page ページ外枠 */
- page {
width: 950px; margin: 0px auto; text-align: left; }
/* ======================================== #header 画面上部 */
- header {
height: 75px; margin: 0px; border-top: 1px solid #FFFFFF; color: #FFFFFF; }
- sitename {
margin: 30px 0px 0px; font-size: 24px; font-weight: bold; color: #666666; }
/* ======================================== #menu 上部メニュー */
- menu {
border-right: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; }
ul.menu_f02{
height: 30px;
margin: 0px;
border-bottom: 5px solid #333333;
background-color: #0B7A8E;
}
ul.menu_f02 li{
float: left;
border-right: 1px solid #9AA7B6;
display: block;
}
ul.menu_f02 li a{
height: 20px;
width: 130px;
padding: 10px 0px 0px;
border-bottom: 5px solid #333333;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
display: block;
text-align: center;
background-color: #0B7A8E;
}
ul.menu_f02 li a.nowthis{
border-bottom: 5px solid #FF6699!important;
}
ul.menu_f02 li a:hover , ul.menu_f01 li a.nowthis{
padding: 10px 0px 0px;
border-bottom: 5px solid #D3FBFE;
color: #FFFFFF;
background-color: #1DAFD3;
}
/* ======================================== #contents 画面中央部 #mainとサイドメニューの外枠 */
- contents{
padding: 30px 0px 20px; margin: 0px; }
/* ======================================== #main ページの本文 */
- main {
float: left; width: 500px; margin: 0px 0px 20px; }
- main h1 {
padding: 0px; margin: 0px; color: #0B7A8E; }
- main h2 {
clear: both; padding: 3px 0px 3px 5px; margin: 2em 0px 1em; border-left: 10px solid #F4CC0B; font-size: 120%; background-color: #F6F6F6; }
- main h3 {
margin: 0px 0px 0.5em 3px; font-size: 100%; color: #336699; }
/* ======================================== menuL 左サイドメニュー */
- menuL {
float: left; width: 200px; margin: 0px 20px 20px 0px; background-color: #F6F6F6; }
- menuL p{
margin-right: 1em; margin-left: 1em; }
/* ======================================== menuL 右サイドメニュー */
- menuR {
float: right; width: 200px; margin: 0px 0px 20px; background-color: #F6F6F6; }
- menuR p{
margin-right: 1em; margin-left: 1em; }
/* ======================================== #underNavi 画面下部サブナビゲーション */
- underNavi{
clear: both; margin: 0px; border-top: 1px solid #999999; text-align: center; }
/* ======================================== #footer 画面下部 */
- footer {
padding: 10px 0px; border-top: 5px solid #CCCCCC; color: #FFFFFF; text-align: center; background-color: #0B7A8E; }
/* ======================================== #templatelink 画面下部:著作リンク */
- templatelink {
padding: 3px 0px; margin: 0px 0px 5px; font-size: 14px; text-align: right; }
- templatelink a{
color: #336699; text-decoration: none; }
/* ======================================== そのほか個別設定 */ .title{ padding: 0px 0px 0px 10px; margin: 0px 0px 20px; border-left: 30px solid #F4CC0B; }
.label{
padding: 7px 5px 5px 10px;
margin: 0px 0px 10px;
border-left: 10px solid #F4CC0B;
font-weight: bold;
color: #FFFFFF;
background-color: #0B7A8E;
}
.subh { padding: 5px 0px 0px 3px; margin: 0px; border-top: 1px dashed #999999; font-weight: bold; color: #4A8854; }
.photo {
margin: 0px 0px 20px;
}
.toInfo {
margin: 0px 0px 1em;
text-align: right;
list-style-type: none;
}
.boxL {
float: left;
height: 160px;
width: 245px;
margin: 0px 0px 15px;
font-size: 92%;
background-color: #EBF0F3;
}
.boxR {
float: right;
height: 160px;
width: 245px;
margin: 0px 0px 15px;
font-size: 92%;
background-color: #EBF0F3;
}
.boxL p, .boxR p{ margin: 10px !important; } </style> </html>