-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.css
130 lines (121 loc) · 2.6 KB
/
index.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
.github-fork-ribbon {
width: 12.1em;
height: 12.1em;
position: absolute;
overflow: hidden;
top: 0;
right: 0;
z-index: 9999;
pointer-events: none;
font-size: 13px;
text-decoration: none;
text-indent: -999999px;
}
.github-fork-ribbon.fixed {
position: fixed;
}
.github-fork-ribbon:before,
.github-fork-ribbon:after {
position: absolute;
display: block;
width: 15.38em;
height: 1.54em;
top: 3.23em;
right: -3.23em;
-webkit-box-sizing: content-box;
box-sizing: content-box;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.github-fork-ribbon:before {
content: "";
padding: 0.38em 0;
background-color: #f06;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
from(rgba(0, 0, 0, 0)),
to(rgba(0, 0, 0, 0.15))
);
background-image: -webkit-linear-gradient(
top,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.15)
);
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.15)
);
/* Add a drop shadow */
-webkit-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
pointer-events: auto;
}
.github-fork-ribbon:after {
/* Set the text from the title attribute */
content: attr(title);
/* Set the text properties */
color: #fff;
font: 700 1em "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.54em;
text-decoration: none;
text-shadow: 0 -0.08em rgba(0, 0, 0, 0.5);
text-align: center;
text-indent: 0;
/* Set the layout properties */
padding: 0.15em 0;
margin: 0.15em 0;
/* Add "stitching" effect */
border-width: 0.08em 0;
border-style: dotted;
border-color: #fff;
border-color: rgba(255, 255, 255, 0.7);
}
.github-fork-ribbon.left-top:before,
.github-fork-ribbon.left-top:after {
right: auto;
left: -3.23em;
}
.github-fork-ribbon.left-top:before,
.github-fork-ribbon.left-top:after {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#app {
max-width: 800px;
margin: 0 auto;
}
.text-center {
text-align: center;
}
.avatar {
width: 160px;
height: 160px;
margin-bottom: 24px;
margin-top: 24px;
border-radius: 50%;
border: 2px solid #ccc;
}
.info {
padding: 16px;
max-width: 800px;
margin: 0 auto;
}
.ivu-row {
margin-bottom: 10px;
}
@media screen and (max-width: 800px) {
#origin,
#new {
display: block;
width: 90%;
margin: 10px auto;
border: 2px solid #eee;
}
}
#canvas,#image {
width: 360px;
margin: 10px;
}