Repository navigation
Expand file tree
/
Copy pathmedia.css
More file actions
106 lines (105 loc) · 1.64 KB
/
Copy pathmedia.css
File metadata and controls
106 lines (105 loc) · 1.64 KB
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
@media (min-width: 0) {
.pic {
background-image: url("./images/bg-main-mobile.png");
width: 100%;
height: 25%;
top: 0;
}
.con {
margin: 25px auto;
width: 300px;
height: 150px;
}
.front,
.back {
width: 100%;
height: 100%;
}
.back {
padding: 65px 35px;
}
.back span {
font-size: 12px;
}
.front {
top: 0%;
left: 0%;
}
.num {
font-size: 20px;
}
.name,
.date {
font-size: 15px;
}
.front img {
width: 50px;
height: 30px;
}
.input,
.confirm {
left: 50%;
top: 60%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
}
.input {
width: 250px;
}
}
@media (min-width: 1500px) {
.pic {
background-image: url("./images/bg-main-desktop.png");
width: 40%;
height: 100vh;
}
.con {
width: 400px;
height: 200px;
top: 35%;
left: 65%;
margin: 0;
}
.front,
.back {
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.back {
padding: 85px 42px;
}
.back span {
font-size: 18px;
}
.front img {
height: initial;
width: initial;
}
.input,
.confirm {
left: initial;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
}
.confirm {
top: 40%;
right: 25%;
}
.input {
top: 37%;
right: 20%;
width: 400px;
height: 50px;
}
.num {
font-size: 28.8px;
}
}