Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raryosu/rin

Rin is one of the Bootstrap theme forked from Honoka
https://github.com/raryosu/rin

bootstrap bootstrap3-theme bootstrap4 css css-bootstrap honoka lovelive rin scss

Last synced: about 3 hours ago
JSON representation

Rin is one of the Bootstrap theme forked from Honoka

Awesome Lists containing this project

README

        

# Rin

[![Build Status by Travis CI](https://travis-ci.org/raryosu/Rin.svg?branch=master)](https://travis-ci.org/raryosu/Rin)
[![Build status by AppVeyor](https://ci.appveyor.com/api/projects/status/kly8aqr2ovqwg92p/branch/master?svg=true)](https://ci.appveyor.com/project/raryosu/rin/branch/master)
[![devDependency Status](https://david-dm.org/raryosu/Rin/dev-status.svg)](https://david-dm.org/raryosu/Rin#info=devDependencies)
[![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/bootstrap-rin.svg)](https://www.npmjs.com/package/bootstrap-rin)

[http://rinhoshizo.la/](http://rinhoshizo.la/)

[![Rin](docs/assets/img/sample.png)](http://rinhoshizo.la/)

"Rin" は "Honoka" を元にした日本語も美しく表示できるBootstrapテーマです。

## About "Rin"

通常の[Bootstrap](http://getbootstrap.com/)では,日本語のフォント指定や文字サイズは最適とはいえません。"Rin"や"Honoka"はそんなBootstrapをベースに,日本語表示に適したフォント指定や,文字サイズに関するコードを追記したBootstrapテーマの一つです。

## Live Demo

* [http://rinhoshizo.la/bootstrap-ja.html](http://rinhoshizo.la/bootstrap-ja.html) (日本語レイアウト)
* [http://rinhoshizo.la/bootstrap.html](http://rinhoshizo.la/bootstrap.html) (英語レイアウト)

## Getting Started

### Download

[Releases](https://github.com/raryosu/Rin/releases)から最新版をダウンロードしてください。

### npm

Node.js のパッケージ管理システムである、 [npm](https://npmjs.com) からダウンロードすることができます。[webpack](https://webpack.js.org/) など、npmを利用したmodule bundlerでご利用ください。

```
npm install --save bootstrap-rin
```

パッケージ名が 「**bootstrap**-rin」 であることに注意してください。

### Bower

[Bower](http://bower.io/)からインストールすることができます。

最新版をインストールするには以下のコマンドを実行してください。

```
bower install --save-dev $(node -e "$(curl -fsSL https://cdn.honokak.osaka/last.js)" raryosu Rin)
```

もしcURLが入っていない環境の場合には、

```
bower install --save-dev Rin#(version)
```

``(version)``にはバージョン番号を指定します(ex. ``Rin#3.3.6-3``)。Rinの最新バージョン番号は[Releases](https://github.com/raryosu/Rin/releases)から確認してください。

**バージョン番号を指定しなかった場合,Bowerの仕様上「Honoka」がインストールされます。**

また,django-bower等のラッパーを利用する場合は,以下のような指定を行うことでRinを利用することができます。

```
Rin=git://github.com/raryosu/Rin#(version)
```

## Usage

Rinは単なるBootstrapテーマにしか過ぎないため,基本的な使い方は本家Bootstrapとほとんど変わりません。よって以下に書くことは[本家Bootstrap](http://getbootstrap.com/getting-started/)からの引用,もしくはその一部を変更したものです。用意されたCSSクラスやコンポーネントなど,より詳細な使い方のドキュメントは本家Bootstrapの各種リファレンスページをご覧になることを推奨します。

* [CSS](http://getbootstrap.com/css/)
* [Components](http://getbootstrap.com/components/)
* [JavaScript](http://getbootstrap.com/javascript/)

### Package

配布しているzipファイルの内容物は以下のとおりです。``bootstrap.min.*``といったように,ファイル名に``min``がつくファイルは,改行やインデント・スペーシングをなくした(minifyされた)コードで,ユーザがウェブページを読み込む際の転送量を少なくすることができます。通常はこの``bootstrap.min.*``を使うことをおすすめします。

```
honoka/
├─ bootstrap.html
├─ css/
│ ├─ bootstrap.css
│ └─ bootstrap.min.css
├─ fonts/
│ ├─ glyphicons-halflings-regular.eot
│ ├─ glyphicons-halflings-regular.svg
│ ├─ glyphicons-halflings-regular.ttf
│ ├─ glyphicons-halflings-regular.woff
│ └─ glyphicons-halflings-regular.woff2
└─ js/
├─ bootstrap.js
└─ bootstrap.min.js
```

### Basic Template

Bootstrapをつかってウェブページを作成する際に基本となるHTML部分は以下のようになります。CSSやJavaScriptのファイルパスは環境に合わせて変更する必要があります。

```html






Bootstrap 101 Template







Hello, world!





```

### Do you hate "YuGothic"?

もしあなたが日本語フォントに游ゴシックを指定したくない場合,その要素に対して``.no-thank-yu``(※``you``ではなく``yu``)を指定することで游ゴシックの指定はされなくなり,Windowsであればメイリオ,Mac OS Xであればヒラギノ角ゴを優先的に使用するようになります。

例えばページ全体に対して游ゴシックを用いたくない場合は,````に対して``.no-thank-yu``を指定(````)することで,ページ全体で游ゴシックは使用されなくなります。

## Build

ビルドの方法については [Wiki](https://github.com/windyakin/Honoka/wiki) をご覧ください。

## License

[MIT License](LICENSE)

## Author of "Honoka"

* windyakin ([windyakin.net](http://windyakin.net/))

## Editor of "Rin"

* Hagihara Ryosuke ([Raryosu.info](http://raryosu.info/))