
Multi tool use
#s-content.s-font-title-bebas-neue .s-font-title
font-family: "bebas neue", bebas, helvetica, sans-serif;
#s-content.s-font-title-bebas-neue .s-font-title:lang(ja)
font-family: "bebas neue", bebas, helvetica, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"メイリオ",Meiryo,"MS Pゴシック","MS PGothic", sans-serif
#s-content.s-font-title-bebas-neue .s-font-title:lang(zh-cn),
#s-content.s-font-title-bebas-neue .s-font-title:lang(sxl),
#s-content.s-font-title-bebas-neue .s-font-title:lang(zh)
font-family: "bebas neue", bebas, helvetica, 'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑", sans-serif
#s-content.s-font-title-bebas-neue .s-font-title:lang(zh-tw)
font-family: "bebas neue", bebas, helvetica, 'Lisong Pro', 'PMingLiU', 'PingFang TC','Microsoft JhengHei',"微軟正黑體",STXihei, sans-serif;
(function beforeSections()
// Sections are rendered right after they appear in HTML, but we only want
// to show them once `afterSections` has determined the right text color
document.write('n .s-section .container n visibility: hidden;n n ');
)()
// Sections are rendered right after they appear in HTML, but we only want
// to show them once `afterSections` has determined the right text color
document.write('n .s-section .container n visibility: hidden;n n ');
)()
(function()
var applyLightTextOverride = (function applyLightTextOverrideFunction(sections, getLuma)
function hasBgImageOrVideo(el) classes.indexOf('s-bg-video') !== -1;
function applyLightTextOverrideToElement(el)
var color = getComputedStyle(el)['background-color'];
// General-purpose white text color override for any background color!
if (!hasBgImageOrVideo(el) && getLuma(color) < 0.72)
return el.classList.add('s-bg-light-text-override');
return el.classList.remove('s-bg-light-text-override');
// check text color
for (var i = 0; i < sections.length; i++)
var el = sections[i];
applyLightTextOverrideToElement(el);
);
(function afterSections()
function getLuma(color)
var match = color.match(/rgb((d+), (d+), (d+))/);
if (!match)
// In theory browsers can use a different format than rgb(r, g, b),
// although I've not run into a situation where that actually happens
return 1;
var rgb = match.slice(1, 4).map(parseFloat);
return (0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]) / 255;
// Determines correct section text color based on section background color
var sections = document.querySelectorAll('.slide:not(.s-hidden-section) .s-section');
applyLightTextOverride(sections, getLuma);
document.querySelector('#hide-section-contents-style').remove();
)();
)()
All Posts
×
window.jQuery || document.write('');
//
var _gaq = _gaq || [];
// Google Analytics (Universal) Setup
(function(i,s,o,g,r,a,m)i['GoogleAnalyticsObject']=r;i[r]=i[r])(window,document,'script','//www.google-analytics.com/analytics.js','__ga');
window.pingpp =
OTMhDMq,2VRDKEfvBRmqh7,ufQnyD3cDYEivlKigx4,vLa YEdHcl4jUR9cf