Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

Save Automatically?

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

              
                <head>  
   <!-- GOOGLE FONTS FOR HEADINGS -->
  <link href="https://fonts.googleapis.com/css?family=Ewert|Galada|Sansita+One|Shrikhand" rel="stylesheet"> 
  <!-- GOOGLE FONTS FOR PARAGRAPHS -->
  <link href="https://fonts.googleapis.com/css?family=Amaranth|Exo|Pathway+Gothic+One|Yanone+Kaffeesatz" rel="stylesheet">  
   <!-- FONT AWESOME --> 
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  
  <script>
        $(document).ready(function (){
            $("#c3").click(function (){
                $('html, body').animate({
                    scrollTop: $("#contact").offset().top
                }, 2000);
            });
        });
    </script>
  
</head>

  <!----// NAVBAR //---->
  <!----// NAVBAR //---->
  <!----// NAVBAR //---->

<header>
  <nav class="navbar navbar-default">
    <div class="container">
      <div class="row">
        <div class="col-sm-12">    

          <div class="navbar-header clearfix" role="navigation">        
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"         data-target="navbar-collapse-woo-woo" aria-expanded="false" style="border:2px solid #424242; color:#424242;">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar" style="border:1px solid #424242;"></span>
              <span class="icon-bar" style="border:1px solid #424242;"></span>
              <span class="icon-bar" style="border:1px solid #424242;"></span>
            </button>        
              <a class="navbar-brand" style="color:#424242;" href="#">Rok Slana</a>        
          </div><!-- NAVBAR HEADER -->

          <div class="collapse navbar-collapse" id="navbar-collapse-woo-woo" role="navigation">
            <ul class="nav navbar-nav navbar-right">
              <li><a id="a1" href="#about">About</a></li>
              <li><a id="p2" href="#portfolio" >Portfolio</a></li>
              <li><a id="c3" href="#contact" >Contact</a></li>
            </ul>   
          </div><!-- NAVBAR COLLAPSE -->

        </div><!-- ADDED WRAPPER (TO NO GREAT AVAIL) -->
      </div><!-- ROW -->
    </div><!-- CONTAINER -->
  </nav><!-- NAV SECTION -->
</header><!-- HEADER -->
  
  <!----// ABOUT //---->
  <!----// ABOUT //---->
  <!----// ABOUT //---->

<body>
  
  <section id="about">
    <div class="container">
      <div class="row">

        <div class="col-sm-12 col-md-12 col-lg-4 text-center">
          <img class="img-rok"src="https://avatars.githubusercontent.com/u/23530173?v=3"/>
        </div><!-- IMAGE ROK -->

        <div class="col-sm-12 col-md-12 col-lg-8 frame rok-slana">        
          <h3>About</h3>
          <p>I have a face, two eyes and stuff. There is some moustache underneath of what I reffer to as "my nose". That is mosty it. There is more but its out of the picture at the moment.</p>
          <p>Iam a painter. I also code. Iam not a world coding champion - yet. But Iam getting there. Web development is my thing, I like it. Its creative and its fun.</p>
          <p>Below you can find some of the paintings I did before I started coding. I have no Web pages to show here - yet. Iam working on it but its a slow proccess still beacuse Iam not putting anything out there if it is not closest to perfection.</p>
        </div><!-- ABOUT PARAGRAPH -->

      </div><!-- ROW -->
    </div><!-- CONTAINER -->
  </section><!-- SECTION ABOUT -->

  <!----// PORTFOLIO //---->
  <!----// PORTFOLIO //---->
  <!----// PORTFOLIO //---->

  <section id="portfolio">
    <div class="container">
      <div class="row text-center">

        <div class="col-sm-12">
          <h3>Some of my favourite pieces</h3>
        </div><!-- PORTFOLIO HEADING -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2015/05/Silent-Stream-roks.si-oil-on-canvas-100x80.jpg"/></a>      
        </div><!-- IMAGE 1 -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2015/05/A-Toast-roks.si-oil-on-canvas80x85.jpg"/></a>      
        </div><!-- IMAGE 2 -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2014/04/Mislec-The-thinker-100x80-2013.jpg"/></a>     
        </div><!-- IMAGE 3 -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2014/04/Na-robu-sanj-On-the-edge-of-dreams-2013.jpg"/></a>     
        </div><!-- IMAGE 4 -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2014/04/Noetova-barka-Noahs-ark-70x100-2013.jpg"/></a>     
        </div><!-- IMAGE 5 -->

        <div class="col-sm-6 col-md-6">
          <a href="http://www.roks.si/" target="_blank"><img class="img-thumbnail" src="http://www.roks.si/wp-content/uploads/2014/04/Vrba-zalujka-Sage-willow-68cmx88cm-2012.jpg" /></a>      
        </div><!-- IMAGE 6 -->

      </div><!-- ROW -->
    </div><!-- CONATINER -->
  </section><!-- SECTION PORTFOLIO -->

  <!----// CONTACT //---->
  <!----// CONTACT //---->
  <!----// CONTACT //---->

  <section id="contact">
    <div class="container">
      <div class="row">
        <div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2">
          <div class="col-sm-12 text-center">

            <h3><i class="fa fa-hand-o-right"></i> <i class="fa fa-hand-o-left"></i><br>Get in touch</h3></div>
            <p class="text-center">If you would happen to have any inqueries regarding my face, my paintings or the websites Iam working on, you can contact me via the bellow form:</p><!-- CONTACT FORM HEADING AND PARAGRAPH--> 

            <br><!-- BREAK LINE -->

            <form class="text-center">
              <div class="form-group">
                <label for="email" ></label>
                Enter your email below 
                <input type="email" class="form-control" id="email" aria-describedby="emailHelp" placeholder="your.email@example.com" style="font-size:20px;">
              </div><!-- EMAIL INPUT -->       
              <div class="form-group">
                <br><i class="fa  fa-chevron-down "></i> Express yourself here <i class="fa  fa-chevron-down "></i></label>
                <textarea class="form-control" id="exampleTextarea" rows="5" placeholder="Feliz Navidar . . . Feliz Navidar . . ."style="font-size:20px;"></textarea>
              </div><!-- TEXTAREA INPUT-->
              <button type="submit" class="btn">SEND ZE MESSAGE</button>
            </form><!-- CONTACT FORM -->

          </div><!-- INNER COLUMN-->
        </div><!-- ADDITIONA WRAPPER -->
      </div><!-- ROW -->
    </div><!-- CONTAINER -->
  </section><!-- SECTION FORM-->

  <!----// SOCIAL MEDIA //---->
  <!----// SOCIAL MEDIA //---->
  <!----// SOCIAL MEDIA //---->

  <section id="social-media">
    <div class="container">
      <div class="row">

        <div class="col-sm-12 text-center">
          <h3>Find me on social media</h3>
        </div><!-- CONTACT ME HEADING -->

        <br><!-- BREAK LINE --> 

        <div class="col-sm-12 text-center text-center">
            <a id="icon" href="https://www.youtube.com/watch?v=ihW56Xa3XGQ"><i class="fa fa-facebook-square"></i></a>
            <a id="icon" href="https://www.youtube.com/watch?v=E8gmARGvPlI"><i class="fa fa-linkedin-square"></i></a>
            <a id="icon" href="https://www.youtube.com/watch?v=mN7LW0Y00kE"><i class="fa fa-google-plus-square"></i></a>
        </div><!-- SOCIAL MEDIA ICONS -->

      </div><!-- ROW -->
    </div><!-- CONTAINER -->
  </section><!-- SECTION SOCIAL MEDIA-->

</body><!-- BODY -->




              
            
!

CSS

              
                /*
FONTS FOR PLAYING AROUND:

HEADING FONTS:
font-family: 'Ewert', cursive;
font-family: 'Shrikhand', cursive;
font-family: 'Galada', cursive;
font-family: 'Sansita One', cursive;

PARAGRAPH FONTS:
font-family: 'Yanone Kaffeesatz', sans-serif;
font-family: 'Exo', sans-serif;
font-family: 'Pathway Gothic One', sans-serif;
font-family: 'Amaranth', sans-serif;

*/

/* -----// GLOBAL //----- */
/* -----// GLOBAL //----- */
/* -----// GLOBAL //----- */

h1,h2,h3,h4,h5{
  color:#424242;
  font-family: 'Sansita One', cursive;
}
p{
  font-size:22px;
  font-weight:500;
  font-family: 'Pathway Gothic One', sans-serif;
}
body{
  background-color:#FFCDD2;
}

/* -----// SECTION:   NAVBAR          //----- */
/* -----// SECTION:   NAVBAR          //----- */
/* -----// SECTION:   NAVBAR          //----- */

.navbar{
  font-family: 'Sansita One', cursive;
  background:#FCE4EC;
  border-top:3px solid #FFCDD2;
  border-bottom:3px solid #E57373;
}
.navbar li a{
  font-size:20px;
  padding-right:50px;
  padding-left:50px;
  color:#616161;
}
.navbar-brand{
  font-size:28px;
  color:#424242;
}
#navbar-collapse-woo-woo li a{
  color:#424242;
}
#navbar-collapse-woo-woo li a:hover{
  color:white;
  background:#E57373;
  border-radius:5px;
}

/* -----// SECTION:   ABOUT           //----- */
/* -----// SECTION:   ABOUT           //----- */
/* -----// SECTION:   ABOUT           //----- */

.img-rok{
  width:280px;
  border-radius:100%;
  border:7px solid #FCE4EC;
}
.frame{
  background:#FCE4EC;
  border-radius:5px;
  margin-top:7px;
  margin-bottom:30px;
}
#about{
  background:#EF9A9A;
  border-radius:5px;
  margin:30px 0 30px 0;
  padding:25px 0 25px 0;
}

/* -----// SECTION:   PORTFOLIO       //----- */
/* -----// SECTION:   PORTFOLIO       //----- */
/* -----// SECTION:   PORTFOLIO       //----- */

#portfolio h3{
  border-bottom:5px dotted #FFCDD2;
  padding: 30px 0 15px 0;
}
.img-thumbnail{
  height:340px;
  width:500px;
  background:#ecc6c9;/*#f2d9db;/*#FFCDD2;/*darkgray;*/
  margin:30px 0 30px 0px;
  padding:15px;
  border:1px solid #bc8f94;/*#e2cfd1;/*#df9fa5;*/
}
#portfolio{
  background:#FFEBEE;
}

/* -----// SECTION:   CONTACT FORM    //----- */
/* -----// SECTION:   CONTACT FORM    //----- */
/* -----// SECTION:   CONTACT FORM    //----- */

#contact form, 
label, 
label i{
  font-family:'Pathway Gothic One', sans-serif;
  font-weight:100;
  font-size:20px;
}
.form-group{
  padding:0 0 0 0;
}
#contact h3{
  margin:50px 0 30px 0;
}
#contact p{
  margin-bottom:30px;
}
#contact textarea{
  margin-bottom:50px;
}
.btn{
  background-color:#FCE4EC;
  margin-top:-20px;
  margin-bottom:30px;
  border:2px solid #E57373;
  height:45px;
  border-radius:70px;
  font-size:18px;
}
.btn:hover{
  background-color:#E57373;
  color:#FCE4EC;
  border:2px solid #FCE4EC;
}

/* -----// SECTION:   SOCIAL MEDIA    //----- */
/* -----// SECTION:   SOCIAL MEDIA    //----- */
/* -----// SECTION:   SOCIAL MEDIA    //----- */

#social-media{
  background:#FCE4EC;
}
#social-media h3{
  padding:70px 0 20px 0;
  border-bottom:5px double #FFCDD2;
}
#social-media i{
  padding-bottom:50px;
}
#icon{
  font-size:50px;
  padding:70px 30px 50px 30px;
  color:#E57373;
}
#icon:hover{
  color:#424242;
}

/*-----// MEDIA //-----*/
/*-----// MEDIA //-----*/
/*-----// MEDIA //-----*/

@media screen and (max-width : 992px){
    .rok-slana{
        width:100%;
        text-align:center;
    }
    .rok-slana h3{
      padding:15px 0 0 0;
    }
    .rok-slana p{
      padding:0 0 15px 0;
    }
    button .collapsed{
      border:5px solid black;
    }
    .img-rok{
    width:200px;
    }  
}

@media screen and (max-width : 380px){
    #icon{
    padding:70px 10px 50px 10px;
    }
}

@media screen and (min-width : 992px){
    /*.img-rok{
      position:relative;
      bottom:-50px;
    }*/
}

@media screen and (min-width : 1200px){
    .img-rok{
      position:relative;
      bottom:0px;
    }
}
              
            
!

JS

              
                $(document).ready(function (){
            $("#c3").click(function (){
                $('html, body').animate({
                    scrollTop: $("#contact").offset().top
                }, 2000);
            });$("#p2").click(function (){
                $('html, body').animate({
                    scrollTop: $("#portfolio").offset().top
                }, 2000);
            });$("#a1").click(function (){
                $('html, body').animate({
                    scrollTop: $("#about").offset().top
                }, 1000);
            });
        });
              
            
!
999px

Console