Created
February 20, 2018 00:58
-
-
Save anonymous/7583fa61f6ec93f3194c1fcd5ee48918 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ <div id="container" class="container"> <div id="output" class="container"> </div> <ul id="links" class="links"> <p>Press space to drop or pick up the light. Enter key to add another one</p> <li><a class="who" href="https://twitter.com/msurguy" target="_blank">by msurguy</a></li> <li><a class="blog" href="http://maxoffsky.com" target="_blank">Blog post</a></li> <li><a class="source" href="https://github.com/msurguy/triangles" target="_blank">GitHub</a></li> </ul> </div> <div id="controls" class="controls"> </div> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,134 @@ @import url(https://fonts.googleapis.com/css?family=Gabriela|Dosis:200); body { font-family: "Vidaloka", serif; font-smoothing: antialiased; font-weight: normal; background: #151618; color: #FFF; margin: 0; } h1 { text-transform: uppercase; letter-spacing: 4px; font-weight: normal; font-size: 16px; } p { line-height: 1.6em; text-align: center; font-size: 14px; } p + p { margin-top: 1.0em; } a { transition: color 0.2s ease-out; text-decoration: none; color: #FBB; } a:hover { color: #444; } .overlay { pointer-events: none; position: absolute; height: 100%; width: 100%; left: 0; top: 0; } .container { position: absolute; height: 100%; width: 100%; } .controls { font-smoothing: subpixel-antialiased; position: absolute; right: 20px; top: 0; } .links { position: absolute; list-style: none; width: 120px; bottom: 40px; right: 20px; padding: 0; margin: 0; } .links p{ font-smoothing: subpixel-antialiased; font-family: 'Dosis', sans-serif; text-transform: uppercase; text-align: center; padding: 0.25em 0; letter-spacing: 2px; font-weight: 200; font-size: 10px; display: block; width: 100%; opacity: 0.6; color: #FFF; } .links li { border-bottom: #222 1px solid; border-bottom: rgba(255,255,255,0.1) 1px solid; } .links li a { transition: opacity 0.2s ease-out; font-smoothing: subpixel-antialiased; font-family: 'Dosis', sans-serif; text-transform: uppercase; text-align: right; padding: 0.25em 0; letter-spacing: 2px; font-weight: 200; font-size: 12px; display: block; width: 100%; opacity: 0.4; color: #FFF; } .links li a:hover { opacity: 0.8; } .links li .who:before { opacity: 0.5; content: '@'; float: left; } .links li .source:before { opacity: 0.5; content: '{}'; float: left; } .links li .blog:before { opacity: 0.5; content: '&'; float: left; } .hide { opacity: 0; } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Triangle pattern generator -------------------------- This is my open source project that allows creating some incredible wallpapers/web site graphics, feel free to improve on it and use it for commercial or free projects A [Pen](https://codepen.io/libertario/pen/GQxgyV) by [Libertar.io](https://codepen.io/libertario) on [CodePen](https://codepen.io). [License](https://codepen.io/libertario/pen/GQxgyV/license).