| r1416 vs r1417 | ||
|---|---|---|
| ... | ... | |
| 4 | 4 | |
| 5 | 5 | .mine-num {width:30px;height:30px;display:table;background:#fff} |
| 6 | 6 | |
| 7 | .mine-over {width:30px;height:30px;background:no-repeat linear-gradient(#f | |
| 7 | .mine-over {width:30px;height:30px;background:no-repeat linear-gradient(#fff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);color:#000;font-weight:bold} | |
| 8 | 8 | |
| 9 | 9 | .mine-red {width:30px;height:30px;display:table;background:#f00;color:#000;font-weight:bold} |
| 10 | 10 | |
| ... | ... | |
| 14 | 14 | |
| 15 | 15 | .mine-hide {display:none} |
| 16 | 16 | }}} |
| 17 | {{{#!if index = -1, mine = [ | |
| 17 | {{{#!if index = -1, mine = [0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] | |
| 18 | 18 | }}} |
| 19 | 19 | |
| 20 | 20 | ||<nopad> {{{#!if ++index, cell = 0 |
| ... | ... | |
| 37 | 37 | {{{#!if ++cell |
| 38 | 38 | }}}}}}{{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" |
| 39 | 39 | {{{#!wiki class="mineh@index@ mine-hide" |
| 40 | @cell@}}}}}}}}}{{{#!if mine[index] == 1 | |
| 40 | {{{#!if cell > 0 | |
| 41 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 41 | 42 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" |
| 42 | 43 | {{{#!wiki class="mine mine-over" |
| 43 | 44 | {{{#!wiki class="mineh mine-hide" |
| ... | ... |