-
Notifications
You must be signed in to change notification settings - Fork 1
/
my_style.css
executable file
·393 lines (371 loc) · 7.82 KB
/
my_style.css
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* ここにcssを書いてみましょう */
div, aside, footer {
border-radius: 20px;
}
#wrap {/*全体の幅とかを決めとく*/
width: 1000px;
margin: 20px auto;
border-radius: 4px;
overflow: hidden;
}
#header {
background-color: white;
overflow: hidden;
}
#header h1 {/*丸文字でかわいく*/
text-align: left;
font-size: 750%;
font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
font-weight: bold;
color: Hotpink;
/*テキストシャドウ*/
text-shadow: -2px -2px darkred, 2px -2px darkred, -2px 2px darkred, 2px 2px darkred;;
height: 400px;
background-image: url(cat.jpg);/*どやぁ!と言わんばかりの肉球。画像の編集ができるようになったらもうちょっと横長にしたい*/
background-size: 100%;
/*ボックスシャドウ*/
box-shadow:rgba(113, 135, 164, 0.65098) 0px 0px 6px 3px;
-webkit-box-shadow:rgba(113, 135, 164, 0.65098) 0px 0px 6px 3px;
-moz-box-shadow:rgba(113, 135, 164, 0.65098) 0px 0px 6px 3px;
}
#header nav#global {
margin-top: 20px;
margin-bottom: 100px;
}
#header nav#global ul {
float: left;
}
#header nav#global ul li {
display: inline;
}
#header nav#global ul li a {
float: left;
padding: 0px 25px;
line-height: 50px;
font-size: 100%;
font-weight: bold;
text-decoration: none;
color: darkred;
/*テキストシャドウ*/
text-shadow: HotPink 0 0 3px;
border: Hotpink solid 10px;
border-radius: 20px;
}
#header nav#global ul li a:nth-child(1) {/*左側だけバーなくす*/
border-left: white solid 10px;
}
#about {
padding: 10px 10px 0 10px;
margin-top: 15px;
}
#about ol li {
float: left;
display: inline;
height: 250px;
width: 300px;
/*グラデーション*/
background-image: -moz-linear-gradient(top, #ffffff, #ff45c8);
background-image: -ms-linear-gradient(top, #ffffff, #ff45c8);
background-image: -o-linear-gradient(top, #ffffff, #ff45c8);
background-image: -webkit-linear-gradient(top, #ffffff, #ff45c8);
background-image: linear-gradient(top, #ffffff, #ff45c8);
/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
border-radius: 60px 10px 10px 10px;
}
#about ol li:nth-child(2) {/*真ん中のボックスだけ左右にmarginつける*/
margin: 0 20px;
}
#about ol li h2 {
font-size: 20px;
font-weight: bold;
float: left;
line-height: 20px;
width: 85px;
}
#about ol li p {
float: left;
padding: 0 0 0 10px;
width: 190px;
margin: 0 0 1.2em 0;
line-height: 1.4;
}
#body {
clear: both;
padding: 10px 10px 0 10px;
overflow: hidden;
*zoom: 1;
}
#main {
float: left;
width: 1000px;
}
#main h2 {
font-size: 30px;
font-weight: bold;
line-height: 2;
padding: 0 0 4px 0;
margin: 0 0 10px 0;
border-bottom: darkred solid 2px;
}
#main .breadcrumbs {
padding: 15px 0 20px 0;
}
#main .breadcrumbs ol li {
display: inline;
font-size: 100%;
}
#main .breadcrumbs ol li a {
text-decoration: none;
}
#main .breadcrumbs ol li a:after {
content: " >> ";
}
aside#comments {
float: left;
width: 200px;
background-color: pink;
padding: 10px;
}
aside#comments h3 {
line-height: 30px;
font-size: 100%;
font-weight: bold;
border-bottom: darkred solid 2px;
}
aside#comments ul li {
display: block;
padding: 10px 0;
border-bottom: darkred solid 1px;
}
aside#comments ul li p {
line-height: 1.3;
font-size: 93%;
margin: 0 0 6px 0;
}
aside#comments ul li dl {
color: #000000;
font-size: 77%;
}
aside#comments ul li dl dt {
/*display: inline;*/
}
aside#comments ul li dl dd {
display: inline;
}
#articles {
width: 750px;
float: right;
padding: 0 10px;
background-color: pink;
}
#articles article {
border-radius: 4px;
padding: 18px 16px;
margin: 0 0 20px 0;
}
#articles article header {
border-bottom: darkred solid 1px;
padding: 0 0 4px 0;
}
#articles article header h3 {
font-size: 150%;
font-weight: bold;
line-height: 1.2;
margin: 0 0 6px 0;
}
#articles article header .date {
font-size: 93%;
}
#articles article .body {
padding: 10px 0 0 0;
}
#articles article .body p {
font-size: 108%;
margin: 0 0 1.4em 0;
line-height: 1.7;
}
#articles article .body h4 {
font-size: 138.5%;
font-weight: bold;
margin: 0 0 0.8em 0;
padding: 2px 0 2px 8px;
border-left: 6px solid darkred;
border-bottom: 3px solid darkred;
}
#articles article .body h5 {
font-size: 123.1%;
font-weight: bold;
margin: 0 0 0.8em 0;
border-left: 6px solid darkred;
border-bottom: 3px solid darkred;
}
#articles article .body h6 {
font-size: 108%;
font-weight: bold;
margin: 0 0 0.8em 0;
border-left: 6px solid darkred;
border-bottom: 3px solid darkred;
}
#articles article .body h6:before {
content: "\002606"
margin: 0 4px 0 0;
}
#articles article .body strong {
font-weight: bold;
color: darkred;
}
#articles article .body ul {
list-style: circle;
margin: 0 0 1.4em 2em;
}
#articles article .body ol {
list-style: decimal;
margin: 0 0 1.4em 2em;
}
#articles article .body li {
line-height: 1.6;
margin: 0 0 0.6em 0;
}
#articles article .body table {
margin: 0 0 1.4em 0;
}
#articles article .body table th,
#articles article .body table td {
padding: 8px 12px;
border: darkred solid 1px;
}
#articles article .body table th {
background: deeppink;
text-align: center;
font-weight: bold;
}
#articles article footer {
padding: 18px 0 0 0;
}
#articles article footer dl {
text-align: right;
color: #000000;
}
#articles article footer dl dt {
/*display: inline;*/
}
#articles article footer dl dd {
font-weight: bold;
text-decoration: underline;
}
#sub {
clear: both;
/*float: right;*/
width: 1000px;
padding: 20px;
}
#sub .ad {
background: Fuchsia;
height: 100px;
border-radius: 4px;
margin: 0 0 10px 0;
}
#sub nav#local ul {
margin: 0 0 10px 0;
}
#sub nav#local ul li {
display: inline;
}
#sub nav#local ul li a {
color: white;
display: inline-block;
background: purple;
line-height: 20px;
padding: 20px 8px 4px;
border-top: darkred solid 1px;
border-left: darkred solid 1px;
border-right: darkred solid 1px;
text-align: center;
text-decoration: none;
}
#footer {
background: DarkOrchid;
-webkit-box-shadow: black 0px 1px 2px inset;
-moz-box-shadow: black 0px 1px 2px inset;
box-shadow: black 0px 1px 2px inset;
padding: 20px 0;
color: white;
}
#footer nav {
text-align: center;
padding: 0;
}
#footer nav ul li {
display: inline;
}
#footer nav ul li a {
color: white;
margin: 0 6px;
}
#footer nav ul li a:link {
text-decoration: none;
line-height: 1.5;
}
#footer nav ul li a:visited {
text-decoration: none;
color: black;
}
#footer nav ul li a:hover {
text-decoration: underline;
color: darkblue;
}
#footer nav ul li a:active {
text-decoration: underline;
color: #93e0ff;
}
#footer .copyright {
text-align: center;
line-height: 2;
}