added css/style-jp.css

This commit is contained in:
kynd 2015-08-03 20:31:00 -07:00
parent 99f826f82b
commit 0dbf0c433d
3 changed files with 51 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# イントロダクション
この文書はPatricio Gonzalez Vivoの The Book of Shader の日本語訳です。
技術的な内容はできる限り正確に伝えるように心がけていますが、その他の部分ではざっくり簡略化したり言葉を補ったり、表現を変えている部分もあります。英語が得意な方はぜひ原文も読んでみてください。翻訳って難しいですね。
技術的な内容はできる限り正確に伝えるように心がけていますが、その他の部分ではざっくり簡略化したり言葉を補ったり、表現を変えている部分もあります。英語が得意な方はぜひ原文も読んでみてください。
フィードバックには[githubのレポジトリ](https://github.com/patriciogonzalezvivo/thebookofshaders)をご利用ください。
<canvas id="custom" class="canvas" data-fragment-url="cmyk-halftone.frag" data-textures="vangogh.jpg" width="700px" height="320px"></canvas>
@ -35,7 +36,7 @@
この本で取り上げないこと
* この本はOpenGLやWebGLの本ではありません。OpenGL、WebGLはGLSLやフラグメントシェーダーを含むより広範なトピックです。もしOpenGL、WebGLについてもっと学びたい場合は下記のページや本をお勧めします。
* この本はOpenGLやWebGLの本ではありません。OpenGL、WebGLはGLSLやフラグメントシェーダーを含むより広範なトピックです。もしOpenGL、WebGLについてもっと学びたい場合は下記のWebページや本をお勧めします。
- [OpenGL Introduction](https://open.gl/introduction)
- [the 8th edition of the OpenGL Programming Guide](http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321773039/ref=sr_1_1?s=books&ie=UTF8&qid=1424007417&sr=1-1&keywords=open+gl+programming+guide) (赤本)
- [WebGL: Up and Running](http://www.amazon.com/WebGL-Up-Running-Tony-Parisi/dp/144932357X/ref=sr_1_4?s=books&ie=UTF8&qid=1425147254&sr=1-4&keywords=webgl)

46
css/style-jp.css Normal file
View File

@ -0,0 +1,46 @@
body {
font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif;
line-height: 1.8;
}
h1 {
font-size: 46px;
font-style: normal;
line-height: 1.5;
}
h2 {
font-size: 34px;
font-style: normal;
line-height: 1.5;
}
h3 {
font-size: 28px;
line-height: 1.5;
}
h4 {
font-size: 24px;
line-height: 1.5;
}
h1, h2, h3 {
font-weight: normal;
}
h3 {
margin-bottom: 5px;
}
li ul {
line-height: 1.5;
list-style-type: none;
margin-top:18px;
margin-bottom:24px;
}
li ul li {
margin-bottom:18px;
}

View File

@ -18,7 +18,7 @@ echo '
<!-- CodeMirror -->
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/css/codemirror.css">
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/addon/fold/foldgutter.css">
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/addon/fold/foldgutter.css">
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/addon/dialog/dialog.css">
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/addon/hint/show-hint.css">
<link type="text/css" rel="stylesheet" href="'.$path.'/src/codemirror/theme/neo.css">
@ -42,6 +42,7 @@ echo '
<!-- My stuff -->
<link type="text/css" rel="stylesheet" href="'.$path.'/css/style.css">
<!--<link type="text/css" rel="stylesheet" href="'.$path.'/css/style-jp.css">-->
<script type="text/javascript" src="https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.min.js"></script>
</style>
</head>