Skip to content

Commit

Permalink
Vector images for board lines
Browse files Browse the repository at this point in the history
Close #175
  • Loading branch information
yishn committed Mar 10, 2017
1 parent 84d61c7 commit 1223f45
Show file tree
Hide file tree
Showing 20 changed files with 67 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ All notable changes to this project will be documented in this file.
* Move annotation context menu on the last played stone (Thanks to [@dfannius](https://github.com/dfannius))
* Sabaki Web can load and copy SGF files from/to the clipboard (Thanks to [@C0DEHERO](https://github.com/C0DEHERO))

**Changed**

* Board lines are now vector images

**Fixed**

* Fix Sabaki inserting a ton of unnecessary empty lines in SGF files on Windows
Expand Down
Binary file removed img/goban/corner-ne.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/corner-ne.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/corner-nw.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/corner-nw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/corner-se.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/corner-se.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/corner-sw.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/corner-sw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/inner.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/inner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/side-e.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/side-e.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/side-n.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/side-n.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/side-s.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/side-s.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/goban/side-w.png
Binary file not shown.
6 changes: 6 additions & 0 deletions img/goban/side-w.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions style/goban.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

.goban .row li {
position: relative;
background: url('../img/goban/inner.png') center;
background: url('../img/goban/inner.svg') center;
}
.goban .row li.hoshi::after {
content: '';
Expand All @@ -95,28 +95,28 @@
background: #5E2E0C;
}
.goban .row:nth-child(3) li {
background-image: url('../img/goban/side-n.png');
background-image: url('../img/goban/side-n.svg');
}
.goban .row:nth-last-child(3) li {
background-image: url('../img/goban/side-s.png');
background-image: url('../img/goban/side-s.svg');
}
.goban .row li:first-child {
background-image: url('../img/goban/side-w.png');
background-image: url('../img/goban/side-w.svg');
}
.goban .row li:last-child {
background-image: url('../img/goban/side-e.png');
background-image: url('../img/goban/side-e.svg');
}
.goban .row:nth-child(3) li:first-child {
background-image: url('../img/goban/corner-nw.png');
background-image: url('../img/goban/corner-nw.svg');
}
.goban .row:nth-child(3) li:last-child {
background-image: url('../img/goban/corner-ne.png');
background-image: url('../img/goban/corner-ne.svg');
}
.goban .row:nth-last-child(3) li:first-child {
background-image: url('../img/goban/corner-sw.png');
background-image: url('../img/goban/corner-sw.svg');
}
.goban .row:nth-last-child(3) li:last-child {
background-image: url('../img/goban/corner-se.png');
background-image: url('../img/goban/corner-se.svg');
}

/**
Expand Down

0 comments on commit 1223f45

Please sign in to comment.