r1446 vs r1447
......
55
66
77
{{{#!style
8
.mine-safe {width:30px;height:30px;background:no-repeat linear-gradient(#0f0, #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;cursor:pointer}
8
.mine-safe {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;cursor:pointer}
99
10
.mine-red {width:30px;height:30px;padding-bottom: -15px;background:no-repeat linear-gradient(#f00, #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;cursor:pointer}
10
.mine-flag {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);cursor:pointer}
1111
12
.mine-cyan {width:30px;height:30px;background:no-repeat linear-gradient(#0ff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);cursor:pointer}
12
.mine-mode {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);cursor:pointer}
1313
14
.mine-mode {width:30px;height:30px;background:no-repeat linear-gradient(#0ff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);cursor:pointer}
15
1614
.mine-num {width:30px;height:30px;display:table;background:#fff;color:#000;font-weight:bold;;cursor:default}
1715
18
.mine-over {width:30px;height:30px;background:no-repeat linear-gradient(#00f, #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;cursor:pointer}
16
.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;cursor:pointer}
1917
2018
.mine-red {width:30px;height:30px;display:table;background:#f00;color:#000;font-weight:bold;cursor:default}
2119
......
2321
2422
.mine-enable {width:30px;height:30px;display:table;background:radial-gradient(farthest-corner, #fff 10%, #0e0 50%, #050 90%, #050 0);cursor:default}
2523
26
.mine-mrg {width:30px;height:30px;margin-top: -30px}
27
2824
.mine-flag-icon {margin-top: -30px;width:30px;height:30px;background:no-repeat linear-gradient(transparent 85%, #000 0)40% 0%/70% 100%, linear-gradient(90deg, transparent 35%, #000 0, #000 45%, transparent 0), no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)90% 10%/50% 50%;cursor:pointer}
2925
3026
.mine-hide {display:none}
3127
32
.mine-hide-hide {display:none}
33
3428
}}}
3529
{{{#!if index = -1, mine = [1, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
3630
}}}
3731
32
||{{{#!wiki
33
||<nopad><tablealign=center> {{{#!wiki class="mine-enable"
34
{{{#!wiki class="dig mine-mode" onclick="add-class,flag,mine-mode;remove-class,dig,mine-mode;add-class;add-class,mine-flag,mine-hide;remove-class,cell,mine-hide"
35
{{{#!wiki class="start mine-enable"
36
🪏}}}}}}}}} ||<nopad> {{{#!wiki class="mine-enable"
37
{{{#!wiki class="flag mine-mode" onclick="add-class,dig,mine-mode;remove-class,flag,mine-mode;remove-class,start,mine-enable;remove-class,mine-flag,mine-hide;add-class,cell,mine-hide"
38
{{{#!wiki style="width:30px;height:30px;background:no-repeat linear-gradient(transparent 85%, #000 0)40% 0%/70% 100%, linear-gradient(90deg, transparent 40%, #000 0, #000 50%, transparent 0), no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)90% 10%/50% 50%;"
39
}}}}}}}}} ||}}}{{{#!wiki
3840
||<nopad> {{{#!if ++index, cell = 0
3941
}}}{{{#!if mine[index] == 0
4042
{{{#!if index % 9 != 0 && index >= 9
......
6163
}}}}}}}}}{{{#!if index % 9 != 8 && index < 72
6264
{{{#!if mine[index + 10] == 1
6365
{{{#!if ++cell
64
}}}}}}}}}}}}
65
66
{{{#!wiki class="mode@index@ mine-cyan mine-hide" onclick="remove-class,mode-flag@index@,mine-hide"
67
}}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-cyan;remove-class,cell@index@,cell"
66
}}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide"
67
}}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell"
6868
{{{#!if mine[index] == 0
6969
{{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide"
7070
{{{#!wiki class="mineh@index@ mine-hide"
......
7676
●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide"
7777
}}} ||
7878
79
||<nopad> {{{#!wiki class="mine-enable"
80
{{{#!wiki class="dig mine-mode" onclick="add-class,flag,mine-mode;remove-class,dig,mine-mode;add-class;add-class,mine-cyan,mine-hide;remove-class,cell,mine-hide"
81
{{{#!wiki class="start mine-enable"
82
🪏}}}}}}}}} ||
8379
84
||<nopad> {{{#!wiki class="mine-enable"
85
{{{#!wiki class="flag mine-mode" onclick="add-class,dig,mine-mode;remove-class,flag,mine-mode;remove-class,start,mine-enable;remove-class,mine-cyan,mine-hide;add-class,cell,mine-hide"
86
🚩}}}}}} ||
80
}}} ||
8781
8882
8983
9084
9185
9286
93
94
95
9687
----
9788
###################################################
9889
----
......