Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <style>
- body {
- font-family: 'ciclefina', italic;
- font-style: oblique;
- font-weight: 400;
- background-color:#b71540;
- }
- h1 {color: #f7f1e3;}
- .topnav {
- overflow: hidden;
- background-color: #333;
- position: relative;
- }
- .topnav #myLinks {
- display: none;
- }
- .topnav a {
- color: white;
- padding: 14px 16px;
- text-decoration: none;
- font-size: 17px;
- display: block;
- }
- .topnav a.icon {
- background: black;
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- }
- .topnav a:hover {
- background-color: #ddd;
- color: black;
- }
- .active {
- background-color: #787878;
- color: white;
- }
- </style>
- </head>
- <body>
- <!-- Simulate a smartphone / tablet -->
- <div class="mobile-container">
- <!-- Top Navigation Menu -->
- <div class="topnav">
- <a href="#home" class="active">Logo</a>
- <div id="myLinks">
- <a href="#news">News</a>
- <a href="#contact">Contact</a>
- <a href="#about">About</a>
- </div>
- <a href="javascript:void(0);" class="icon" onclick="myFunction()">
- <i class="fa fa-bars"></i>
- </a>
- </div>
- <!-- End smartphone / tablet look -->
- </div>
- <script>
- function myFunction() {
- var x = document.getElementById("myLinks");
- if (x.style.display === "block") {
- x.style.display = "none";
- } else {
- x.style.display = "block";
- }
- }
- </script>
- </body>
- </html>
- <body>
- <font color="white">
- <div align="center left">
- </style></head><body><header><h1>This is <em>still</em> a motherfucking website.</h1>
- <aside>And it's more fucking perfect than the last guy's.
- </aside>
- </header><h2>Seriously, it takes minimal fucking effort to improve this shit.
- </h2><p><strong>
- 7 fucking declarations.
- </strong></p><p>
- That's how much CSS it took to turn that <a
- href="http://motherfuckingwebsite.com/">grotesque pile of shit
- </a> into this easy-to-read masterpiece. It's so fucking simple and it <em>still</em> has all the glory of the original perfect-ass website:</p><ul><li>Shit's <em>still</em> lightweight and loads fast</li><li><em>Still</em> fits on all your shitty screens</li><li><em>Still</em> looks the same in all your shitty browsers</li><li>The motherfucker's <em>still</em> accessible to every asshole that visits your site</li><li>Shit's <em>still</em> legible and gets your fucking point across</li></ul><h3>And guess what, motherfucker:</h3><p>You never knew it, but it's easy to improve readability on your site. Here's how.</p><h2>Let it breathe</h2><p>Look at lines 1 and 2 of some shitty website you're building. Assuming they're not married they probably shouldn't be humping. The defaults are trash -- pick a minimum <code>line-height: 1.4</code> for body copy. Headings should be tighter. If you can't see that...piss off.</p><p>If your text hits the side of the browser, fuck off forever. You ever see a book like that? Yes? What a shitty book.</p><h2>A little less contrast
- </h2><p>Black on white? How often do you see that kind of contrast in real life? Tone it down a bit, asshole. I would've even made this site's background a nice <code>#EEEEEE</code> if I wasn't so focused on keeping declarations to a lean 7 fucking lines.</p>
- <h2>Size Matters</h2>
- <p>I know your partner says otherwise, but it's true. Bump that body copy to render close to 16px or more. Smaller type works well for print, not the screen.</p>
- <h2>Line-width, motherfucker</h2>
- <p>Looking at an LCD screen is strainful enough. Don't make me read a line of text that's 200 fucking characters long. Keep it to a nice 60-80 and users might actually read more than one sentence of your worthless dribble.</p>
- <h3>Yes, this is <em>also</em> fucking satire, you fuck</h3>
- <p>I love what the creator of <a
- href="http://motherfuckingwebsite.com/">this site's inspiration</a> did. What I'm saying is that it's so, so simple to make sites easier to read. Websites are broken by default, they are functional, high-performing, and accessible, but they're also fucking ugly. You and all the other web designers out there need to make them not total shit.</p><blockquote>"You're a fucking moron if you use default browser styles."
- <br>
- - Eleanor Roosevelt</blockquote><hr><h2>Epilogue</h2><p>Inspired by the geniuses behind <a
- href="http://motherfuckingwebsite.com/">motherfuckingwebsite.com</a> and <a
- href="http://txti.es">txti</a>.</p><p>This page—that isn't a total fucking eyesore—was created by <a
- href="https://twitter.com/drew_mc">me</a> with help from <a
- href="https://twitter.com/gabehammersmith">him</a>. <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-46163202-2','auto');ga('send','pageview');</script> </body></html>$
- </font>
- </div>
- <center> <audio controls autoplay>
- <source src="http://stream.247drumandbass.com:8000/96k.ogg" type="audio/ogg">
- </audio>
- </center>
- <div id="root"></div>
- <script src="main.js" type="text/javascript"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement