Giter Site home page Giter Site logo

hatenablog-css-dev-box's Introduction

はてなブログのカスタマイズ CSS 開発環境

はてなブログのデザイン編集のための雛形です。

この環境にすれば、less ファイルを修正するだけで、DropboxのpublicフォルダへCSSが書き出されます。 さらにそのCSSは対象のはてなブログに読み込まれている状態になるため、はてなブログのページを更新するだけで変更を確認できます。

インストール

それぞれの入れ方は Google で。

  • node.js
  • npm

最新に反映(任意)

https://github.com/hatena/Hatena-Blog-Themes/tree/master/boilerplate

ここのlessディレクトリと boilerplate.less をここにコピペして更新

セットアップ

  • Gruntfile.js の TODO: を編集。Dropboxへのパスを指定する
npm install
grunt
  • Dropbox へ出力された boilerplate.css のパブリックURLをコピー
  • はてなブログの[設定]→[詳細設定]→[head に要素を追加]
<link rel="stylesheet" href="https://dl.dropboxusercontent.com/u/******/boilerplate.css">

本番ブログに反映

grunt less:production

dist に出力された boilerplate.min.css をはてなブログのCSS設定へコピペ

hatenablog-css-dev-box's People

Contributors

honkimi avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.