blob: 413fe3f5a97dfc7874a40283253e6d3024e8ca03 [file] [log] [blame]
/*!
* "Fork me on GitHub" CSS ribbon v0.2.0 | MIT License
* https://github.com/simonwhitaker/github-fork-ribbon-css
*/
/* IE voodoo courtesy of http://stackoverflow.com/a/4617511/263871 and
* http://www.useragentman.com/IETransformsTranslator */
html {
overflow: auto;
}
body {
position: relative;
width: 100%;
height: auto;
overflow: hidden;
}
.github-fork-ribbon {
width: 15.38em;
height: 5.62em;
/* IE positioning hack (couldn't find a transform-origin alternative for IE) */
top: -3.92em;
right: -4.46em;
/* IE8+ */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865474, M12=-0.7071067811865477, M21=0.7071067811865477, M22=0.7071067811865474, SizingMethod='auto expand')";
}
.github-fork-ribbon.left-top, .github-fork-ribbon.right-bottom {
/* IE8+ */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865483, M12=0.7071067811865467, M21=-0.7071067811865467, M22=0.7071067811865483, SizingMethod='auto expand')";
}
.github-fork-ribbon:before, .github-fork-ribbon:after {
left: auto !important;
right: auto !important;
font-size: inherit;
}
.github-fork-ribbon.left-top, .github-fork-ribbon.left-bottom {
left: -3.92em;
}
.github-fork-ribbon.left-bottom, .github-fork-ribbon.right-bottom {
bottom: 4.77em;
}