diff --git a/base/pub/octo/fab/hymn.hook b/base/pub/octo/fab/hymn.hook index fe4187196..1e4269fec 100644 --- a/base/pub/octo/fab/hymn.hook +++ b/base/pub/octo/fab/hymn.hook @@ -21,13 +21,12 @@ == ;div#vs: vs ;div#user + ;div.as; ;div.sig: ~ ;div.ship; - ;div.as; == == ;div#bord; - ;div#whom; ;script(type "text/javascript", src "/home/pub/octo/src/main.js"); == == diff --git a/base/pub/octo/src/main.css b/base/pub/octo/src/main.css index b38891741..a83da66c0 100644 --- a/base/pub/octo/src/main.css +++ b/base/pub/octo/src/main.css @@ -1,6 +1,5 @@ #what, -#bord, -#whom { +#bord { width: 600px; text-align: center; position: absolute; @@ -16,11 +15,11 @@ height: 600px; position: absolute; top: 72px; + opacity: .6; } -#whom { - color: red; - top: 636px; +.turn #bord { + opacity: 1; } #what { @@ -37,14 +36,26 @@ text-transform: uppercase; } +#what #ship, +#what #user { + border: 2px solid #fff; +} + +.turn #what #user { + border: 2px solid red; +} + +#what .as { + width: 1.6rem; +} + #vs { margin: 0 1rem; padding: .3rem; color: #fff; - background-color: #ccc; + background-color: #000; } -#whom, .spac { font-size: 100px; line-height: 200px; diff --git a/base/pub/octo/src/main.js b/base/pub/octo/src/main.js index f34519f66..8c0ebcb9e 100644 --- a/base/pub/octo/src/main.js +++ b/base/pub/octo/src/main.js @@ -36,6 +36,7 @@ $(function() { }) $bord.on('click', function(e) { + if(!$('body').hasClass('turn')) { return false } $t = $(e.target).closest('.spac') data = $.map( $t.attr('data-index').split('-'),