UNPKG

node-simple-router

Version:

Yet another minimalistic router for node.js

86 lines (72 loc) 1.51 kB
body { min-height: 2000px; padding-top: 70px; } #forkongithub { z-index: 99000; } #forkongithub a { background:#aa0000; color:#fff; text-decoration:none; font-family:arial, sans-serif; text-align:center; font-weight:bold; padding:5px 40px; font-size:1rem; line-height:2rem; position:relative; transition:0.5s;} #forkongithub a:hover { background:#cc0000; color:#fff;} #forkongithub a::before,#forkongithub a::after { content:""; width:100%; display:block; position:absolute; top:1px;left:0; height:1px; background:#fff;} #forkongithub a::after { bottom:1px;top:auto;} @media screen and (min-width:800px) { #forkongithub { position:absolute; display:block; top:0; right:0; width:200px; overflow:hidden; height:200px;} #forkongithub a { width:200px; position:absolute; top:60px; right:-60px; transform:rotate(45deg); -webkit-transform:rotate(45deg); box-shadow:4px 4px 10px rgba(0,0,0,0.8);}} code.bg { background-color: #ffffff; } code.js { color: #4169e1; } code.coffee { color: #006400; } code.bash { color: navy; font-style: italic; } .router { background-image: url('/img/router50.png'); background-position: top right; background-repeat: no-repeat; background-origin: content-box; } .nsr { color: #ff0000; font-weight: bolder; }