This file contains hidden or 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
| /** | |
| * Overrides default JQuery.scrollTop to account for top header nav | |
| * @requires JQuery | |
| * @see http://api.jquery.com/scrollTop/ | |
| * @see https://github.com/jquery/jquery/blob/master/src/offset.js for scrollTop declaration | |
| **/ | |
| (function($) { | |
| var topOffset = 120; // height to account for in scrolling |
This file contains hidden or 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
| javascript: var s; | |
| /*Figure out the selected text*/ | |
| if ( window.getSelection ) { | |
| s = window.getSelection(); | |
| } else if ( document.getSelection ) { | |
| s = document.getSelection(); | |
| } else { | |
| s = document.selection.createRange().text; | |
| } | |
| /*If there isn't any text selected, get user input*/ |
This file contains hidden or 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
| .category-twitter:hover { | |
| background-position: -50px -50px; | |
| -webkit-transition: all 0.5s ease-out; | |
| } | |
| .category-twitter { | |
| background: url(http://a2.twimg.com/a/1314204713/images/logos/twitter_newbird_boxed_blueonwhite.png); | |
| background-repeat: no-repeat; | |
| background-position: -300px -50px; | |
| -webkit-transition: all 0.5s ease-out; |
This file contains hidden or 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
| <!-- a story is an item that exists in a list that leads into its own. An active story is one that is meant to be interacted with, whereas an inactive story is just for display --> | |
| <article class="story [storyObjectType] [in]active" href="[storyController]/view/[storyId]"> | |
| <!-- Optional: Appropriate avatar item for story (user photo, task time etc.) the thing that identifies the story in a quick glance --> | |
| <div class="story-avatar"> | |
| <!-- img or time or div or span --> | |
| </div> | |
| <div class="story-content"> | |
| <div class="story-content-wrapper"> | |
| <header class="story-content-header"> |
NewerOlder