diff --git a/resources/public/css/style.css b/resources/public/css/style.css new file mode 100644 index 0000000..68758f9 --- /dev/null +++ b/resources/public/css/style.css @@ -0,0 +1,26 @@ +body +{ + font-family: Arial; +} + +div#app +{ + color:#666; +} + +div#app td +{ + width:50px; + height:50px; + border:1px solid #dedede; + background:#fff; + margin:1px; + color:#666; + text-align: center; + line-height: 50px; +} + +div#app td:hover +{ + cursor:pointer; +} diff --git a/resources/public/index.html b/resources/public/index.html index 8784c94..4549d11 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -1,9 +1,9 @@ + - @@ -9,38 +10,13 @@ -

SCI script tag: Reagent tic-tac-toe

+

What is SCI script tag?

+

Read the main page for more details.

+

Reagent tic tac toe

The following source was loaded and interpreted from cljs/tictactoe.cljs using the diff --git a/script/release.clj b/script/release.clj index c40216f..8c22500 100755 --- a/script/release.clj +++ b/script/release.clj @@ -9,6 +9,12 @@ (fs/copy "resources/public/tictactoe.html" "gh-pages" {:replace-existing true}) +(def style-source-dir (fs/file "resources" "public" "css")) +(def style-target-dir (fs/file "gh-pages" "css")) +(fs/create-dirs style-target-dir) +(fs/copy "resources/public/css/style.css" style-target-dir + {:replace-existing true}) + (def js-source-dir (fs/file "resources" "public" "js")) (def js-target-dir (fs/file "gh-pages" "js")) (fs/create-dirs js-target-dir)