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 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

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

              
                
<div class="container-fluid">
  <!-- Define the outer Containter-->
  <div class="well-background-head well text-center header">
    <!--dfine the main header background container-->
    <div class="well well-header">
      <!--define the header well-->
      <h1> Chris Rutherford Design</h1>
      <p>I'm a late 20's guy learning to design, program, and just be an all around Jack of all Trades techie. This site is designed to showcase my skills and design tastes.</p>
    </div>
     <div id="floating-nav">
    <nav class="navbar navbar-dark">
      <!--Define the Nav Bar-->
      <a target="_blank" href="https://facebook.com/chris.rutherford" class="btn btn-primary"><i class="fa fa-facebook"></i></a>
      <!--button-->
      <a target="_blank" href="https://twitter.com/chrisrutherford" class="btn btn-primary"><i class="fa fa-twitter"></i></a>
      <!--button-->
      <a target="_blank" href="https://www.instagram.com/chrisrutherford/" class="btn btn-sample"><i class="fa fa-instagram"></i></a>
      <!--button-->
      <a target="_blank" href="https://github.com/cjrutherford" class="btn btn-primary"><i class="fa fa-github"></i></a>
      <!--button-->
      <a target="_blank" href="https://www.youtube.com/user/theblahsable" class="btn btn-danger"><i class="fa fa-youtube"></i></a>
      <!--button-->
      <a target="_blank" href="https://www.linkedin.com/in/thecjrutherford" class="btn btn-primary"><i class="fa fa-linkedin"></i></a>
      <!--button-->
      <a href="#Social" class="btn btn-primary">Social Media</a>
      <!--button-->
      <a href="#Projects" class="btn btn-primary">Projects</a>
      <!--button-->
    </nav>
    </div>
    <!--close the header content well-->
  </div>
  <div class="well well-background-social">
    <!--Opening for Social Block BG well-->
    <div class="well well-social text-center" id="Social">
      <!--opening Social header well-->
      <h2>Social Media</h2>
      <p>This is where I keep all my musings, ideas, and thoughts.</p>
    </div>
    <!-- close social media header-->

    <div class="row">
      <div id='social-content'>

        <!--first row div for content blocks-->
        <!--closing for content block-->

        <!-- This content is generated via JQuery insertion and a JSON object defining the particulars of each. This is to provide a way to -->
      </div>

    </div>

  </div>
  <div class="well well-projects">
    <div class="well well-projects-over text-center">
      <h2>Coding Projects</h2>
      <p>This is where I keep all my projects from free code camp and other places. Feel free to look around!</p>
    </div>
    <div class="row">
      <div id="project-content">
        <!--closing for content block-->
        <!--opening div for project blocks-->


      </div>

    </div>
  </div>
</div>
              
            
!

CSS

              
                @import 'https://fonts.googleapis.com/css?family=Arvo|Secular+One|Yellowtail';

/*

heading font is Secular One
Body font is Arvo
decorative font is Yellowtail

*/

body {
  background-color: rgba(155, 151, 155, 0.5);
  background-image: url('http://image.naldzgraphics.net/2012/04/7-dark-tile.jpg');
}

.container-fluid {
  width: 98%;
}

.btn {
  border-width: 3px;
  padding: 10px;
  margin: 10px;
}

.well-background-head {
  background-image: url('http://www.psdgraphics.com/file/green-pattern.jpg');
  margin-bottom: 0;
}

#floating-nav-content {
  top: 0;
  width: 100%;
  height: 20px;
  background-color: #000;
  position: fixed;
  display: none;
  color: #FFF;
  padding: 5px;
  position:fixed;
  float:top;
  
}

.well-background-social {
  background-image: url('http://wallpaperhdwide.com/wp-content/gallery/blue-wallpaper-pattern/blue-pattern.jpg');
  margin-top: 0;
  margin-bottom: 0;
}

.well-projects {
  background: #66ffcc;
  background-image: url("http://images.all-free-download.com/images/graphicthumb/red_blurred_lights_200263.jpg");
  background-repeat: repeat;
  background-size: 100%;
  padding: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.well-projects-over {
  background-color: rgba(204, 0, 0, 0.8);
  font-family: Secular One, sans;
  color: #000;
  margin: 0;
  padding: 0;
  border: none;
}

.well-project-content {
  background-color: rgba(204, 0, 0, 0.5);
  font-family: Secular One, sans;
  color: #000;
  width: 300px;
  height: 300px;
  margin: 0;
  border-width: 10px;
}

.well-header {
  background-color: rgba(129, 190, 110, 0.8);
  font-family: Secular One, sans;
  color: #000;
  border: none;
}

p {
  font-family: Arvo, serif;
}

.well-social-content {
  background-color: rgba(51, 153, 255, 0.9);
  font-family: Secular One, sans;
  color: #000;
  width: 300px;
  height: 300px;
  margin: 0;
  border-width: 10px;
}

.well-social {
  background-color: rgba(51, 153, 255, 0.8);
  font-family: Secular One, sans;
  color: #000;
  border: none;
  margin: 0;
  padding: 0;
}

.btn-sample {
  color: #ffffff;
  background-color: #BD1B69;
  border-color: #BD1B69;
}

.btn-sample:hover,
.btn-sample:focus,
.btn-sample:active,
.btn-sample.active,
.open .dropdown-toggle.btn-sample {
  color: #ffffff;
  background-color: #A30872;
  border-color: #BD1B69;
}

.btn-sample:active,
.btn-sample.active,
.open .dropdown-toggle.btn-sample {
  background-image: none;
}

.btn-sample.disabled,
.btn-sample[disabled],
fieldset[disabled] .btn-sample,
.btn-sample.disabled:hover,
.btn-sample[disabled]:hover,
fieldset[disabled] .btn-sample:hover,
.btn-sample.disabled:focus,
.btn-sample[disabled]:focus,
fieldset[disabled] .btn-sample:focus,
.btn-sample.disabled:active,
.btn-sample[disabled]:active,
fieldset[disabled] .btn-sample:active,
.btn-sample.disabled.active,
.btn-sample[disabled].active,
fieldset[disabled] .btn-sample.active {
  background-color: #BD1B69;
  border-color: #BD1B69;
}

.btn-sample .badge {
  color: #BD1B69;
  background-color: #ffffff;
}
              
            
!

JS

              
                socialSites = [{
  "name": "facebook",
  "logo": "https://www.facebookbrand.com/img/fb-art.jpg",
  "color": "blue",
  "tagline": "Personally Personable",
  "text": "I tend to maintain the most engagement on Facebook, and love adding new friends and sharing cool stuff here!",
  "address": "https://facebook.com/chris.rutherford",
  "link": "Follow My Timeline"
}, {
  "name": "twitter",
  "logo": "http://edgetulsa.com/wp-content/uploads/2016/03/twitter-logo-618-340x300.jpg",
  "color": "blue",
  "tagline": "Terrifically Tweetable",
  "text": "I tend to stay on Twitter infrequently, but I love to follow people and see what they're up to on Twitter.",
  "address": "https://twitter.com/chrisrutherford",
  "link": "See My Tweets"
}, {
  "name": "github",
  "logo": "https://cdn4.iconfinder.com/data/icons/iconsimple-logotypes/512/github-512.png",
  "color": "blue",
  "tagline": "Competantly Coding",
  "text": "Learning to code as I go, and everything I do is being placed on GitHub. Feel free to message me and tell me what you think, and how I could improve!",
  "address": "https://github.com/cjrutherford",
  "link": "Fork Me!"
}, {
  'name': 'instagram',
  'logo': 'https://www.seeklogo.net/wp-content/uploads/2015/08/instagram-icon-circle-vector-logo.png',
  'color': 'magenta',
  'tagline': 'Forever Photogenic',
  'text': "I'm constantly taking photos of everything I'm passionate about! Freel free to follow my feed!",
  'address': 'https://www.instagram.com/chrisrutherford',
  'link': 'Follow My Photostream'
}, {
  'name': 'youtube',
  'logo': 'https://cnd3.iconfinder.com/data/icons/social-icons-5/607/YouTube_Play.png',
  'color': 'red',
  'tagline': 'Vivacious Video',
  'text': "Slowly building a chanel dedicated to design and video game streams!",
  'address': 'https://www.youtube.com/user/theblahsable',
  'link': 'youTube'
}, {
  'name': 'linkedin',
  'logo': 'https://gradle.org/wp-content/uploads/2016/02/linkedin-logo.png',
  'color': 'blue',
  'tagline': 'Constantly Connecting',
  'text': "I'm constantly updating my resume, and the easiest place is on LinkedIn, so please feel free to connect with me!",
  'address': 'https://linkedin.com/in/thecjrutherford',
  'link': 'Connect!'
}];

projects = [{
  'name':'tribute',
  'url' : 'https://codepen.io/christopherrutherford/pen/Vjpdmg',
  'img': 'http://i.ebayimg.com/00/s/NTE4WDUyMA==/z/gxQAAOxy02dRgEga/$T2eC16J,!w0E9szN(W+hBRgEg,b69g~~60_35.JPG',
  'heading': 'Tribute to a Wilde One.',
  'description':"This is a simple project that was to prove the student's ability to work with HTML and CSS only",
  'link':'Go Wilde'
},{
  'name':'localWeather',
  'url' : 'https://codepen.io/christopherrutherford/pen/YWxNJz',
  'img': 'https://www.mikeafford.com/store/store-images/tv03_example_light_rain_showers.png',
  'heading': 'Local Weather?.',
  'description':"This is a simple project that was to prove the student's ability to work with HTML, CSS, and JavaScript to pull data from a weather API and perform normal operations on it.",
  'link':'Getting Warm!'
},{
  'name':'quotomatic5000',
  'url' : 'https://codepen.io/christopherrutherford/pen/KrqxkJ',
  'img': 'https://d30y9cdsu7xlg0.cloudfront.net/png/22003-200.png',
  'heading': 'Penny For Your Thoughts?',
  'description':"This is a simple project that was to prove the student's ability to work with HTML, CSS, and JavaScript to work with JSON Data.",
  'link':'Get Inspired!'
},{
  'name':'wikiThat',
  'url' : 'https://codepen.io/christopherrutherford/pen/OXOPxW',
  'img': 'https://upload.wikimedia.org/wikipedia/commons/d/de/Wikipedia_Logo_1.0.png',
  'heading': 'Let Me Wiki That For You',
  'description':"This is a simple project that was to prove the student's ability to work with HTML, CSS, and JavaScript to pull data from a the wikipedia API and perform normal operations on it.",
  'link':'Get Smart!'
}]
/* Pomodoro: https://codepen.io/christopherrutherford/pen/dXdVZG*/
function loadProject() {

}

function loadSocial() {
  for (var i = 0; i < socialSites.length; i++) {
    var name = socialSites[i].name;
    var iUrl = socialSites[i].logo;
    var tag = socialSites[i].tagline;
    var text = socialSites[i].text;
    var pUrl = socialSites[i].address;
    var link = socialSites[i].link;
    $('#social-content').append('<div class="well well-social-content col-md-4 text-center"><!--opening for content block--><img src="' + iUrl + '" alt="My Headshot" class="img-circle img-thumbnail center-block" width="10%"><h4 class="tagline">' + tag + '</h4><p class="description">' + text + '</p><a href="' + pUrl + '" target="_blank" class="btn btn-primary fa fa-' + name + '"> ' + link + '</a></div>');
  }
  
  for (i = 0; i < projects.length; i++) {
    var title = projects[i].name;
    var url = projects[i].url;
    var img = projects[i].img;
    var head = projects[i].heading;
    var desc = projects[i].description;
    var lnk = projects[i].link;
    $('#project-content').append('<div class="well well-project-content col-md-4 text-center"><!--opening for content block--><img src="'+img+'" alt="My Headshot" class="img-circle img-thumbnail center-block" width="10%"><h4 class="tagline">'+head+'</h4><p class="description">'+desc+'</p><a href="'+url+'" target="_blank" class="btn btn-primary fa">'+link+'</a></div>');
  }
}

$(document).ready(loadSocial);
/*$(document).scroll(function(){
  if($(this).scrollTop() == 0){
    $('#floating-nav').slideUp(400);
  }else{
    $('#floating-nav').slideDown(600);
  }
});*/
              
            
!
999px

Console