Added final touches
This commit is contained in:
parent
214c84417d
commit
60c9d29c10
2 changed files with 19 additions and 14 deletions
14
css.css
14
css.css
|
@ -35,6 +35,8 @@ table.par{
|
|||
color: black;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
margin-left: -5px;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
table{
|
||||
|
@ -47,11 +49,15 @@ table.impar{
|
|||
color:black;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
margin-left: -5px;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
td{
|
||||
min-width: 15px;
|
||||
height: 15px;
|
||||
border: dashed;
|
||||
td.block{
|
||||
min-width: 30px;
|
||||
font-size: 2em;
|
||||
font-weight: bolder;
|
||||
height: 30px;
|
||||
border: solid;
|
||||
border-width: thin;
|
||||
}
|
|
@ -179,7 +179,7 @@ Sudoku.prototype.getHTMLBlock=function(x,y){
|
|||
li+=9;
|
||||
str+="\n\t</tr>\n\t<tr>";
|
||||
}
|
||||
str+="\n\t\t<td>"+this._mat[li+ci+pii]+"</td>";
|
||||
str+="\n\t\t<td class='block'>"+this._mat[li+ci+pii]+"</td>";
|
||||
ci++;
|
||||
}
|
||||
str+="\n\t</tr>\n</table>";
|
||||
|
@ -203,7 +203,7 @@ Sudoku.prototype.getSudoku=function(level){
|
|||
mclone[i]=this._mat[i];
|
||||
}
|
||||
else{
|
||||
mclone[i]="_";
|
||||
mclone[i]=" ";
|
||||
}
|
||||
}
|
||||
ninst._mat=mclone;
|
||||
|
@ -255,4 +255,3 @@ Sudoku.prototype.toString=function(){
|
|||
}
|
||||
return st;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue