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

              
                <!-->
<head>
<meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
 <link href="https://fonts.googleapis.com/css?family=Raleway:300,700,900" rel="stylesheet">
</head>
</!-->

<body class="preload">
  <div class="header">
    <span="head"><a href="/">Noodle <br> Blog UI</a></span>
  </div>
  <div class="blog-container">

    <div class="post">
      <div class="post-header-group">
        <p class="date">September 5th 2017</p>

        <h2>The shiny new things</h2>

        <h3>
          Duis aute irure dolor in reprehenderit in voluptate velit
          esse cillum dolore eu fugiat nulla pariatur.
        </h3>
      </div>
      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>

      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>

      <h4>Current trends</h4>

      <blockquote cite="">
        Excepteur sint occaecat
        cupidatat non proident.
      </blockquote>

      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>

      <h4>Looking back</h4>

      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>
    </div>


    <hr class="post-divider">

    <div class="post">

      <div class="post-header-group">
        <p class="date">August 17th 2017</p>
        <h2>Excepteur sint occaecat</h2>
        <h3>
          Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </h3>
      </div>

      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>

      <blockquote cite="">
        Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur.
      </blockquote>

      <p>
        Having said that, duis aute irure dolor in reprehenderit in voluptate velit.
      </p>

      <h4>Long story short</h4>

      <p>
        Lorem ipsum dolor sit amet, consectetur <span>adipisicing elit,</span> sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit
        esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
        cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
        est laborum.
      </p>
    </div>

  </div>
  <hr class="last-post">

  <div class="footer">
    <span class="copyright">
      <a href="https://github.com/sssmi/simple-blog-ui">© 2017 Simeon Kerkola</a>
    </span>

  </div>
  <script> </script>
</body>
              
            
!

CSS

              
                $margin-top: 1.5rem;

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "San Francisco", sans-serif, arial;
  line-height: 1.6;
  font-weight: 100;
  color: rgba(0,0,0,.75);
  padding-left: 25px;
  padding-right: 20px;
}

a {
  color: black;
  &:visited {
    color: black;
  }
}

/*verdana*/

.header {
  max-width: 600px;
  line-height: 1.25;
  margin: 20px 0;
  padding-top: $margin-top;

  a{
    color: rgba(158, 135, 69, 0.7);
    font-family: Raleway;
    font-weight: 800;
    font-size: 6.0rem;
    letter-spacing: 15px;
    padding: 0 0 7px 0;
    margin: 0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    -webkit-transition: border-bottom ease .6s;
    -moz-transition: border-bottom ease .6s;
    -o-transition: border-bottom ease .6s;
    transition: border-bottom ease .6s;

    &:hover {
      border-bottom: 1px solid rgba(0,0,0,.55);

      /*
      #ffcf40
      #ffdc73
      #DDBB63
      #67531E
      #A77900

      #7e6a36
      rgba(158, 135, 69, 0.5);
      */
    }
  }
}


.blog-container {
  max-width: 800px;
  padding-top: 1.0rem;
}

.post-header-group {
  padding-bottom: 15px;
}

.date {
  font-family: "arial";
  font-weight: bold;
  font-size: 1.0rem;
  color: #3d7194;
  text-transform: uppercase;
  letter-spacing: .1rem;
}

h2 {
  color: rgba(0,0,0, .85);
  font-family: Raleway;
  font-weight: 700;
  font-size: 2.5rem;
  margin: .75rem 0 1rem 0;
}

h3 {
  font-family: Raleway;
  font-weight: 300;
  font-size: 1.5rem;
  color: rgba(0,0,0, .45);
}

.post {
  margin-top: 1.0rem
}

blockquote {
  font-family: Raleway;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  border-left: 2px solid rgba(0,0,0,.55);
  margin-left: 20px;
  margin-top: $margin-top;
  padding-left: 20px;
}

h4 {
  font-family: Raleway;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 2.0rem auto 0;
}

p {
  margin-top: $margin-top;
  font-size: 1.25rem;
}

span {
  font-size: 1.0em;
}

hr.post-divider, hr.last-post{
  border: 1px solid #f1f1f1;
  width: 66%;
  margin: 5.0rem auto 5.0rem auto;
}
.footer {
  color: #a1a1a1;
  text-align: center;
  width: 100%;
  font-size: 0.75rem;
  padding-bottom: 16px;

  a {
    text-decoration: none;
    color: inherit;
  }
}

.copyright{
  padding: 0 .2rem;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.5s, color 0.5s;
  text-decoration: none;

  &:hover {
    color: black;
    border-bottom-color: #a1a1a1;
  }
}

/* TODO - nice gradiant bottom border and transition
.copyright{
padding: 0 .2rem;
border-bottom: 1px solid transparent;
-webkit-transition: background 0.5s, color 0.5s;
-moz-transition: background 0.5s, color 0.5s;
-o-transition: background 0.5s, color 0.5s;
-ms-transition: background 0.5s, color 0.5s;
transition: background 0.5s ease, color 0.5s;
text-decoration: none;
}

.copyright:hover {
color: black;
background:
linear-gradient(
to left,
rgba(255, 255, 255, 1),
rgba(161,161,161, 1),
rgba(161,161,161, 1),
rgba(255, 255, 255, 1)
)
center
bottom
no-repeat;
background-size:120% 1px;
*/


@media only screen and (max-device-width: 1000px) and (-webkit-device-pixel-ratio: 2) {
  html {
    font-size: .7rem;
    overflow-x: hidden;
  }

  .header a{
    font-size: 6.0rem;
  }

  h3 {
    font-size: 2rem;
  }

  blockquote {
    font-size: 1.85rem;
  }

  p {
    font-size: 1.7rem;
  }
}

@media only screen and (max-device-width: 700px) and (-webkit-device-pixel-ratio: 2) {
  html {
    font-size: .65rem;
    overflow-x: hidden;
  }

  .header a{
    font-size: 4.5rem;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console