-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (73 loc) · 1.77 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- template used to render our input box -->
<script type='text/template' id="search-box-template">
<input type="text" name="Search Twitter" placeholder="Search Twitter…" value="" id="twitter_search">
</script>
<!-- template used to render an individual result -->
<script type='text/template' id="twitter_result">
<div class='tweet'>
<p class='text'><%= tweet.text %></p>
<img src='<%= tweet.profile_image_url %>'>
</div>
</script>
<script data-main="loader" charset="utf-8" src="components/requirejs/require.js"> </script>
<title>Require Fun</title>
<style type="text/css" media="screen">
html * {
font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
}
body {
background:url(assets/escheresque_ste.png);
color: #e3e3e3;
}
#searchBox, .twitter-results {
width: 350px;
margin: auto;
}
input:focus, input:active {
border: none;
outline: 0px;
}
input {
width: 330px;
padding: 10px;
font-size: 15px;
margin-bottom: 20px;
border: none;
}
.tweet:hover {
background-color: #8e8e8e;
}
.tweet {
clear: left;
margin-bottom:10px;
background-color: #4e4e4e;
}
.tweet:after {
content: "";
display: table;
clear: both;
}
.tweet p, img {
float: right;
}
.tweet img {
margin-top: 18px;
margin-right: 10px;
margin-bottom: 18px;
/*padding-left: 10px;*/
}
.tweet p {
width: 75%;
padding-right: 15px;
}
</style>
</head>
<body>
<div id='searchBox'> </div>
<div class='twitter-results'></div>
</body>
</html>