-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.css
More file actions
101 lines (94 loc) · 3.63 KB
/
base.css
File metadata and controls
101 lines (94 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@charset "utf-8";
/*============================================
全般的なスタイル
============================================*/
* {
margin:0; padding:0; /*全要素のマージン・パディングをリセット*/
}
body {
background-color:#cccccc; /*ページ全体の背景色*/
background-image:url("images/base_body.png"); /*ウェブページ全体の背景画像*/
font-size:95%; /* フォントサイズを95%にする */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* フォントの種類をゴシック系にする */
line-height:1.5; /* 行の高さを1.5倍にする */
color:#333333; /* 文字色を濃い目のグレーにする */
}
div#pagebody {
width:1080px; margin:0 auto; /*内容全体をセンタリング*/
background-color:#ebfceb; /*内容全体の背景色*/
background-image:url("images/base_ins.png"); /*コンテンツ全体の背景画像*/
background-repeat:repeat-y; /*背景画像を縦方向に繰り返す*/
}
img {border:0;} /*画像のボーダーを0にする*/
/*============================================
ヘッダ
============================================*/
div#header {
height:100px; /*ヘッダ部分の高さ*/
}
div#header h1 {
padding:10px 0px 30px 40px; /*見出しの位置調整*/
font-size:18px; /*フォントのサイズ*/
font-family:Arial, Helvetica, sans-serif; /*フォントの種類*/
}
div#header h1 a {text-decoration:none;} /*リンクの下線を無くす*/
/* header (home) */
div#header_home {
height: 260px; /*ヘッダ部分の高さ*/
}
div#header_home h1 {
padding:10px 40px 10px 40px; /*見出しの位置調整*/
font-size:18px; /*フォントのサイズ*/
font-family:Arial, Helvetica, sans-serif; /*フォントの種類*/
}
div#header_home h1 a {text-decoration:none;} /*リンクの下線を無くす*/
/*============================================
メインメニュー
============================================*/
ul#main_menu {
width:1000px; height:50px; /*メインメニュー部分の幅と高さ*/
margin:0px 40px; /*上下マージン0px、左右マージン20px*/
}
#main_menu li {
list-style-type:none; /*リストマーカー無しにする*/
display:inline; /*リスト項目をインライン表示にする*/
float:left; /*リスト項目を横に並べる*/
}
#main_menu li a {
background-color:rgb(178, 243, 176); /*背景色*/
color:#1d0800; /*文字色*/
display:block; /*リンク部分をブロック表示にする*/
width:200px; height:35px; /*幅と高さ*/
padding:15px 0px 0px 0px; /*上パディング*/
text-align:center; /*テキストをセンター揃えにする*/
text-decoration:none; /*リンク部分を下線無しにする*/
background-image:url(images/buttion_a1.png); /*背景画像を指定*/
background-repeat:no-repeat; /*背景画像を繰り返さない*/
}
#main_menu li a:hover {
background-image:url(images/buttion_a2.png); /*リンクにマウスが乗ったら背景画像を変更する*/
}
/*============================================
ヘッダ画像
============================================*/
#img_index {
width:1000px; height:280px; /*トップページのヘッダ画像の表示サイズを指定*/
margin: 10px 40px; /*マージン*/
}
#img_index_d {
width:1000px; height:280px; /*トップページのヘッダ画像の表示サイズを指定*/
margin: 10px 0px; /*マージン*/
}
#content {
margin: 30px 40px 10px 40px;
}
/*============================================
フッタ
============================================*/
div#footer {
clear:both; /*回り込みを解除する*/
margin: 20px 40px 40px 40px;
}
iframe {
border: none;
}