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
/** | |
* Note that this script is intended to be included at the *end* of the document, before </body> | |
*/ | |
(function (window, document) { | |
if ('open' in document.createElement('details')) return; | |
// made global by myself to be reused elsewhere | |
var addEvent = (function () { | |
if (document.addEventListener) { | |
return function (el, type, fn) { |
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
/* focusin/out event polyfill (firefox) */ | |
!function(){ | |
var w = window, | |
d = w.document; | |
if( w.onfocusin === undefined ){ | |
d.addEventListener('focus' ,addPolyfill ,true); | |
d.addEventListener('blur' ,addPolyfill ,true); | |
d.addEventListener('focusin' ,removePolyfill ,true); | |
d.addEventListener('focusout' ,removePolyfill ,true); |
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
/* focusin/out event polyfill (firefox) */ | |
!function(){ | |
var w = window, | |
d = w.document; | |
if( w.onfocusin === undefined ){ | |
d.addEventListener('focus' ,addPolyfill ,true); | |
d.addEventListener('blur' ,addPolyfill ,true); | |
d.addEventListener('focusin' ,removePolyfill ,true); | |
d.addEventListener('focusout' ,removePolyfill ,true); |
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
# HTTP(S) Stuff | |
# Redirect all users except IE 5-8 & Android < 4 to HTTPS | |
RewriteCond %{SERVER_PORT} !^443$ | |
RewriteCond %{HTTP_USER_AGENT} !MSIE\ [5-8] | |
RewriteCond %{HTTP_USER_AGENT} !Android.*(Mobile)?\ [0-3] | |
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L] |
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
<div class="container list-item story stretched" xid="list-item-9" id="element-337" style="-webkit-transform: translate3d(0px, 4500px, 0px) scaleX(1) scaleY(1) scaleZ(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skewX(0deg) skewY(0deg); min-height: 110px; width: 1280px;"> | |
<div class="inner container-inner list-item-inner" id="element-338"> | |
<div class="container unsized frame list-item-item" xid="container-11" id="element-339"> | |
<div class="inner container-inner" id="element-340"> | |
<div class="image buffered-image story-profile-picture sized" xid="buffered-image-13" id="element-341" style="width: 35px; height: 35px; background-image: url(https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc6/261057_631604675_297058556_q.jpg);"></div> | |
<div class="container inlines unsized story-title" xid="inlines-4" id="element-342"> | |
<div class="inner container-inner inlines-inner" id="element-343"> | |
<div class="text unsized story-t |
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
/** | |
* circled-font | |
*/ | |
/* currently it's an ellipse not a circle */ | |
.iconstyle { | |
background: #000; | |
color: #B4E3FF; | |
border-radius: 50%; | |
padding: .6em; |
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
@import "compass/css3"; | |
.test { | |
+single-transition(border-color 0.5s linear); | |
} | |
// Syntax error: Invalid CSS after "...ngle-transition": expected "{", was "(border-color 0..." | |
// on line 4 of /path/to/sass/style.scss |
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
<!-- Zweiter Versuch ---> | |
<article> | |
<hgroup> | |
<h2>Weitersagen!</h2> | |
<h1>Die führende Social Media Agentur Europas sucht:</h1> | |
</hgroup> | |
<ul> | |
<li>Online Designer (<abbr title="männlich">m</abbr>/<abbr title="weiblich">w</abbr>)</li> | |
<li>Online Konzeptionierer (<abbr title="männlich">m</abbr>/<abbr title="weiblich">w</abbr>)</li> | |
</ul> |