質問編集履歴
1
base.cssの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -91,7 +91,8 @@
|
|
91
91
|
|
92
92
|
```
|
93
93
|
|
94
|
-
```
|
94
|
+
```css
|
95
|
+
//css/3-3-77p-b.css
|
95
96
|
@charset "utf-8";
|
96
97
|
body {
|
97
98
|
background-image:url(../images/bk2.gif);
|
@@ -130,4 +131,111 @@
|
|
130
131
|
footer {
|
131
132
|
clear:both;
|
132
133
|
}
|
134
|
+
```
|
135
|
+
|
136
|
+
```css
|
137
|
+
//base.css
|
138
|
+
@charset "utf-8";
|
139
|
+
/*ページの基本デザイン*/
|
140
|
+
body {
|
141
|
+
margin: 0;
|
142
|
+
padding: 0;
|
143
|
+
font-family: "メイリオ", Meiryo, "MS Pゴシック", Osaka, sans-serif;
|
144
|
+
color: #666;
|
145
|
+
}
|
146
|
+
h1 {
|
147
|
+
margin: 0;
|
148
|
+
font-family: Arial, Helvetica, sans-serif;
|
149
|
+
font-size: 48px;
|
150
|
+
font-weight: normal;
|
151
|
+
}
|
152
|
+
h2 {
|
153
|
+
margin: 0;
|
154
|
+
font-size: 110%;
|
155
|
+
}
|
156
|
+
h3 {
|
157
|
+
margin: 0;
|
158
|
+
font-size: 90%;
|
159
|
+
}
|
160
|
+
p {
|
161
|
+
margin: 0;
|
162
|
+
font-size: 90%;
|
163
|
+
line-height: 1.6;
|
164
|
+
}
|
165
|
+
address {
|
166
|
+
font-style: normal;
|
167
|
+
text-align: center;
|
168
|
+
font-size: 90%;
|
169
|
+
}
|
170
|
+
a {
|
171
|
+
color: #01b2a8;
|
172
|
+
text-decoration: none;
|
173
|
+
}
|
174
|
+
article p img {
|
175
|
+
background-color: #fff;
|
176
|
+
padding: 5px;
|
177
|
+
border: 1px solid #ccc;
|
178
|
+
float: left;
|
179
|
+
margin-right: 5px;
|
180
|
+
}
|
181
|
+
article {
|
182
|
+
padding: 5px;
|
183
|
+
border: solid 1px #ccc;
|
184
|
+
margin: 10px;
|
185
|
+
min-height: 150px;
|
186
|
+
zoom: 1;
|
187
|
+
}
|
188
|
+
article:after {
|
189
|
+
content: ".";
|
190
|
+
display: block;
|
191
|
+
height: 0;
|
192
|
+
clear: both;
|
193
|
+
visibility: hidden;
|
194
|
+
}
|
195
|
+
nav ul {
|
196
|
+
font-family: Arial, Helvetica, sans-serif;
|
197
|
+
letter-spacing: 2px;
|
198
|
+
margin: 0;
|
199
|
+
padding: 0;
|
200
|
+
list-style-type: none;
|
201
|
+
text-align: right;
|
202
|
+
}
|
203
|
+
nav ul li {
|
204
|
+
display: inline-block;
|
205
|
+
padding: 0 5px;
|
206
|
+
border-left: 1px solid #037d77;
|
207
|
+
}
|
208
|
+
nav ul li:first-child {
|
209
|
+
border-left: none;
|
210
|
+
}
|
211
|
+
nav ul li#now a {
|
212
|
+
color: #037d77;
|
213
|
+
font-weight: bold;
|
214
|
+
}
|
215
|
+
|
216
|
+
|
217
|
+
aside h2 {
|
218
|
+
font-size: 90%;
|
219
|
+
margin-top:5px;
|
220
|
+
}
|
221
|
+
aside ul {
|
222
|
+
list-style-type:none;
|
223
|
+
font-size:90%;
|
224
|
+
margin:0;
|
225
|
+
padding:0;
|
226
|
+
line-height:1.5;
|
227
|
+
}
|
228
|
+
aside ul li {
|
229
|
+
padding-left:15px;
|
230
|
+
background-image:url(../images/ico-s.gif);
|
231
|
+
background-repeat:no-repeat;
|
232
|
+
background-position:left center;
|
233
|
+
}
|
234
|
+
ad {
|
235
|
+
margin-top:10px;
|
236
|
+
}
|
237
|
+
ad img {
|
238
|
+
border:0;
|
239
|
+
}
|
240
|
+
コード
|
133
241
|
```
|