Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html lang="pl">
<head>
    <meta charset="utf-8" />
    <title>Pythoner - Więcej niż kod!</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <link rel="stylesheet" href="style.css" type="text/css" />
    <link href="https://fonts.googleapis.com/css?family=Lobster|Open+Sans|Oswald" rel="stylesheet">
    <link rel="stylesheet" href="css/fontello.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
    <script src="http://pythoner.ucoz.pl/jquery.scrollTo.min.js"></script>

    <script>

        //ScrollTo
        jQuery(function($)
        {
            $.scrollTo(0);

            $('.scrollup').click(function() { $.scrollTo($('main'), 500); });
        }
        );

        $(window).scroll(function()
        {
            if($(this).scrollTop()>250) $('.scrollup').fadeIn();
            else $('.scrollup').fadeOut();
        }
        );

        //Sticky menu
        $(document).ready(function() {
        var NavY = $('nav').offset().top;

        var stickyNav = function(){
        var ScrollY = $(window).scrollTop();

        if (ScrollY > NavY) {
            $('nav').addClass('sticky');
        } else {
            $('nav').removeClass('sticky');
        }
        };

        stickyNav();

        $(window).scroll(function() {
            stickyNav();
        });
        });

    </script>

    <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
    <![endif]-->

</head>

<body>

    <a href="#" class="scrollup"></a>

        <h1 class="logo"><a href="./index.html">Pythoner</a></h1>

    <header>

         <nav>

            <div class="nav">

                <ol>
                    <li class="limenu"><a href="./index.html">Strona główna</a></li>
                    <li class="limenu"><a href="./czymjestpython.html">Czym jest Python?</a></li>
                    <li class="limenu"><a>Jak zacząć?</a>
                        <ul class="ulmenu">
                            <li class="limenu2"><a href="#">Wiedza podstawowa</a></li>
                            <li class="limenu2"><a href="#">Wybór środowiska</a></li>
                            <li class="limenu2"><a href="#">Składnia</a></li>
                            <li class="limenu2"><a href="#">Zalecenia</a></li>
                            <li class="limenu2"><a href="#">Ciekawostki</a></li>
                        </ul>
                    </li>
                    <li class="limenu"><a>Podstawowe funkcje</a>
                        <ul class="ulmenu">
                            <li class="limenu2"><a href="#">Podstawowe komendy</a></li>
                            <li class="limenu2"><a href="#">Warunki IF</a></li>
                            <li class="limenu2"><a>Pętle <span class="arrow">&#8628;</span></a>
                                <ul class="ulmenu2">
                                    <li class="limenu3"><a href="#">While</a></li>
                                    <li class="limenu3"><a href="#">For</a></li>
                                    <li class="limenu3"><a href="#">Podsumowanie</a></li>
                                </ul>
                            </li>
                            <li class="limenu2"><a href="#">Funkcje</a></li>
                            <li class="limenu2"><a href="#">Funkcje obiektowe</a></li>
                            <li class="limenu2"><a href="#">Klasy</a></li>
                        </ul>
                    </li>
                    <li class="limenu"><a class="menu">Ćwiczenia</a>
                        <ul class="ulmenu">
                            <li class="limenu2"><a href="#">Dla początkujących</a></li>
                            <li class="limenu2"><a href="#">Dla zaawansowanych</a></li>
                        </ul>
                    </li>
                    <li class="limenu"><a>Przykładowe skrypty</a>
                        <ul class="ulmenu">
                            <li class="limenu2"><a href="#">Proste</a></li>
                            <li class="limenu2"><a href="#">Złożone</a></li>
                        </ul>
                    </li>
                    <li class="limenu"><a href="https://www.python.org/" target="_blank">Python.org</a></li>
                </ol>

            </div>

        </nav>

    </header>

    <main>

        <article>

            <div class="topbarimg">
                <img src="http://pythoner.ucoz.pl/img/topbarimg.png" />
            </div>

            <section>
                <div class="start">
                    <header>
                        <h1>Witaj w świecie Python'a!</h1>
                        <p>
                            "Python has been an important part of Google since the beginning, and remains so as the system grows and
                            evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this
                            language."
                            <br />
                            <p style="text-align: right; font-family: 'Oswald', sans-serif;">
                                ~Google
                            </p>
                    </header>
                </div>
            </section>

            <section>
                <div class="bgcolor">
                    <div class="pythoner">
                        <header>
                            <h1>Czym jest Pythoner?</h1>
                                <p>Pythoner to Polski blog internetowy, którego celem jest poznanie i przybliżenie czytelnikowi w przystępnej i zrozumiałej formie języka programowego, jakim jest Python. Moim marzeniem jest utworzenie obszernego serwisu o szeroki zakres wiedzy dotyczącej jednego z najpopularniejszych i najbardziej uniwersalnych języków programowania, jakim jest Python!</p>
                                <p>Pythoner jest prowadzony przez hobbistę starającego się przekazać wiedzę, jaką sam zdobył w jak najlepszym stylu, tym samym zależy mi na jakość serwisu, przez co proszę o kontakt, gdy tylko odnajdziesz na stronie jakikolwiek błąd lub będziesz miał propozycję dotyczącą rozwoju bloga! :)</p>
                        </header>
                    </div>

                    <div class="contact">
                        <h2>KONTAKT</h2>
                    </div>

                </div>
            </section>

        </article>

    </main>

    <footer>

    	<div class="socials">
    		<div class="socialdivs">
    			<div class="fb">
    				<i class="icon-facebook"></i>
    			</div>
    			<div class="yt">
    				<i class="icon-youtube"></i>
    			</div>
    			<div class="tw">
    			    <i class="icon-twitter"></i>
    			</div>
    			<div class="gplus">
    				<i class="icon-gplus"></i>
    			</div>
    			<div style="clear:both"></div>
    		</div>
    	</div>

    	<div class="info">
    		Wszelkie prawa zastrzeżone &copy; Pythoner - Powered by Mateusz Pijanowski
    	</div>

	</footer>

</body>
</html>

              
            
!

CSS

              
                /*Style CSS by Mateusz Pijanowski*/

body
{
    margin: 0;
    /*background-color: #0E0F13;*/
    background-color: #191d21;
    color: #efefef;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
}

/* LOGO */

h1.logo
{
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
    opacity: 0.9;
    font-size: 350%;
    font-weight: 700;
    color: #ddd;
    text-align: center;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 50px;
    transform: scale(1,1);
    transition-timing-function: ease-out;
    -webkit-transform: scale(1,1);
    -webkit-transition-timing-function: ease-out;
    -moz-transform: scale(1,1);
    -moz-transition-timing-function: ease-out;
    background: linear-gradient(currentColor, currentColor) bottom / 0 .1em no-repeat;
    transition: all 0.8s;
    -webkit-box-shadow: 0px 0px 0px 5px #1c74b2;
    -moz-box-shadow: 0px 0px 0px 5px #1c74b2;
    box-shadow: 0px 0px 0px 5px #1c74b2;
}

h1.logo:hover
{
    opacity: 1;
    transform: scale(1.05,1.07);
   transition-timing-function: ease-out;
   -webkit-transform: scale(1.05,1.07);
   -webkit-transition-timing-function: ease-out
   -moz-transform: scale(1.05,1.07);
   -moz-transition-timing-function: ease-out;
   position: relative;
   z-index: 100;
   cursor: pointer;
   background-size: 100% .1em;
   transition: all 0.8s;
}

h1 a
{
    text-decoration: none;
    color: #ddd;
}

.content
{
    background-color: #191d21;
}

.content > article
{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    background-color: #191d21;
}

article > header > h1
{
    text-align: left;
    margin-top: 40px;
    margin-bottom: 50px;
    border-bottom: 3px dotted #1c74b2;
    font-size: 64px;
}

article > p
{
    font-size: 26px;
}

article > p > img
{
    height: 300px;
    width: 1000px;
    margin-top: 50px;
}

/* MENU */

nav
{
    background-color: #1c74b2;
    text-align: center;
    width: 100%;
}

ol
{
	padding: 10px;
	margin: 0;
	list-style-type: none;
	font-size: 22px;
	line-height: 200%;
	display: inline-block;
}

ol a
{
	color: #ffffff;
	text-decoration: none;
	display: block;
}

.limenu
{
	float: left;
	width: 200px;
	height: 36px;
	border-right: 1px dashed #0a2b42;
}

.limenu:first-child
{
	border-left: 1px dashed #0a2b42;
}

.limenu:hover
{
	background-color: #1c74b2;
    cursor: pointer;
}

.limenu:hover > a
{
	color: #0a2b42;
}

.ulmenu
{
	list-style-type: none;
	padding: 0;
	margin: 0;
	height: 40px;
	display: none;
}

.limenu:hover > ul
{
	display: block;
}

.limenu2:hover > ul
{
	display: block;
}

.limenu2
{
    display: block;
	background-color:#1c74b2;
	position: relative;
	z-index: 100;
	border-top: 1px dashed #0a2b42;
}

.limenu2:hover
{
	background-color: #1c74b2;
}

.limenu2:hover > a
{
	color: #0a2b42;
}

.ulmenu2
{
    list-style-type: none;
	padding: 0;
	margin: 0;
    width: 100%;
    position: absolute;
    top: -1px;
	display: none;
}

.limenu3
{
    display: block;
    background-color:#1c74b2;
    width: 100%;
    margin-left: 200px;
    border-top: 1px dashed #0a2b42;
}

.limenu3:hover
{
	background-color: #1c74b2;
}

.limenu3:hover > a
{
	color: #0a2b42;
}

.arrow
{
    position: absolute;
    padding-left: 50px;
}

/* CONTENT */

main
{
    background-color: #0E0F13;
}

.start
{
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 950px;
    text-align: center;
    padding: 0;
    font-size: 26px;
    font-family: 'Lobster', cursive;
    background-color: #0E0F13;
}

h1
{
    text-align: center;
    font-size: 44px;
    font-weight: 400;
    color: #39a5f1;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.topbarimg
{
    max-height: 1px;
}

.topbarimg > img
{
    max-width: 100% !important;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pythoner
{
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 700px;
    width: 1200px;
    padding-bottom: 30px;
}

.pythoner > header > p
{
    font-size: 27px;
}

.bgcolor
{
    width: 100%;
    height: 620px;
    background-color: #191d21;
}

.contact
{
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    width: 300px;
    height: 60px;
    /*background-color: #39a5f1;*/
    background-color: #0E0F13;
    -webkit-box-shadow: 0px 0px 0px 3px #1c74b2;
    -moz-box-shadow: 0px 0px 0px 3px #1c74b2;
    box-shadow: 0px 0px 0px 3px #1c74b2;
}

.contact:hover
{
    cursor: pointer;
    background-color: #39a5f1;
}

h2
{
    font-size: 28px;
    text-align: center;
    margin: auto;
}

/* FOOTER */

footer
{
    padding-top: 50px;
}

.socials
{
	width:100%;
	text-align: center;
	background-color: #0E0F13;
    -webkit-box-shadow: 0px 0px 50px 10px rgba(14,15,19,0.8);
    -moz-box-shadow: 0px 0px 50px 10px rgba(14,15,19,0.8);
    box-shadow: 0px 0px 50px 10px rgba(14,15,19,0.8);
}

.socialdivs
{
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.fb
{
	width: 250px;
	height: 155px;
	float:left;
}

.fb:hover
{
	background-color: #4668b3;
    cursor: pointer;
}

.yt
{
	width: 250px;
	height: 155px;
	float:left;
}

.yt:hover
{
	background-color: #d94348;
    cursor: pointer;
}

.tw
{
	width: 250px;
	height: 155px;
	float:left;
}

.tw:hover
{
	background-color: #3095d3;
    cursor: pointer;
}

.gplus
{
	width: 250px;
	height: 155px;
	float:left;
}

.gplus:hover
{
	background-color: #d95333;
    cursor: pointer;
}

.info
{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 20px;
    background-color: #191d21;
}

/*JS script StickyMenu*/
.sticky
{
    position: fixed;
    left: 200;
    top: 0;
    z-index: 100;
}

/*JS script ScrollTo*/
.scrollup
{
    min-width: 64px;
    min-height: 64px;
    width: auto;
    height: auto;
    text-decoration: none;
    background: url("img/up.png") no-repeat 0px 0px;
    position: fixed;
    right: 50px;
    bottom: 50px;
    display: none;
}

/*Responsive mode*/
@media only screen and (max-width: 1450px)
{
    body
    {
        margin: 0;
        padding: 0;
        /*background-color: #0E0F13;*/
        background-color: #191d21;
        color: #efefef;
        font-family: 'Oswald', sans-serif;
        font-size: 21px;
        width: 1450px;
        height: auto;
    }

    .start
    {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        width: 950px;
        text-align: center;
        padding: 0;
        font-size: 15px !important;
        font-family: 'Lobster', cursive;
        background-color: #0E0F13;
    }

    .info
    {
    	margin-left: auto;
    	margin-right: auto;
    	text-align: center;
    	padding: 20px;
        font-size: 15px;
        background-color: #191d21;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console