Skip to content

Commit

Permalink
Style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
anildigital committed Apr 16, 2015
1 parent 2f1a678 commit 0bbf954
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1><a href="/">anilwadghule.com</a> </h1>
<a class="extra" href="/resume.html">resume</a>
<a class="extra" href="/about.html">about</a>
<a class="extra" href="/contact.html">contact</a>
<div>
<div id="twitter_follow">
<a href="https://twitter.com/anildigital" class="twitter-follow-button" data-show-count="false">Follow @anildigital</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
Expand Down
18 changes: 15 additions & 3 deletions css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,19 @@ ul.posts span {
/* Display last.fm chart */
#lastfm_chart {
position:fixed;
top:42px;
right:30px;
bottom:10px;
right:10px;
z-index:1000;
}
}

#twitter_follow {
position:fixed;
top:5%;
left:2%;
z-index:1000;
}

@media screen and (min-width: 0px) and (max-width: 900px) {
#lastfm_chart { display: none; } /* show it on small screens */
#twitter_follow {display: none; }
}

0 comments on commit 0bbf954

Please sign in to comment.