-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (74 loc) · 1.91 KB
/
Copy pathstyle.css
File metadata and controls
100 lines (74 loc) · 1.91 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
.picked-card {
max-width: 300px;
position: relative;
transform-style: preserve-3d;
transition:all 1s ease-in-out;
}
.pattern,
.face {
position: absolute;
top: 0;
left: 0;
width: 100%;
backface-visibility: hidden;
height: 510px;
}
.pattern {
/*background-color: pink;*/
background:
linear-gradient(30deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
linear-gradient(150deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
linear-gradient(30deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
linear-gradient(150deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
linear-gradient(60deg, #dbdbdb 25%, transparent 25.5%, transparent 75%, #dbdbdb 75%, #dbdbdb 0),
linear-gradient(60deg, #dbdbdb 25%, transparent 25.5%, transparent 75%, #dbdbdb 75%, #dbdbdb 0), #ccc;
background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
background-size: 80px 140px;
}
.face {
transform: rotateY(180deg)
}
.picked-card.show {
transform: rotateY(180deg)
}
.card-description {
position:relative;
text-align: center;
padding-top: 15px;
}
.hide {
display:none;
}
.center {
margin: auto;
width: 40%;
padding: 10px;
}
/* Smartphones (portrait) ----------- */
@media (min-width : 630px) {
.picked-card {
width: 100%;
}
.card-description {
position:relative;
text-align: center;
padding-top: 15px;
}
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
/* Styles */
.picked-card {
width: 100%;
}
.card-description {
position:absolute;
text-align: center;
padding-top: 15px;
}
}
body {
background-color: #000000;
background-image: linear-gradient(black, gray);
background-repeat:repeat;
}