Skip to content

Latest commit

 

History

History
121 lines (114 loc) · 5.48 KB

404.md

File metadata and controls

121 lines (114 loc) · 5.48 KB
layout permalink sitemap
default
/404.html
false
<style media="screen"> body { color: #515151; } .container { margin: 10px auto; text-align: center; } h1 { margin: 30px 0; font-size: 4em; line-height: 1; letter-spacing: -1px; } *{ margin:0; padding:0; } h2 { font-weight: bold; font-size: 2rem; } p { font-family: 'Reenie Beanie'; font-size: 2rem; } ul,li{ list-style:none; } ul{ display: flex; flex-wrap: wrap; justify-content: center; } ul li a{ text-decoration:none; color:#000; background:#ffc; display:block; height:10em; width:10em; padding:1em; box-shadow: 5px 5px 7px rgba(33,33,33,.7); transform: rotate(-6deg); transition: transform .15s linear; } ul li:nth-child(even) a{ transform:rotate(4deg); position:relative; top:5px; background:#cfc; } ul li:nth-child(3n) a{ transform:rotate(-3deg); position:relative; top:-5px; background:#ccf; } ul li:nth-child(5n) a{ transform:rotate(5deg); position:relative; top:-10px; } ul li a:hover,ul li a:focus{ box-shadow:10px 10px 7px rgba(0,0,0,.7); transform: scale(1.25); position:relative; z-index:5; } ul li{ margin:1em; } </style> <script> function getRandomPost(lang) { var posts = {% assign all_posts = site.posts | map: 'url' %}{{ all_posts | jsonify }}; var randomIndex = Math.floor(Math.random() * posts.length); if (lang == '{{site.default_lang}}') { window.location.href = posts[randomIndex]; } else { window.location.href = '/' + lang + '/' + posts[randomIndex]; } } </script>

Fatal Bazooka

EVERYTHINGIS UNDER CTRL