|
4 | 4 | <head> |
5 | 5 | <title>Soliloquy</title> |
6 | 6 |
|
| 7 | + <meta http-equiv="Content-Type" Content="text/html; charset=UTF-8" /> |
7 | 8 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript" charset="utf-8"></script> |
8 | 9 | <script src="src/jquery.soliloquy.js" type="text/javascript" charset="utf-8"></script> |
9 | 10 |
|
10 | 11 | <script type="text/javascript" charset="utf-8"> |
11 | 12 | $(function() |
12 | 13 | { |
13 | | - $('.feed').soliloquy().facebook( { username: 'NPR', posts: 2, relative_dates: false } ); |
| 14 | + $('.feed').soliloquy().facebook( { username: 'CriterionCollection', posts: 8, relative_dates: false } ); |
14 | 15 | $('.feed').soliloquy().twitter( 'devth', { posts: 5, relative_dates: false } ); |
15 | 16 | $('.feed').soliloquy().twitter_list( 'rails', 'core', { posts: 2 } ); |
16 | 17 | $('.feed').soliloquy().lastfm( { relative_dates: false }); |
| 18 | + |
| 19 | + |
| 20 | + $('h1').hover(function(){ |
| 21 | + $('.english').hide(); |
| 22 | + $('.japanese').show(); |
| 23 | + }, function(){ |
| 24 | + $('.english').show(); |
| 25 | + $('.japanese').hide(); |
| 26 | + }); |
| 27 | + |
17 | 28 | }); |
18 | 29 | </script> |
19 | 30 |
|
20 | 31 | <style type="text/css" media="screen"> |
21 | 32 | body { font-family: 'Adobe Garamond Pro', 'Garamond Premier Pro', Garamond, Times, 'Times New Roman', serif; } |
22 | | - h1 { text-align:center; color: #ddd; margin:40px 0; font-size:120px; } |
| 33 | + h1 { text-align:center; color: #000; border-bottom: 1px solid #fff; padding-bottom: 30px; margin:40px 0; font-size:100px; |
| 34 | + text-shadow: #ccc 0px 2px 10px; position: relative; |
| 35 | + height: 100px; cursor: default; |
| 36 | + } |
| 37 | + .japanese { display: none; position: relative; top:-20px; color: #b3001e; } |
23 | 38 |
|
24 | 39 | .feed { width: 800px; margin: auto;} |
25 | | - .feed .post { clear: both; font-size: 20px; margin:20px; color:#333; } |
| 40 | + .feed .post { clear: both; font-size: 20px; margin:10px; padding-bottom: 10px; |
| 41 | + color:#333; border-bottom: 1px solid #eee; overflow: auto; |
| 42 | + background: -webkit-gradient( |
| 43 | + linear, left bottom, left top, |
| 44 | + color-stop(0.1, #fafafa), |
| 45 | + color-stop(0.49, #fff) |
| 46 | + ); |
| 47 | + } |
26 | 48 |
|
27 | 49 |
|
28 | 50 | .thumbnail { float: left; display: block; padding: 0 10px 10px 10px; } |
29 | 51 | .post_content { display: table-cell } |
30 | 52 |
|
31 | | - .created-at { font-size:70%; color:#666;} |
| 53 | + .created-at { font-size:70%; color:#666; clear: both; } |
32 | 54 | .screen-name { font-weight: bold; } |
| 55 | + |
| 56 | + .picture { display: block; padding: 4px; } |
| 57 | + .picture img { padding: 4px; border: 1px solid #ccc; } |
| 58 | + |
| 59 | + |
| 60 | + .facebook .link-picture { float: left; padding: 4px 10px 4px 0; } |
| 61 | + .facebook .link-content { color: #999; font-size: 90%; padding-top: 6px; display: table-cell; clear: both; } |
| 62 | + .facebook .link-content .description { display: block; } |
| 63 | + |
| 64 | + .facebook .created-at { display: block; } |
| 65 | + |
33 | 66 |
|
34 | 67 | </style> |
35 | 68 | </head> |
36 | 69 |
|
37 | 70 | <body> |
38 | | - <h1>Soliloquy</h1> |
| 71 | + <h1> |
| 72 | + <span class="english">Soliloquy</span> |
| 73 | + <span class="japanese">独り言</span> |
| 74 | + </h1> |
39 | 75 | <div class="feed"></div> |
40 | 76 | <div class="twitter_list"></div> |
41 | 77 | </body> |
|
0 commit comments