Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- This is free and unencumbered software released into the public domain.
- Anyone is free to copy, modify, publish, use, compile, sell, or
- distribute this software, either in source code form or as a compiled
- binary, for any purpose, commercial or non-commercial, and by any
- means.
- In jurisdictions that recognize copyright laws, the author or authors
- of this software dedicate any and all copyright interest in the
- software to the public domain. We make this dedication for the benefit
- of the public at large and to the detriment of our heirs and
- successors. We intend this dedication to be an overt act of
- relinquishment in perpetuity of all present and future rights to this
- software under copyright law.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- OTHER DEALINGS IN THE SOFTWARE.
- For more information, please refer to <http://unlicense.org/>
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <title>CodePen - Wordpress Swell Lite theme remake</title>
- <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css">
- <style type="text/css">
- html {
- box-sizing: border-box;
- }
- *, *:before, *:after {
- box-sizing: inherit;
- }
- body {
- margin: 0;
- color: #333333;
- background-color: #EEEEEE;
- font-family: sans-serif;
- }
- a {
- color: #05ad9c;
- text-decoration: none;
- }
- a:hover, a:focus {
- text-decoration: underline;
- }
- header[role="banner"] {
- padding: 3em 0;
- margin: 0;
- text-align: center;
- color: #fff;
- background-color: #495150;
- }
- header[role="banner"] a {
- color: inherit;
- }
- header[role="banner"] a:hover, header[role="banner"] a:focus {
- text-decoration: none;
- color: rgba(255, 255, 255, 0.8);
- }
- header[role="banner"] h1 {
- font-size: 3rem;
- margin-bottom: 0.4rem;
- }
- header[role="banner"] h2 {
- font-size: 1.2rem;
- color: rgba(255, 255, 255, 0.6);
- }
- .navbar {
- text-align: center;
- padding: 1em 0;
- background-color: #fff;
- }
- .navbar.closed > a:not(.nav-toggle) {
- display: none;
- }
- .navbar > a {
- color: inherit;
- text-decoration: none;
- text-transform: uppercase;
- display: block;
- padding: 1rem 0;
- }
- .navbar > a.nav-toggle {
- display: block;
- }
- .wrap {
- max-width: 996px;
- }
- .wrap:before, .wrap:after {
- content: "";
- display: table;
- }
- .wrap:after {
- clear: both;
- }
- main {
- padding: 1rem;
- margin: 1rem 1rem;
- background-color: #fff;
- box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
- }
- aside {
- padding: 2rem;
- }
- .sidebar li {
- list-style-type: none;
- }
- footer {
- padding: 3rem 4rem;
- background-color: #495150;
- color: rgba(255, 255, 255, 0.4);
- }
- footer a {
- color: rgba(255, 255, 255, 0.6);
- }
- @media (min-width: 40em) {
- .navbar > a:not(.nav-toggle), .navbar.closed > a:not(.nav-toggle) {
- display: inline-block;
- width: 5em;
- padding: 0;
- }
- .navbar > a.nav-toggle, .navbar.closed > a.nav-toggle {
- display: none;
- }
- main {
- float: left;
- width: 60%;
- }
- aside {
- float: right;
- width: 35%;
- }
- }
- </style>
- </head>
- <body>
- <header role="banner">
- <h1><a href="https://wordpress.org/themes/swell-lite/">Site Title</a></h1>
- <h2>description of this strange, strange site</h2>
- </header>
- <nav class="navbar">
- <a href="#" class="nav-toggle">Menu</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- </nav>
- <div class="wrap">
- <main id="content" role="main">
- <h1>Page Title</h1>
- <p>Much slight octopus one gosh chameleon more gosh well jaguar adamant packed dear more and as gibbered reindeer fussy manatee jeepers about however regarding yikes notwithstanding pre-set innocently the sound picked much conveniently much this.</p>
- <p>Diligent lantern much lavish less one thus made gosh positively wistfully the far shark iguana decided depending ouch macaw overdrew slit sought alert less gawky hey thus sulky rethought.</p>
- </main>
- <aside role="complementary">
- <h2>Sidebar</h2>
- <nav class="sidebar">
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- </nav>
- </aside>
- </div>
- <footer role="contentinfo">
- <small>© 1970 this guy</small><br />
- <small>Swell Lite from <a href="http://organicthemes.com/">Organic Themes</a></small>
- </footer>
- <script src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
- <script type="text/javascript">
- $(function() {
- /*
- This way, the mobile menu doesn't dissapear for people with noscript and such.
- */
- $('.navbar').addClass('closed');
- $('.nav-toggle').click(function() {
- /*
- Normally, I would use a data-target attribute
- on the nav-toggle, but I can't be bothered at
- this time.
- */
- $('.navbar').toggleClass('closed');
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement