-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
160 lines (156 loc) · 2.47 KB
/
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
html,
body {
padding: 0;
margin: 0;
overflow: hidden;
text-align: center;
font-family: 'Adobe 宋体 Stdl', '华文中宋', '华文宋体', '宋体', serif;
color: #333;
font-weight: 100;
position: fixed;
width: 100%;
height: 100%;
}
input,
button,
textarea {
font: inherit;
color: inherit;
}
#intro,
#full,
#divide {
position: absolute;
width: 100%;
height: 100%;
}
#full,
#divide {
display: none;
overflow: auto;
}
#intro {
background-color: #333;
transition: top ease-in 0.35s;
top: 0;
color: white;
overflow: hidden;
padding-bottom: 50px;
}
#intro.chosen {
top: -100%;
}
#choose {
font-size: 24px;
margin-top: 100px;
transition: all 0.35s;
}
@media all and (max-width:480px) {
#choose {
font-size: 16px;
margin-top: 20px;
}
}
#choice {
margin-top: 50px;
}
#choice > div {
display: inline-block;
width: 100px;
height: 100px;
padding: 50px;
line-height: 100px;
font-size: 24px;
}
#return-intro {
width: 100%;
height: 50px;
line-height: 50px;
font-size: 20px;
position: absolute;
bottom: 0;
background-color: #333;
}
.canvas-container,
.form-group {
width: 560px;
max-width: 100%;
box-sizing: border-box;
padding: 0 10px;
margin: 0 auto 10px;
position: relative;
overflow: hidden;
}
.canvas-container {
margin-top: 60px;
}
canvas {
max-width: 100%;
}
.form-group input {
width: 100%;
margin: 0;
}
.form-group label {
position: absolute;
top: 0;
left: 10px;
}
.form-group label + input {
width: 80%;
margin: 0;
float: right;
}
.save {
height: 50px;
background-color: #333;
color: white;
line-height: 50px;
}
.left {
position: relative;
width: 48%;
float: left;
padding: 0 10px;
margin: 0 -10px;
}
.right {
position: relative;
width: 48%;
float: right;
padding: 0 10px;
margin: 0 -10px;
}
.myth {
position: relative;
}
.myth div::before,
.myth div::after {
position: absolute;
top: 5px;
right: 5px;
bottom: 5px;
left: 5px;
content: '';
opacity: 0;
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
transition: opacity 0.35s, transform 0.35s;
}
.myth div::before {
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
-webkit-transform: scale(0,1);
transform: scale(0,1);
}
.myth div::after {
border-right: 1px solid #e0e0e0;
border-left: 1px solid #e0e0e0;
-webkit-transform: scale(1,0);
transform: scale(1,0);
}
.myth:hover div::before,
.myth:hover div::after {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}