|
3 | 3 | --- |
4 | 4 |
|
5 | 5 |
|
6 | | - |
7 | 6 | <head> |
| 7 | + |
8 | 8 | <!-- START COPYING HERE --> |
9 | 9 | <link rel="stylesheet" href="gh-fork-ribbon.css"> |
10 | 10 | <!--[if lt IE 9]> |
11 | 11 | <link rel="stylesheet" href="gh-fork-ribbon.ie.css"> |
12 | 12 | <![endif]--> |
13 | 13 | <!-- END COPYING HERE --> |
| 14 | + |
| 15 | +<style> |
| 16 | +body {background-color:Grey; margin-top:45px; margin-left:0px; margin-right:0px; } |
| 17 | +div.pagestripe { background-color:White; width:100%; box-shadow:0px 5px 5px black; } |
| 18 | +div.pageheader { display: table; width:90%; margin: auto; text-align:center; padding: 10px; } |
| 19 | +div.examplebox { display: table-cell; width:30%; vertical-align: middle; text-align: left; padding-right:10px; } |
| 20 | +div.examplesource { display: table-cell; } |
| 21 | +h1.chaiscript {text-align:center; color:white; text-shadow:0px 0px 3px black; } |
| 22 | + |
| 23 | +div.aboutrow { width:95%; display: table; margin: auto; padding:5px; } |
| 24 | +div.aboutbox { display: table-cell; padding: 5px; width:33%;} |
| 25 | +div.aboutdata { display: table-cell; background:White; padding: 10px; border-radius: 5px; box-shadow:5px 5px 5px black} |
| 26 | +.aboutheader { margin-top: 0px; width:100%; text-align:center;} |
| 27 | + |
| 28 | +div.likebuttons {display: table; float: right; position: absolute; top: 0;} |
| 29 | +div.likebutton {display: table-cell; } |
| 30 | + |
| 31 | +.button { background:Blue; color:white; border-radius: 5px; font-size:large; border-top:1px black; width:50%; padding:5px; text-shadow:0px 0px 3px black; border:1px black; margin-top: 10px;} |
| 32 | + |
| 33 | +</style> |
| 34 | + |
| 35 | + |
14 | 36 | </head> |
15 | 37 |
|
| 38 | + |
16 | 39 | <body> |
17 | 40 | <!-- TOP RIGHT RIBBON: START COPYING HERE --> |
18 | 41 | <div class="github-fork-ribbon-wrapper right"> |
|
22 | 45 | </div> |
23 | 46 |
|
24 | 47 |
|
25 | | -<ul> |
26 | | -{% for post in site.posts %} |
27 | | -<li> |
28 | | -<a href="{{ post.url }}">{{ post.title }}</a> |
29 | | -</li> |
30 | | -{% endfor %} |
| 48 | + <div class="likebuttons"> |
| 49 | + <div class="likebutton"> |
| 50 | + <a href="//www.pinterest.com/pin/create/button/" data-pin-do="buttonBookmark" ><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a> |
| 51 | + <!-- Please call pinit.js only once per page --> |
| 52 | + <script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script> |
| 53 | + </div> |
| 54 | + |
| 55 | + <div class="likebutton"> |
| 56 | + <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://chaiscript.com" data-via="lefticus" data-lang="en">Tweet</a> |
| 57 | + <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> |
| 58 | + </div> |
| 59 | + |
| 60 | + <div class="likebutton"> |
| 61 | + <!-- Place this tag where you want the +1 button to render. --> |
| 62 | + <div class="g-plusone" data-size="medium"></div> |
31 | 63 |
|
32 | | -</ul> |
| 64 | + <!-- Place this tag after the last +1 button tag. --> |
| 65 | + <script type="text/javascript"> |
| 66 | +(function() { |
| 67 | + var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; |
| 68 | + po.src = 'https://apis.google.com/js/platform.js'; |
| 69 | + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); |
| 70 | + })(); |
| 71 | + </script> |
| 72 | + </div> |
33 | 73 |
|
| 74 | + <div class="likebutton"> |
| 75 | + <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchaiscript.com&width&layout=button_count&action=like&show_faces=true&share=true&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe> |
| 76 | + </div> |
| 77 | + |
| 78 | + </div> |
34 | 79 |
|
35 | | -{% include chaiscriptexample.md %} |
36 | 80 |
|
37 | | -{% gist 9190735 %} |
| 81 | + |
| 82 | +<div class="pagestripe"> |
| 83 | + <div class="pageheader"> |
| 84 | + <div class="examplebox"> |
| 85 | + <h1>ChaiScript</h1> |
| 86 | + an easy to use embedding scripting language for C++. |
| 87 | + <br/> |
| 88 | + |
| 89 | + <button onclick="parent.location='https://github.com/ChaiScript/ChaiScript/releases'" class="button">Releases</button> |
| 90 | + <button onclick="parent.location='examples.html'" class="button">Examples</button> |
| 91 | + <button onclick="parent.location='releases.html'" class="button">Documentation</button> |
| 92 | + </div> |
| 93 | + <div class="examplesource" > {% gist 9190735 %} </div> |
| 94 | + </div> |
| 95 | + |
| 96 | +</div> |
| 97 | + |
| 98 | +<h1 class="chaiscript"> |
| 99 | + ChaiScript is... |
| 100 | +</h1> |
| 101 | + |
| 102 | +<div class="aboutrow"> |
| 103 | + <div class="aboutbox"> |
| 104 | + <div class="aboutdata"> |
| 105 | + <h2 class="aboutheader">Succinct</h2> |
| 106 | + The above is a complete example of exposing a function to ChaiScript, calling it with a parameter and returning a value. |
| 107 | + </div> |
| 108 | + </div> |
| 109 | + <div class="aboutbox"> |
| 110 | + <div class="aboutdata"> |
| 111 | + <h2 class="aboutheader">Header Only</h2> |
| 112 | + There are no external tools requied, no preprocessor, no libraries, just your C++11 compliant compiler. |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + <div class="aboutbox"> |
| 116 | + <div class="aboutdata"> |
| 117 | + <h2 class="aboutheader">Free</h2> |
| 118 | + ChaiScript is licensed with the BSD license and is free to use in your free or commercial projects. |
| 119 | + </div> |
| 120 | + </div> |
| 121 | +</div> |
| 122 | + |
| 123 | +<div class="aboutrow"> |
| 124 | + <div class="aboutbox"> |
| 125 | + <div class="aboutdata"> |
| 126 | + <h2 class="aboutheader">Stable</h2> |
| 127 | + ChaiScript has been making stable releases since 2009. No bugfix or feature is made without a corresponding unit test. |
| 128 | + </div> |
| 129 | + </div> |
| 130 | + <div class="aboutbox"> |
| 131 | + <div class="aboutdata"> |
| 132 | + <h2 class="aboutheader">Thread Safe</h2> |
| 133 | + By default ChaiScript is thread safe. Thread safety can be disabled for enhanced performance. |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + <div class="aboutbox"> |
| 137 | + <div class="aboutdata"> |
| 138 | + <h2 class="aboutheader">Portable</h2> |
| 139 | + ChaiScript is fully tested for 32bit and 64bit on Windows (MSVC2013), clang++ and g++. |
| 140 | + </div> |
| 141 | + </div> |
| 142 | +</div> |
| 143 | + |
38 | 144 |
|
39 | 145 | </body> |
| 146 | + |
| 147 | + |
0 commit comments