Pen Settings



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


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


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.


                <div id="main-inner">
  <article class="entry no-entry">
    <div class="entry-inner">
      <div class="entry-content">              
      <h1>Entry is not found</h1>
    <div class="entry-footer"></div>

<script type="text/javascript" src="">
// jqueryを使用します

// 複数の旧ファイル名を新ファイル名のアドレスに転送
var urlDir = [
  ['oldURL1', 'newURL1'],
  ['oldURL2', 'newURL2'],
  ['oldURL3', 'newURL3'],
  ['oldURL4', 'newURL4'],
  ['oldURL5', 'newURL5']
var comURL = '';// 共通URL部
var wordCOUNT = comURL.length; // 共通URL文字数
var str = location.href;
for(var i = 0; i < urlDir.length; ++i){
  var oldDir = comURL + urlDir[i][0];
  var newDir = comURL + urlDir[i][1]; 
  if(str.substr(0,wordCOUNT + 17) == oldDir){
    //  setTimeout(function(){
          location.href = newDir;
    //  },0);
// 404エラー対応
$(document).ready(function() {
  if ($('#main-inner').children().hasClass("no-entry")) {
    var content = "<br/><center>『after Work Labo』へご訪問いただきまして誠にありがとうございます。</center>";
    content += "<center>お探しのページはリテラシーがない管理人が手違いで削除したものです。</center><br/>";
    content += "<center><img src='' width='60%'></center>";
    content += "<br/><center>今のところ記事の再公開・リライトは未定です。</center><br/><center>お探しの記事の代わりになるかわかりませんが、</center>";
    content += "<center>当ブログで多く読まれている人気記事を宜しければご笑覧ください。</center><br/><br/>" ;
    content += "<div class='hatena-module hatena-module-entries-access-ranking'";
    content += "data-count='5'";
    content += "data-source='access'";
    content += "data-enable_customize_format='0'";
    content += "data-display_entry_category='0'";
    content += "data-display_entry_image='1'";
    content += "data-display_entry_image_size_width='105'";
    content += "data-display_entry_image_size_height='90'";
    content += "data-display_entry_body_length='0'";
    content += "data-display_entry_date='1'";
    content += "data-display_entry_title_length='20'";
    content += "data-restrict_entry_title_length='0'";
    content += "data-display_bookmark_count='1'";
    content += ">";
    content += "<div class='hatena-module-body'>";
    content += "</div>"
    content += "</div>";


                .no-entry h1 {
    font-size: 32px;
    padding-top: 20px;
    padding-bottom: 10px;

.no-entry h1:before {
    content: "\f188";
    position: relative;
    display: inline-block;
    font-family: FontAwesome;
    margin-right: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: deeppink;
    font-size: 100%;
    transform: rotate(45deg);

.no-entry p {
    font-size: 22px;