small cleanup
This commit is contained in:
parent
6096df6978
commit
16ee355b9a
3 changed files with 2 additions and 12 deletions
|
|
@ -58,6 +58,7 @@ main {
|
|||
|
||||
#shork {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
left: -32px;
|
||||
top: -36px;
|
||||
width: 64px;
|
||||
|
|
@ -141,8 +142,6 @@ main {
|
|||
}
|
||||
|
||||
#page-footer {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
max-width: 60em;
|
||||
|
|
|
|||
|
|
@ -41,14 +41,6 @@ function add(v, u) {
|
|||
return {x: v.x + u.x, y: v.y + u.y};
|
||||
}
|
||||
|
||||
function equal(v, u, a) {
|
||||
return (Math.abs(v.x - u.x) < a && Math.abs(v.y - u.y) < a);
|
||||
}
|
||||
|
||||
function distance(x, y, a) {
|
||||
return (norm(vector(x, y)) >= a);
|
||||
}
|
||||
|
||||
function round(v) {
|
||||
return {x: Math.round(v.x), y: Math.round(v.y)};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ main {
|
|||
|
||||
#shork {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
left: -32px;
|
||||
top: -36px;
|
||||
width: 64px;
|
||||
|
|
@ -141,8 +142,6 @@ main {
|
|||
}
|
||||
|
||||
#page-footer {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
max-width: 60em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue