-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
277 lines (257 loc) · 7.99 KB
/
main.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
@charaset "utf-8";
/* --------------------------------------------------
全体
-------------------------------------------------- */
html,body{ height: 100vh; }
*{ margin: 0; padding: 0; font-family: century,"メイリオ"; font-style: normal; font-weight: normal;}
a{ text-decoration: none; }
header,footer{ width: 100%; min-height: 60px; overflow: hidden;}
footer{ background-color: rgba(66,66,66,0.8); }
header{ margin-top: 0; }
footer address{ width: 60%; text-align: center; margin: 0 auto; height: 25px; color: #eee; }
header h1{
height: 80%;
font-size: 20px;
padding: 10px 20px;
margin: 5px auto 0;
color: rgba(255,255,255,0.8);
background-color: rgba(0,0,0,0.2);
border-radius: 1px;
box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
text-shadow: 1px 1px 3px #000;
}
div ul li img{ float: left; margin-right: 10px; border-radius: 50%; box-shadow: 1px 1px 3px rgba(0,0,0,0.5);}
div.conte ul li,p,#hensyu{
list-style-type: none;
display: block;
margin-bottom: 5px;
padding-left: 15px;
border-radius: 1px;
box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
overflow: hidden;
}
#comment,input[type="submit"]{
height: 30px;
border-radius: 3px;
box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
#comment{width: 60%;}
input[type="submit"]{width: 20%;}
input[type="submit"]:hover {background-color: #efefef;}
div ul li{ padding: 10px; text-align: left; border-radius: 3px; color: rgba(255,255,255,0.8); text-shadow: 1px 1px 3px #000;}
div ul a:link li,a:visited li{
/*アニメーション指定*/
transition-property: background;
transition-duration:0.3s;
transition-timing-function:ease-in-out;
transition-delay:0s;
background-color: rgba(255,100,100,0.5);
}
div ul a:hover li{ box-shadow: 1px 1px 2px rgba(0,0,0,0.5); background-color: rgba(255,100,100,0.8); color: white; }
#todos ul li{ text-align:left; background-color: rgba(100,100,100,0.5); color: #666; text-shadow: 1px 1px 1px #000; }
#hensyu{ overflow: hidden; margin-bottom: 120px; }
/*ボタン*/
#pageback,#pagetop { margin-top: 0; margin-bottom: 0; float: right; }
#pageback a,#pagetop a { display: block; text-align: center; min-height: 16px; padding: 6px 10px;}
.btn01 {
font-size: 70%;
color: #fff;
text-decoration: none;
background-color: rgba(255,255,255,0.5);
box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
display: block;
height: 30px;
line-height: 20px;
border-radius: 5px;
/* ここで動く速度とか設定 */
transition: all 1s ease;
-webkit-transition: all 1s ease;
}
.btn01:hover {
transform: rotateY(720deg);
-webkit-transform: rotateY(720deg);
}
#wrap,#wrap2{ margin-top: 0; height:100vh; width: 100%;}
#wrap{ background:url(pattern.png) 0 0 repeat rgba(100,100,100,0.5); padding-bottom: 100px;}
/* CSSの条件振り分け*/
/*=====================スマホ用============================================*/
@media screen and (max-width: 640px){
h1,h2,nav,article{ width: 90%; font-size: 120%; margin: 0 auto;}
header p{ font-size: 90%;}
header,footer{min-height: 60px; margin-top: 0;}
div ul li{ padding-left: 10px; padding-right: 10px;}
div ul li span{ font-size: 60%; display: inline-block; float:right;margin-right: virticul-align:bottom; 10px; word-break:break-all;}
div ul li img{height: 50px; margin-left: 0; border-radius: 40%;}
#todos ul li{font-size:80%; text-shadow: 0px 0px 0px #000; }
.dropmenu li{ width: 100%; margin: 2px auto;}
.tatamu{z-index: 99999;position: fixed; top: 0px; visibility: visible;}
}
/*=====================タブレット用============================================*/
@media screen and (min-width: 640px) {
h1,h2,nav,article{ width: 80%; font-size: 130%; margin: 0 auto;}
div ul li span{ font-size: 70%; display: inline-block; float: right; margin-right: 10px; word-break:break-all;}
.dropmenu li{ width: 25%; margin: 0 auto;}
}
/*=====================PC用============================================*/
@media screen and (min-width: 768px) {
body{
background:url(slide/tukuezima.jpg),
url(slide/slide1.jpg),
url(slide/slide2.jpg),
url(slide/slide3.jpg),
url(slide/slide4.jpg);
background-size:cover;
background-repeat: no-repeat;
background-position: center bottom;
background-attachment:fixed;
animation: anime1 60s ease-in-out 1s infinite normal;
}
@keyframes anime1 {
0%,90% { background:url(slide/tukuezima.jpg);}
18% { background:url(slide/slide1.jpg);}
38% { background:url(slide/slide2.jpg);}
58% { background:url(slide/slide3.jpg);}
78% { background:url(slide/slide4.jpg);}
0%,90%,18%,38%,58%,78%{
background-size:cover;
background-repeat: no-repeat;
background-position: center bottom;
background-attachment:fixed;}
}
header{margin-top: 0; background-color: rgba(255,255,255,0.1); box-shadow: 1px 1px 2px rgba(0,0,0,0.5);}
#hensyu,p,#todos ul li { background-color: rgba(255,255,255,0.8);}
h1,h2,nav,article{ width: 60%; font-size: 120%; margin: 0 auto;}
div ul li span{ font-size: 80%; display: block; float: right; margin-right: 10px; word-break:break-all;}
.dropmenu li{ width: 25%; margin: 0 auto;}
}
/*=====================ここまで============================================*/
body{ position: relative;}
footer{ position: fixed; left: 0; bottom:0; }
label{
cursor: pointer;
cursor: hand;
}
.conte img{max-width: 100%; max-height: 100%;}
.f-left{float: left;}
.f-right{float: right;}
.left{text-align: left;}
.mr0{ margin-right: 0;}
.mr5{ margin-right: 5px;}
.mr10{ margin-right: 10px;}
.mr15{ margin-right: 15px;}
/*=====================埋め込みフォント============================================*/
.jun {font-family: "a-otf-jun-pro";}
.singo{font-family: "a-otf-ud-shin-go-pr6n";}
.ryumin{font-family: "a-otf-ryumin-pr6n";}
.midashi-go{font-family: "a-otf-midashi-go-mb31-pr6n";}
.midashi-mi{font-family: "a-otf-midashi-mi-ma31-pr6n";}
.tk-futura-pt-condensed{font-family: "futura-pt-condensed";}
.tk-futura-pt{font-family: "futura-pt";}
/*=====================ロード画面============================================*/
#loader {
text-align: center;
font-size: 90%;
width: 100%;
height: 50%;
display: none;
position: fixed;
_position: absolute; /* IE6対策 */
top: 50%;
left: 0%;
margin-top: -XXpx; /* heightの半分のマイナス値 */
margin-left: -XXXpx; /* widthの半分のマイナス値 */
z-index: 100;
}
#fade {
width: 100%;
height: 100vh;
display: none;
background-color: rgba(255,255,255,0.5);
position: absolute;
top: 0px;
left: 0px;
z-index: 50;
}
/*===================== たためるメインメニュー============================================ */
.dropmenu{
*zoom: 1;
list-style-type: none;
margin: 5px auto 30px;
padding: 0;
}
.dropmenu:before, .dropmenu:after{
content: "";
display: table;
}
.dropmenu:after{
clear: both;
}
.dropmenu li{
position: relative;
float: left;
padding: 0;
text-align: center;
}
.dropmenu li a{
display: block;
margin: 0;
padding: 15px 0 11px;
background: rgba(255,255,255,0.8);
color: #fff;
font-size: 14px;
line-height: 1;
text-decoration: none;
}
.dropmenu li ul{
list-style: none;
position: absolute;
z-index: 9999;
top: 100%;
left: 0;
margin: 0;
padding: 0;
}
.dropmenu li ul li{
width: 100%;
}
.dropmenu li ul li a{
padding: 13px 15px;
border-top: 1px solid #7c8c0e;
background: rgba(255,255,255,0.8);
text-align: left;
}
.dropmenu li:hover > a{
background: rgba(255,255,255,0.8);
}
.dropmenu li a:hover{
background: rgba(255,255,255,0.1);
}
/*上から回転してあらわれる*/
#flip2 { position: relative; z-index: 2; }
#flip2 li ul {
visibility: hidden;
perspective: 400px;
}
#flip2 li:hover ul{
visibility: visible;
}
#flip2 ul li{
transform: rotateY(90deg);
transform-origin: 50% 0;
transition: .3s;
}
#flip2 li:hover li{
transform: rotateY(0);
}
#flip2 ul li:nth-child(2) {
transition-delay: .1s;
}
#flip2 ul li:nth-child(3) {
transition-delay: .2s;
}
#flip2 ul li:nth-child(4) {
transition-delay: .3s;
}
#flip2 ul li:nth-child(5) {
transition-delay: .4s;
}