-
Notifications
You must be signed in to change notification settings - Fork 0
/
mystyle.css
100 lines (91 loc) · 1.85 KB
/
mystyle.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
.ticket {
position: relative;
display: table;
width: 450px;
height: 228px;
margin: 50px auto 0 auto;
padding-bottom: 57px;
background: #f4f4f4;
text-align: center;
}
.ticket::before {
content: "";
position: absolute;
top: 54.5%;
left: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid #a52958;
}
.ticket::after {
content: "";
position: absolute;
top: 54.5%;
right: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-right: 20px solid #185661;
}
span {
display: block;
font-size: 18px;
color: #540c5d;
}
strong {
display: block;
font-size: 25px;
color: #a52958;
margin: 0 0 10px 0;
}
em {
display: block;
font-size: 20px;
font-style: normal;
color: #86db78;
border-top: 2px dashed rgba(0, 0, 0, 0.1);
padding: 10px 0;
}
.ribbon .label {
position: relative;
display: block;
left: -10px;
top: 23px;
width: 158px;
padding: 10px 0;
font-size: 15px;
text-align: center;
color: #fff;
background-color: #e85e68;
-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
-ms-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
-webkit-transform: rotate(45deg) translate3d(0, 0, 0);
-moz-transform: rotate(45deg) translate3d(0, 0, 0);
-ms-transform: rotate(45deg) translate3d(0, 0, 0);
transform: rotate(45deg) translate3d(0, 0, 0);
}
.ribbon {
position: absolute;
display: block;
top: -4px;
right: -4px;
width: 110px;
height: 110px;
overflow: hidden;
}
.label:before,
.label:after {
content: "";
position: absolute;
bottom: -4px;
border-top: 4px solid #a71c26;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
}
.label:before {
left: 0;
}
.label:after {
right: 0;
}