-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
216 lines (184 loc) · 12.3 KB
/
index.html
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- <link rel="stylesheet" href="css/main.css"> -->
<link rel="stylesheet" href="webfontkit-20140304-042055/stylesheet.css">
<style>
body, html{
margin: 0;
width: 100%;
height: 100%;
font-family: 'open_sansextrabold';
color: #fff;
text-shadow: 0px -4px 0px rgba(0,0,0,0.8);
}
div.ddc {
position: relative;
}
svg {
/*background-color: blue;*/
/* position: absolute;
top: 0px;
left: 0px;*/
}
.overlay{
text-align: center;
box-sizing: border-box;
/*border: 1px solid red;*/
position: absolute;
top: 0px;
left: 0px;
}
span{
display: block;
}
.container{
}
.shade {
margin: 100px auto 0 auto;
padding: 20px 4px 20px 4px;
background-color: rgba(0,0,0,0.45);
width: 81%;
border-radius: 30px;
}
.first-name{
font-size: 132px;
margin-top: 40px;
word-break: break-all;
}
.last-name{
font-size: 58px;
line-height: 1em;
}
.github-name{
font-size: 86px;
}
.bg-vis iframe{
border: none;
}
iframe{
/*-webkit-transform: translate(28px, 472px);*/
}
.bg-vis{
overflow: hidden;
position: absolute;
top: 0px;
left: 0px;
}
#github {
margin: 80px 0 30px 0;
}
.github-name, .github-logo, .ddc {
display: inline-block;
/*margin: 0 25px -20px 0;*/
}
svg.design {
margin: 0 0 -20px 20px;
}
.github-logo img {
position: relative;
width: 100px;
margin: 0 25px -20px 0;
}
.uber-logo {
position: absolute;
bottom: 10px;
left: 275px;
display:block;
/*left: 400px;*/
}
.uber-logo img {
width: 500px;
margin: auto;
/* margin: 700px 0px 0px 0px;*/
}
.conf-id {
position: absolute;
bottom: 140px;
left: 100px;
}
.conf-id img {
width: 850px;
border-radius: 36px;
padding: 0px;
background-color: rgba(0,0,0,0.35);
}
.date {
position: relative;
bottom: -840px;
/*margin-top: 780px;*/
font-size: 2.2em;
font-weight: 800;
font-family: 'open_sansextrabold';
}
.data {
}
</style>
</head>
<body>
<div class="bg-vis">
<iframe name="frame1"></iframe>
</div>
<div class="overlay">
<div class="container">
<div class="shade">
<span class="first-name"></span>
<span class="last-name"></span>
<div id="github">
<div class="github-logo"><img class="logo" src="img/github-logo.png" /></div>
<div class="github-name"></div>
<div class="ddc">
<!-- DATA ICON -->
<!-- <svg class="data"><path fill="none" stroke="#fff" stroke-width="3.7904" stroke-miterlimit="10" d="M41.384,51.306 c-4.502,3.193,4.051,7.309,6.371-0.106c-2.994-0.981-7.5-0.23-6.57,3.313c4.778,1.746,9.694-5.604,5.881-8.747 c-4.242-3.492-8.989,4.779-7.343,7.967c5.555,0.279,18.844-8.811,12.044-14.397c-8.04-6.61-22.587,15.027-17.101,21.147 c6.581,7.34,29.184-6.289,25.069-14.699c-2.887-5.905-10.961-1.893-9.563,3.64c9.353,3.75,24.009-8.686,13.61-15.421 c-6.429-4.163-18.599,2.179-22.845,6.352c-3.641,3.585-8.774,10.937-0.034,10.572c5.283-0.225,17.634-7.952,16.769-13.882 c-1.034-7.089-10.919-6.31-16.831-3.918c-5.482,2.222-19.594,13.405-16.906,20.552c2.657,7.062,15.961,6.353,21.945,4.734 c5.642-1.517,15.406-6.584,15.413-13.22c0.008-8.761-13.345-10.976-20.183-8.052c-7.259,3.106-20.368,19.01-16.203,27.292 c4.648,9.227,22.343,6.163,30.261,3.271c8.062-2.941,27.067-13.785,23.132-24.586c-4.062-11.137-18.599-8.532-23.775-0.673 c-4.402,6.678-8.514,20.035-1.784,26.762c7.205,7.2,21.341,4.08,28.357-1.389c7.708-6.005,12.344-14.852,7.792-23.685 c-4.399-8.539-13.155-20.405-22.619-24.507c-9.958-4.315-26.769-3.821-36.93-0.314c-15.03,5.196-10.444,28.823-7.469,39.889 c4.491,16.691,31.168,31.665,49.323,26c29.777-9.294,17.795-47.43-5.567-56.778c-9.207-3.686-22.81-4.122-27.733,5.797 c-5.288,10.666-2.692,31.611,4.349,41.113c11.309,15.261,23.936,12.598,33.783-2.509c7.933-12.157,14.372-25.574,0.184-35.433 c-11.52-8.002-32.128-15.199-43.633-3.364c-5.724,5.883-10.058,19.654-0.999,24.837c4.954,2.838,20.276,1.102,24.628-2.291 c-10.643-3.547-33.465,14.415-36.221,23.434c-1.471,4.81,0.337,16.559,5.896,18.488c12.148,4.208,31.777-18.138,38.645-24.196 c7.167-6.331,14.511-12.05,12.535-22.092c-1.692-8.61-9.641-22.496-17.979-27.141c-8.537-4.76-34.219-3.729-38.568,5.289 c-6.62,13.728,0.536,40.272,19.311,39.359c4.188-0.2,11.86-0.802,15.268-3.436c8.745-6.763,5.131-23.948,0.207-31.579 c-5.237-8.109-16.708-15.589-27.144-11.609c-9.334,3.557-24.082,18.341-26.77,27.363c-4.46,14.999,12.703,24.755,25.185,15.632 c7.546-5.518,25.589-29.896,6.42-33.325c-8.093-1.449-12.175,5.039-15.824,10.611C8.681,56.338,5.312,71.376,15.894,84.346 c19.112,23.426,43.848,4.502,52.539-16.145C75.58,51.22,81.369,14.331,59.316,3.154c-6.32-3.203-16.377-3.891-23.303-2.409 c-8.944,1.918-13.71,10.199-19.132,16.387C11.625,23.134,2.402,31.294,1.062,39.6c-1.409,8.739,8.055,16.283,15.471,19.877 c9.093,4.405,20.735,5.085,30.417,2.114c3.622-1.116,13.507-4.111,14.759-8.088C46.583,45.279,25.741,53.69,23.911,70.32 c-2.63,23.91,25.093,26.952,44.418,22.514c16.008-3.672,28.771-16.956,30.725-32.302c0.903-7.107,2.132-17.299-1.555-23.627 c-4.667-8.009-15.713-12.776-25.02-13.163c-13.603-0.568-18.231,11.939-8.652,20.417c10.329,9.145,37.481,6.664,33.2-11.026 c-3.369-13.946-23.22-12.622-34.651-11.022c4.468,1.299,19.216-1.485,18.178-8.023C78.949,4.017,31.3,19.362,27.05,27.003 c5.31,0.604,14.943-0.458,16.352-6.506c-9.636-6.589-17.684,22.442-15.969,28.935c2.021,0.092,4.066-0.007,6.11,0.042"/></svg> -->
<!-- DESIGN ICON -->
<svg class="design" stroke="#fff" fill="#fff"><g><g><path d="M93.486,95H6V5.262h87.486V95z M7.928,93.071h83.631V7.189H7.928V93.071z"/></g><g><path d="M92.126,62.082H7.064c-0.532,0-0.964-0.432-0.964-0.963c0-0.533,0.432-0.965,0.964-0.965h85.062 c0.533,0,0.964,0.432,0.964,0.965C93.09,61.65,92.659,62.082,92.126,62.082z"/></g><g><path d="M30.481,94.625c-0.533,0-0.964-0.433-0.964-0.964V6.679c0-0.532,0.431-0.964,0.964-0.964s0.964,0.432,0.964,0.964v86.982 C31.445,94.192,31.014,94.625,30.481,94.625z"/></g><g><path d="M30.481,24.256H7.064c-0.532,0-0.964-0.432-0.964-0.965c0-0.531,0.432-0.964,0.964-0.964h23.417 c0.533,0,0.964,0.433,0.964,0.964C31.445,23.824,31.014,24.256,30.481,24.256z"/></g><g><path d="M70.51,94.906c-0.531,0-0.962-0.432-0.962-0.963V61.119c0-0.533,0.431-0.965,0.962-0.965c0.534,0,0.965,0.432,0.965,0.965 v32.824C71.475,94.475,71.044,94.906,70.51,94.906z"/></g><g><path d="M91.926,74.893H70.51c-0.531,0-0.962-0.432-0.962-0.965c0-0.531,0.431-0.963,0.962-0.963h21.416 c0.532,0,0.964,0.432,0.964,0.963C92.89,74.461,92.458,74.893,91.926,74.893z"/></g><g><path d="M9.342,73.484c-0.247,0-0.494-0.095-0.682-0.282c-0.377-0.378-0.376-0.987,0-1.363l2.841-2.842 c0.377-0.376,0.987-0.376,1.363,0c0.377,0.376,0.377,0.987,0,1.363l-2.842,2.842C9.834,73.39,9.588,73.484,9.342,73.484z"/></g><g><path d="M22.754,77.348c-0.247,0-0.494-0.094-0.682-0.282c-0.376-0.376-0.376-0.986,0-1.362l2.842-2.842 c0.375-0.376,0.987-0.376,1.363,0s0.376,0.987,0,1.363l-2.841,2.841C23.249,77.254,23.001,77.348,22.754,77.348z"/></g><g><path d="M22.3,84.851c-0.247,0-0.494-0.094-0.682-0.283c-0.376-0.376-0.376-0.985,0-1.364l2.842-2.84 c0.376-0.378,0.987-0.378,1.363,0c0.376,0.376,0.376,0.985,0,1.364l-2.841,2.84C22.792,84.757,22.546,84.851,22.3,84.851z"/></g><g><path d="M13.774,77.917c-0.247,0-0.494-0.094-0.682-0.283c-0.376-0.375-0.376-0.987,0-1.363l11.026-11.026 c0.377-0.376,0.987-0.376,1.364,0c0.376,0.378,0.376,0.987,0,1.363L14.457,77.635C14.269,77.823,14.021,77.917,13.774,77.917z"/></g><g><path d="M73.059,84.163c-0.248,0-0.494-0.094-0.682-0.282c-0.377-0.376-0.377-0.988,0-1.364l2.686-2.688 c0.377-0.376,0.987-0.376,1.363,0c0.377,0.376,0.377,0.986,0,1.363l-2.686,2.688C73.552,84.069,73.305,84.163,73.059,84.163z"/></g><g><path d="M85.742,87.814c-0.247,0-0.495-0.094-0.683-0.28c-0.377-0.378-0.377-0.987,0-1.365l2.686-2.686 c0.377-0.377,0.987-0.377,1.363,0c0.377,0.376,0.377,0.986,0,1.363l-2.686,2.686C86.234,87.721,85.987,87.814,85.742,87.814z"/></g><g><path d="M77.251,88.353c-0.248,0-0.494-0.095-0.682-0.282c-0.378-0.377-0.378-0.987,0-1.363l10.425-10.424 c0.375-0.377,0.984-0.377,1.363,0c0.376,0.376,0.376,0.985-0.001,1.363L77.932,88.071C77.743,88.258,77.496,88.353,77.251,88.353z "/></g><g><path d="M43.787,19.991c-0.247,0-0.493-0.094-0.682-0.282c-0.376-0.377-0.376-0.988,0-1.364l2.133-2.133 c0.377-0.376,0.987-0.376,1.364,0c0.376,0.377,0.376,0.988,0,1.364l-2.134,2.134C44.281,19.896,44.034,19.991,43.787,19.991z"/></g><g><path d="M74.186,50.388c-0.248,0-0.494-0.094-0.683-0.282c-0.376-0.377-0.376-0.987,0-1.364l2.134-2.133 c0.377-0.375,0.986-0.375,1.362,0c0.378,0.377,0.378,0.987,0,1.364l-2.133,2.133C74.677,50.293,74.432,50.388,74.186,50.388z"/></g><g><path d="M38.276,40.433c-0.246,0-0.493-0.094-0.681-0.282c-0.377-0.376-0.377-0.986,0-1.363l27.909-27.91 c0.376-0.376,0.987-0.376,1.363,0c0.376,0.377,0.376,0.987,0,1.363L38.958,40.15C38.77,40.339,38.522,40.433,38.276,40.433z"/></g><g><path d="M55.875,58.032c-0.246,0-0.493-0.094-0.682-0.282c-0.376-0.376-0.376-0.988,0-1.363l27.907-27.909 c0.379-0.377,0.988-0.377,1.365,0c0.376,0.376,0.376,0.986,0,1.363L56.559,57.75C56.369,57.938,56.122,58.032,55.875,58.032z"/></g><g><path d="M39.02,57.82c-0.247,0-0.493-0.095-0.682-0.282c-0.376-0.377-0.376-0.986,0-1.363l45.835-45.833 c0.377-0.377,0.986-0.376,1.363,0c0.376,0.376,0.376,0.987,0,1.364L39.702,57.538C39.513,57.726,39.267,57.82,39.02,57.82z"/></path></svg>
<!-- CODE ICON -->
<!-- <svg class="code" stroke="#fff" fill="#fff"><path display="none" d="M69.172,11.265c-0.191-0.192-0.502-0.192-0.695,0L11.639,68.029c-0.192,0.191-0.192,0.501,0,0.692 l19.207,19.184c0.096,0.095,0.222,0.143,0.348,0.143c0.125,0,0.251-0.048,0.347-0.143L88.38,31.14 c0.093-0.092,0.145-0.216,0.145-0.347s-0.052-0.255-0.145-0.347L69.172,11.265z"></path><path display="none" d="M96.846,9.12l-6.319-6.311C88.713,0.998,86.301,0,83.735,0c-2.564,0-4.977,0.998-6.79,2.809L70.626,9.12 c-0.093,0.092-0.145,0.216-0.145,0.347c0,0.13,0.052,0.254,0.145,0.346l19.207,19.182c0.092,0.092,0.218,0.144,0.348,0.144 c0.131,0,0.255-0.052,0.346-0.144l6.319-6.311c1.814-1.812,2.813-4.22,2.813-6.783C99.659,13.34,98.66,10.932,96.846,9.12z"></path><path display="none" d="M10.358,69.967c-0.122-0.121-0.296-0.172-0.464-0.129c-0.167,0.04-0.3,0.165-0.351,0.33l-9.18,29.195 c-0.055,0.178-0.006,0.369,0.127,0.498C0.584,99.952,0.707,100,0.832,100c0.054,0,0.11-0.011,0.164-0.029l28.387-10.012 c0.159-0.056,0.278-0.188,0.315-0.354c0.037-0.164-0.012-0.337-0.132-0.455L10.358,69.967z"></path><path d="M2.343,54.1C0.938,53.162,0,51.289,0,49.648c0-1.64,0.703-3.162,2.46-3.982H2.343c8.317-4.92,19.915-11.48,27.647-16.049 v10.895c-3.046,1.757-7.146,3.749-17.455,9.255l0.117,0.116c5.506,2.461,11.832,6.209,17.338,9.489v11.012L2.343,54.1z"></path><path d="M97.657,45.9c1.404,0.938,2.343,2.812,2.343,4.452c0,1.64-0.703,3.162-2.461,3.982h0.118 c-8.317,4.92-19.916,11.48-27.647,16.049V59.488c3.046-1.756,7.146-3.748,17.455-9.254l-0.117-0.116 c-5.505-2.461-11.832-6.209-17.338-9.489V29.617L97.657,45.9z"></path><path d="M46.401,71.844H39.39L53.48,28.156h7.13L46.401,71.844z"></path></svg> -->
</div>
</div>
</div>
</div>
<div class="conf-id"><img src="img/unconf.png" /></div>
<div class="uber-logo"><img class="logo" src="img/uber_logo2.gif" /></div>
<div class="date">NOVEMBER 21, 2015</div>
</div>
</div>
<script src="d3.js" charset="utf-8"></script>
<script>
var w = 1050, h = 1500
var svg = d3.select('svg').attr({width: w, height: h });
d3.select('svg.data').attr("width",100).attr("height",100);
d3.select('svg.design').attr("width",100).attr("height",100);
d3.select('svg.code').attr("width",100).attr("height",100);
var iframe = d3.select('iframe')
var overlay = d3.select('.overlay').style({width: w + 'px', height: h + 'px' })
window.is_ready = false
iframe.style({width: w + 'px', height: h + 'px' })
var opts = decodeURIComponent(window.location.hash.split('#')[1] || '')
var is_test = false
try{
opts = JSON.parse(opts)
}catch(e){
opts = {
url: opts
, firstName: 'Kai'
, lastName: 'Chang'
, githubName: 'syntagmatic'
}
is_test = true
}
opts.url = opts.url || 'badges/saraquigley/index.html'
d3.select('.github-name').text(opts.githubName)
if(opts.firstName)
d3.select('.first-name').text(opts.firstName)
else d3.select('.first-name').style('opacity', 0).text('..')
if(opts.lastName) d3.select('.last-name').text(opts.lastName)
else d3.select('.last-name').style('opacity', 0).text('..')
iframe.attr('src', opts.url)
.on('load', function(){
take_badge_pic();
});
</script>
</body>
</html>