forked from pythonindia/inpycon2017
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX pythonindia#23] Added new twitter widget using twitter post fetcher
- Loading branch information
Showing
13 changed files
with
697 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
/* | ||
* Example style! | ||
* You can do whatever the hell you want on your site :-) | ||
*/ | ||
|
||
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); | ||
|
||
h2 { | ||
clear:both; | ||
} | ||
|
||
p, .tdate { | ||
font-size:17px; | ||
font-family: 'Open Sans', sans-serif; | ||
margin:10px 0 0 0; | ||
color:#3d3d3d; | ||
} | ||
|
||
a, .tdate:visited { | ||
color:#427fed; | ||
} | ||
|
||
.tdate:hover { | ||
color:#82afff; | ||
} | ||
|
||
.tborder > li { | ||
list-style:none; | ||
overflow:hidden; | ||
border:1px solid #dedede; | ||
margin:5px; | ||
padding:5px; | ||
} | ||
|
||
.tborder > li:hover { | ||
background-color:#f0f3fb; | ||
} | ||
|
||
.user, .tweet, .timePosted { | ||
float:left; | ||
} | ||
|
||
.user { | ||
width:25%; | ||
} | ||
|
||
.tweet { | ||
width:50%; | ||
} | ||
|
||
.timePosted { | ||
width:15%; | ||
} | ||
|
||
.user { | ||
clear:left; | ||
} | ||
|
||
.user a { | ||
width: 100px; | ||
} | ||
|
||
.user span span { | ||
width:100px; | ||
display:block; | ||
margin-top:10px; | ||
} | ||
|
||
.user img, .user a > span { | ||
float:left; | ||
} | ||
|
||
.interact { | ||
float:left; | ||
width:10%; | ||
margin-top:-7px; | ||
} | ||
|
||
.interact a { | ||
margin-left:5px; | ||
float:left; | ||
} | ||
|
||
.user a > span { | ||
margin-left:10px; | ||
} | ||
|
||
.tmedia{ | ||
width: 25%; | ||
margin: auto; | ||
} | ||
|
||
.tmedia img { | ||
max-width:270px; | ||
max-height:270px; | ||
} | ||
|
||
#linkage { | ||
position:fixed; | ||
top:0px; | ||
right:0px; | ||
background-color:#3d3d3d; | ||
color:#ffffff; | ||
text-decoration:none; | ||
padding:5px; | ||
width:10%; | ||
font-family:arial; | ||
} | ||
|
||
.tco-hidden{ | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*Twitter Post Fetcher config*/ | ||
|
||
var configProfile = { | ||
"profile": {"screenName": 'pyconindia'}, | ||
"domId": 'pyconindiaTweets', | ||
"maxTweets": 5, | ||
"enableLinks": true, | ||
"showUser": true, | ||
"showTime": true, | ||
"showImages": true, | ||
"lang": 'en' | ||
}; | ||
twitterFetcher.fetch(configProfile); | ||
|
Oops, something went wrong.