- The new OS7 icons are 5% bigger than in previous version.
- System icons are flat now: apple doesn’t add shiny effect anymore.
- apple-touch-icon precomposed is still supported but it will make same results as the apple-touch-icon
- apple-touch-icon precomposed icon take precedence over apple-touch-icon
- Available sizes according to apple:
- iPhone / iPod Touch retina: 120×120
- iPad non-retina (iPad 2 and iPad mini): 76×76
- iPad retina: 152×152
- Appple documentation
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
var log = console.log.bind(console); | |
var warn = console.warn.bind(console); | |
var info = console.info.bind(console); | |
var error = console.error.bind(console); | |
var table = console.table.bind(console); |
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
var $talks = $('.schedule').find('article.talk'); | |
$talks.each(function(){ | |
$(this).on('click', 'p > a', function(e){ | |
e.preventDefault(); | |
var linkRef = $(this).attr('href'), | |
urlHash = linkRef.substring(linkRef.indexOf('#')), | |
urlWithoutHash = linkRef.substr(0,linkRef.indexOf('#')), | |
$container = $(this).closest('p'); |
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
.container { | |
width: auto; | |
max-width: 100em; | |
} | |
/* Block formating context */ | |
.repository-with-sidebar .repository-content, | |
.repository-with-sidebar.with-full-navigation .repository-content, | |
.discussion-timeline, | |
body.page-profile .profilecols .last, |
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
;(function($, window, document, undefined) { | |
var $questions = $('ul.chevron'), | |
answerClass = 'answer', | |
answerSelector = '.'+answerClass, | |
questionSelector = 'a.km-article-link', | |
questionWrapperSelector = '.article', | |
loadingIcon = 'https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif', | |
// vars to fix css definitions | |
sheet = document.styleSheets[0], | |
rules = typeof(sheet) != 'undefined' ? ('cssRules' in sheet? sheet.cssRules : sheet.rules) : {}, // IE compatibility |
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
var startBookDate = $(this).find('input.startdate').val(), | |
endBookDate = $(this).find('input.enddate').val(), | |
startBookDateObj, endBookDateObj, | |
startSeasonDateObj, endSeasonDateObj; | |
// use function parseDate() own function to get a new Date object from a custom string format, cause the format delivered from the datePicker is Swiss date friendly | |
// Then use the JS Date function and its "parse" method to get a number (of milliseconds) to be able to compare dates. | |
startBookDateObj = Date.parse( parseDate(startBookDate) ); | |
endBookDateObj = Date.parse( parseDate(endBookDate) ); |
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
%li{:hidden => (nav.shown == true ? nil : '')} |
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
<article> | |
<h1>Documentation</h1> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<div class="all-questions"> | |
<h3 id="one">How do you smurf a murf?</h3> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> |
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
.container | |
.info | |
%h1 :focus tooltip | |
.form | |
%input.form-input{:type => "text", :placeholder => "Select this to fold tooltip"} | |
.form-tooltip Information only visible on :focus | |
%input.form-input{:type => "text", :placeholder => "Or this to fold another"} | |
.form-tooltip Another tooltip with.<br> Only this with some more content. | |
.info | |
%p |
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
/* Credit: http://germanforblack.com/post/43975575422/protip-all-browsers-that-support-svg-background-images */ | |
.module { | |
background: url('logo.png'); | |
background: none, url('logo.svg'); | |
} |