Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <title>Moje zainteresowania</title>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <title>Moje zainteresowania</title>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <script type="text/javascript" src="jquery.touchSwipe.min.js"></script>
- <style type="text/css">
- p {
- font-family: Comfortaa;
- src: url('Comfortaa-Regular.ttf');
- color: white;
- text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px,
- #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
- }
- body {
- background-image: url(background.jpg);
- background-position: center;
- background-attachment: fixed;
- background-repeat: no-repeat;
- -moz-background-size: cover;
- }
- div {
- font-family: Comfortaa;
- src: url('Comfortaa-Regular.ttf');
- font-size:48px;
- color: white;
- text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px,
- #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
- }
- .synth {
- width:320px;
- height:230px;
- margin-left: 7cm;
- border-color: #000000;
- border-style: solid;
- border-width: 5px;
- }
- .indie {
- width: 320px;
- height: 230px;
- float: right;
- margin-right: 8cm;
- border-color: #000000;
- border-style: solid;
- border-width: 5px;
- }
- body, html {
- height: 100%;
- margin: 0;
- overflow:hidden;
- font-family: helvetica;
- font-weight: 100;
- }
- .container {
- position: relative;
- height: 100%;
- width: 100%;
- left: 0;
- -webkit-transition: left 0.4s ease-in-out;
- -moz-transition: left 0.4s ease-in-out;
- -ms-transition: left 0.4s ease-in-out;
- -o-transition: left 0.4s ease-in-out;
- transition: left 0.4s ease-in-out;
- }
- .container.open-sidebar {
- left: 240px;
- }
- .swipe-area {
- position: absolute;
- width: 50px;
- left: 0;
- top: 0;
- height: 100%;
- background: #f3f3f3;
- z-index: 0;
- }
- #sidebar {
- background: #DF314D;
- position: absolute;
- width: 240px;
- height: 100%;
- left: -240px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- }
- #sidebar ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- #sidebar ul li {
- margin: 0;
- }
- #sidebar ul li a {
- padding: 15px 20px;
- font-size: 16px;
- font-weight: 100;
- color: white;
- text-decoration: none;
- display: block;
- border-bottom: 1px solid #C9223D;
- -webkit-transition: background 0.3s ease-in-out;
- -moz-transition: background 0.3s ease-in-out;
- -ms-transition: background 0.3s ease-in-out;
- -o-transition: background 0.3s ease-in-out;
- transition: background 0.3s ease-in-out;
- }
- #sidebar ul li:hover a {
- background: #C9223D;
- }
- .main-content {
- width: 100%;
- height: 100%;
- padding: 10px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- position: relative;
- }
- .main-content .content{
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- padding-left: 60px;
- width: 100%;
- }
- .main-content .content h1{
- font-weight: 100;
- }
- .main-content .content p{
- width: 100%;
- line-height: 160%;
- }
- .main-content #sidebar-toggle {
- background: #DF314D;
- border-radius: 3px;
- display: block;
- position: relative;
- padding: 10px 7px;
- float: left;
- }
- .main-content #sidebar-toggle .bar{
- display: block;
- width: 18px;
- margin-bottom: 3px;
- height: 2px;
- background-color: #fff;
- border-radius: 1px;
- }
- .main-content #sidebar-toggle .bar:last-child{
- margin-bottom: 0;
- }
- </style>
- <script type="text/javascript">
- $(window).load(function(){
- $("[data-toggle]").click(function() {
- var toggle_el = $(this).data("toggle");
- $(toggle_el).toggleClass("open-sidebar");
- });
- $(".swipe-area").swipe({
- swipeStatus:function(event, phase, direction, distance, duration, fingers)
- {
- if (phase=="move" && direction =="right") {
- $(".container").addClass("open-sidebar");
- return false;
- }
- if (phase=="move" && direction =="left") {
- $(".container").removeClass("open-sidebar");
- return false;
- }
- }
- });
- });
- </script>
- </head>
- <body>
- <div class="container">
- <div id="sidebar">
- <ul>
- <li><a href="index.html">Home</a></li>
- <li><a href="synth.html">Muzyka elektroniczna, syntezatory</a></li>
- <li><a href="indie.html">Gry niezależne (indie)</a></li>
- <li><a href="ps.html">Grafika komputerowa</a></li>
- <li><a href="sec.html">Bezpieczeństwo</a></li>
- </ul>
- </div>
- <div class="main-content">
- <div class="swipe-area"></div>
- <a href="#" data-toggle=".container" id="sidebar-toggle">
- <span class="bar"></span>
- <span class="bar"></span>
- <span class="bar"></span>
- </a>
- <div class="content">
- <p align="center"><font size="36">
- Moje zainteresowania
- </font></p>
- <a href="synth.html"><img class="synth" src="synthesizers.jpg" >
- <a href="indie.html"><img class="indie" src="indie.jpg" >
- <br>
- <br>
- <a href="ps.html"><img class="synth" src="ps.jpg" >
- <a href="sec.html"><img class="indie" src="security.jpg" >
- <br>
- <br>
- <br>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment