質問編集履歴
1
cssコードの表記、写真の詳細とファイル構成について記載しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1 +1,403 @@
|
|
1
|
-
|
1
|
+
```css3
|
2
|
+
|
3
|
+
@charset "utf-8";
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
body {
|
8
|
+
|
9
|
+
margin: 0;
|
10
|
+
|
11
|
+
padding: 0;
|
12
|
+
|
13
|
+
font-size: 20px;
|
14
|
+
|
15
|
+
line-height: 2;
|
16
|
+
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
p,h1,h2,h3,h4,h5,h6 {
|
22
|
+
|
23
|
+
margin-top: 0;
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
img {
|
30
|
+
|
31
|
+
vertical-align: 0;
|
32
|
+
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
ul {
|
38
|
+
|
39
|
+
margin: 0;
|
40
|
+
|
41
|
+
padding: 0;
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
a {
|
48
|
+
|
49
|
+
color: #3583aa;
|
50
|
+
|
51
|
+
text-decoration: none;
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
a:visited {
|
58
|
+
|
59
|
+
color: #788d98;
|
60
|
+
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
a:hover {
|
66
|
+
|
67
|
+
text-decoration: underline;
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
header {
|
74
|
+
|
75
|
+
width: 100%;
|
76
|
+
|
77
|
+
height: 600px;
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
.logo {
|
84
|
+
|
85
|
+
float: left;
|
86
|
+
|
87
|
+
margin: 0 0 0 10px;
|
88
|
+
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
.logo a {
|
94
|
+
|
95
|
+
color: #3583aa;
|
96
|
+
|
97
|
+
font-family: 'Sriracha', cursive;
|
98
|
+
|
99
|
+
font-size: 40px;
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
.global-nav {
|
106
|
+
|
107
|
+
float: right;
|
108
|
+
|
109
|
+
margin: 10px;
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
.global-nav li {
|
116
|
+
|
117
|
+
float: left;
|
118
|
+
|
119
|
+
margin: 0 20px;
|
120
|
+
|
121
|
+
font-size: 30px;
|
122
|
+
|
123
|
+
list-style: none;
|
124
|
+
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
.global-nav li a {
|
130
|
+
|
131
|
+
color: #3583aa;
|
132
|
+
|
133
|
+
font-family: 'Vollkorn', serif;
|
134
|
+
|
135
|
+
}
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
.global-nav li a:hover {
|
140
|
+
|
141
|
+
border-bottom: 2px solid #ffffff;
|
142
|
+
|
143
|
+
padding-bottom: 3px;
|
144
|
+
|
145
|
+
text-decoration: none;
|
146
|
+
|
147
|
+
color: #cccccc;
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
.top {
|
154
|
+
|
155
|
+
clear: both;
|
156
|
+
|
157
|
+
text-align: center;
|
158
|
+
|
159
|
+
padding-top: 150px;
|
160
|
+
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
.topfont{
|
166
|
+
|
167
|
+
stroke: #000;
|
168
|
+
|
169
|
+
fill: #00ffff;
|
170
|
+
|
171
|
+
stroke-width: 2.5;
|
172
|
+
|
173
|
+
stroke-dasharray: 4000;
|
174
|
+
|
175
|
+
stroke-dashoffset: 4000;
|
176
|
+
|
177
|
+
animation: DASH 8s ease-in-out alternate 0s forwards;
|
178
|
+
|
179
|
+
-webkit-animation: DASH 8s ease-in-out alternate 0s forwards;
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
@keyframes DASH {
|
186
|
+
|
187
|
+
0% {
|
188
|
+
|
189
|
+
stroke-dashoffset: 4000;
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
100% {
|
194
|
+
|
195
|
+
stroke-dashoffset: 0;
|
196
|
+
|
197
|
+
}
|
198
|
+
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
@-webkit-keyframes DASH {
|
204
|
+
|
205
|
+
0% {
|
206
|
+
|
207
|
+
stroke-dashoffset: 4000;
|
208
|
+
|
209
|
+
}
|
210
|
+
|
211
|
+
100% {
|
212
|
+
|
213
|
+
stroke-dashoffset: 0;
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
}
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
#portfolio {
|
222
|
+
|
223
|
+
background-image: url(../image/background-a.jpg);
|
224
|
+
|
225
|
+
background-repeat: no-repeat;
|
226
|
+
|
227
|
+
background-position: center top;
|
228
|
+
|
229
|
+
background-attachment: fixed;
|
230
|
+
|
231
|
+
background-size: 100% auto;
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
#wrap {
|
238
|
+
|
239
|
+
clear: both;
|
240
|
+
|
241
|
+
background-color: #ffffff;
|
242
|
+
|
243
|
+
overflow: hidden;
|
244
|
+
|
245
|
+
}
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
#wrap p {
|
250
|
+
|
251
|
+
font-family: "M PLUS Rounded 1c";
|
252
|
+
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
#profile {
|
258
|
+
|
259
|
+
width: auto;
|
260
|
+
|
261
|
+
height: 850px;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
.photo {
|
268
|
+
|
269
|
+
text-align: center;
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
.profile-image {
|
276
|
+
|
277
|
+
width: 300px;
|
278
|
+
|
279
|
+
height: 300px;
|
280
|
+
|
281
|
+
border-radius: 50%;
|
282
|
+
|
283
|
+
overflow: hidden;
|
284
|
+
|
285
|
+
}
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
.introduction {
|
290
|
+
|
291
|
+
width: 80%;
|
292
|
+
|
293
|
+
margin: 0 auto;
|
294
|
+
|
295
|
+
}
|
296
|
+
|
297
|
+
.introduction p {
|
298
|
+
|
299
|
+
font-size: 28px;
|
300
|
+
|
301
|
+
}
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
#skill {
|
306
|
+
|
307
|
+
width: auto;
|
308
|
+
|
309
|
+
height: 850px;
|
310
|
+
|
311
|
+
background-color: #eaeaea;
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
.container {
|
318
|
+
|
319
|
+
margin-top: 150px;
|
320
|
+
|
321
|
+
display: flex;
|
322
|
+
|
323
|
+
flex-direction: row;
|
324
|
+
|
325
|
+
justify-content: center;
|
326
|
+
|
327
|
+
}
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
.item {
|
332
|
+
|
333
|
+
margin:0 20px;
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
h1,h2 {
|
340
|
+
|
341
|
+
text-align: center;
|
342
|
+
|
343
|
+
font-family: 'Oswald', sans-serif;
|
344
|
+
|
345
|
+
font-size: 50px;
|
346
|
+
|
347
|
+
}
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
#works {
|
352
|
+
|
353
|
+
width: 100%;
|
354
|
+
|
355
|
+
height: 850px;
|
356
|
+
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
.works-a {
|
362
|
+
|
363
|
+
margin: 100px 450px;
|
364
|
+
|
365
|
+
width: 450px;
|
366
|
+
|
367
|
+
height: 300px;
|
368
|
+
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
#contact {
|
374
|
+
|
375
|
+
background-color: #eaeaea;
|
376
|
+
|
377
|
+
height: 1000px;
|
378
|
+
|
379
|
+
width: 100%;
|
380
|
+
|
381
|
+
margin: 0 auto;
|
382
|
+
|
383
|
+
}
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
.google {
|
388
|
+
|
389
|
+
padding: 0 26%;
|
390
|
+
|
391
|
+
}
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
footer {
|
396
|
+
|
397
|
+
text-align: center;
|
398
|
+
|
399
|
+
background-color: #696969;
|
400
|
+
|
401
|
+
}
|
402
|
+
|
403
|
+
```ポートフォリオサイトを作り、xfreeでサーバーを借りてffftpでサイトをアップロードしたのですが、写真が途中で切れてしまいます。テキストエディタで表示する時は問題なくうつります。解決方法を教えてもらいたいです。 (追記)実際の写真のサイズは2725 x 1670であり、cssで縦450px、横300pxに設定しています。ファイルのパスはC:\Users\Owner\Documents\web file\imageとなっておりweb fileにcssのフォルダーとhtmlファイルが入っています。 ![イメージ説明](467f86cc209436d4c2bac0ef94685748.png)
|