-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaba.css
269 lines (260 loc) · 6.11 KB
/
baba.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
body{
backgroud: #ffffff;
}
a{
color: #ffddff;
font-size:30px;
}
.main{
color: #ffddff;
font-size:30px;
}
h1 {
background: linear-gradient(transparent 70%, #a7d6ff 70%);
}
.canvas {
background-image:
linear-gradient(lightblue, white 50%);
}
h2 {
text-align: center;
}
h2 span{
position: relative;
display: inline-block;
padding-bottom:0.5em;
border-bottom: 1px solid black;
}
h2 span::before,
h2 span::after {
position: absolute;
top: 100%;
left:50%;
transform:translateX(-50%);
content: '';
border: 10px solid transparent;
}
h2 span::before {
border-top: 10px solid black;
}
h2 span::after {
margin-top: -1px;
border-top: 10px solid white;
}
.btn{
display: inline-block;
text-decoration: none;
color: rgba(152, 152, 152, 0.43);/*アイコン色*/
width: 80px;
height: 80px;
line-height: 80px;
font-size: 40px;
border-radius: 50%;
text-align: center;
vertical-align: middle;
overflow: hidden;
font-weight: bold;
background-image: -webkit-linear-gradient(#e8e8e8 0%, #d6d6d6 100%);
background-image: linear-gradient(#e8e8e8 0%, #d6d6d6 100%);
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
border-bottom: solid 2px #b5b5b5;
}
.btn .fa {
line-height: 80px;
}
.btn:active {/*押したとき*/
background-image: -webkit-linear-gradient(#efefef 0%, #d6d6d6 100%);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
border-bottom: none;
}
.fl_tw {
text-decoration: none;
display: inline-block;
text-align: center;
color: #1da1f3;
font-size: 25px;
text-decoration: none;
}
.fl_tw:hover {
color:#88daff;
transition: .5s;
}
.fl_tw .twicon{
border-radius: 10px;
position: relative;
display: inline-block;
width: 50px;
height: 50px;
font-size: 35px;
line-height: 50px;
vertical-align: middle;
color: #FFF;
background: #1da1f3;
}
.fl_tw .twicon .fa {
line-height: 50px;
}
.btn1{
display: inline-block;
text-decoration: none;
background: #87befd;
color: #FFF;
width: 120px;
height: 120px;
line-height: 120px;
border-radius: 50%;
text-align: center;
vertical-align: middle;
overflow: hidden;
transition: .4s;
}
.btn1:hover{
background: #668ad8;
}
.btn2{
display: inline-block;
text-decoration: none;
background: #8cd460;
color: rgba(255, 255, 255, 0.47);
font-weight: bold;
width: 120px;
height: 120px;
line-height: 120px;
border-radius: 50%;
text-align: center;
vertical-align: middle;
overflow: hidden;
box-shadow: 0px 0px 0px 5px #8cd460;
border: solid 2px rgba(255, 255, 255, 0.47);
transition: .4s;
}
.btn2:hover{
border-style: dashed;
}
a.bt-samp28{
font-family:'Mv Boli', cursive;
display: block;
text-decoration: none;
height:35px;
width: 120px;
line-height: 37px;
text-align: center;
color: #cbbe9c;
background-color:#fff;
background:-webkit-gradient(linear, left bottom, left top, color-stop(0.50, #f4f3f2),color-stop(0.50, #fcfcfa));
-webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
-webkit-border-radius:5px;
overflow: hidden;
}
a.bt-samp28 span{
display:block;
background-image: -webkit-linear-gradient(45deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%),
-webkit-linear-gradient(-135deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%);
-webkit-background-size: 20px 20px;
background-position: 0 0, 10px 10px;
}
a.bt-samp28:active{
-ms-transform: translateY(2px);
-webkit-transform: translateY(2px);
transform: translateY(2px);
box-shadow: none;
}
a.bt-samp56{
display: block;
height: 100px;
width: 180px;
font-family: 'Franklin Gothic Medium', sans-serif;
font-size: 25px;
font-weight: bold;
color: #FFF;
padding-top: 70px;
text-align: center;
text-shadow: 0 0 10px #f28f8f, 0 0 5px #f28f8f, 0 0 3px #f28f8f, 0 0 2px #f28f8f;
box-shadow: 0px 0px 30px 0px #f28f8f inset, 0px 0px 8px 0px rgba(0,0,0,0.3);
border-radius: 200px 240px 210px 150px;
background-color: #ffdfdf;
background-image: -webkit-linear-gradient(45deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%),
-webkit-linear-gradient(-135deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%);
background-image: linear-gradient(45deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%),
linear-gradient(-135deg, #fff 25%, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff 75%);
-webkit-background-size: 60px 60px;
background-size: 60px 60px;
background-position: 0 0, 30px 30px;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
a.bt-samp56:hover{
background-position: top;
cursor: pointer;
border-radius: 5px;
}
@import url(https://fonts.googleapis.com/css?family=Lato:900);
*, *:before, *:after{
box-sizing:border-box;
}
body{
font-family: 'Lato', sans-serif;
}
div.foo{
width: 90%;
margin: 0 auto;
text-align: center;
}
.letter{
display: inline-block;
font-weight: 900;
font-size: 8em;
margin: 0.2em;
position: relative;
color: #00B4F1;
transform-style: preserve-3d;
perspective: 400;
z-index: 1;
}
.letter:before, .letter:after{
position:absolute;
content: attr(data-letter);
transform-origin: top left;
top:0;
left:0;
}
.letter, .letter:before, .letter:after{
transition: all 0.3s ease-in-out;
}
.letter:before{
color: #fff;
text-shadow:
-1px 0px 1px rgba(255,255,255,.8),
1px 0px 1px rgba(0,0,0,.8);
z-index: 3;
transform:
rotateX(0deg)
rotateY(-15deg)
rotateZ(0deg);
}
.letter:after{
color: rgba(0,0,0,.11);
z-index:2;
transform:
scale(1.08,1)
rotateX(0deg)
rotateY(0deg)
rotateZ(0deg)
skew(0deg,1deg);
}
.letter:hover:before{
color: #fafafa;
transform:
rotateX(0deg)
rotateY(-40deg)
rotateZ(0deg);
}
.letter:hover:after{
transform:
scale(1.08,1)
rotateX(0deg)
rotateY(40deg)
rotateZ(0deg)
skew(0deg,22deg);
}