0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Github.css in Stylus

Posted at

What is Stylus

Check this page, it's well documented.

// Convert this http://softwaremaniacs.org/media/soft/highlight/styles/github.css
// to Github.styl
// For use with Hexo -- a node.js blog framework (it's awesome!)

Here you go:

Github.styl
pre
  // Theme: GitHub (c) Vasily Polovnyov <vast@whiteants.net>
  // More theme here: http://bit.ly/b0uq5L
  code
    display: block
    padding: 0.5em
    color: #333
    background: #f8f8ff

  .comment
  .template_comment
  .diff .header
  .javadoc
    color: #998
    font-style: italic

  .keyword
  .css .rule .keyword
  .winutils
  .javascript .title
  .nginx .title
  .subst
  .request
  .status
    color: #333
    font-weight: bold

  .number
  .hexcolor
  .ruby .constant
    color: #099

  .string
  .tag .value
  .phpdoc
  .tex .formula
    color: #d14

  .title
  .id
    color: #900
    font-weight: bold

  .javascript .title
  .lisp .title
  .clojure .title
  .subst
    font-weight: normal


  .class .title
  .haskell .type
  .vhdl .literal
  .tex .command
    color: #458
    font-weight: bold

 .tag
 .tag .title
 .rules .property
 .django .tag .keyword
    color: #000080
    font-weight: normal

  .attribute
  .variable
  .lisp .body
    color: #008080

  .regexp
    color: #009926


  .class
    color: #458
    font-weight: bold


  .symbol
  .ruby .symbol .string
  .lisp .keyword
  .tex .special
  .prompt
    color: #990073


  .built_in
  .lisp .title
  .clojure .built_in
    color: #0086b3

  .preprocessor
  .pi
  .doctype
  .shebang
  .cdata
    color: #999
    font-weight: bold

  .deletion
    background: #fdd

  .addition
    background: #dfd

  .diff .change
    background: #0086b3

  .chunk
    color: #aaa

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?