projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust squares size for bigger boards
[vchess.git]
/
public
/
stylesheets
/
variant.sass
diff --git
a/public/stylesheets/variant.sass
b/public/stylesheets/variant.sass
index
b2c678a
..
e28bc84
100644
(file)
--- a/
public/stylesheets/variant.sass
+++ b/
public/stylesheets/variant.sass
@@
-14,6
+14,12
@@
margin-right: 0
padding: 0 3px
margin-right: 0
padding: 0 3px
+#pgn-div > a
+ display: none
+
+#pgn-div > p
+ cursor: pointer
+
.warn
padding: 3px
color: red
.warn
padding: 3px
color: red
@@
-35,27
+41,57
@@
figure.diagram-container > .diagram
margin-left: auto
margin-right: auto
margin-left: auto
margin-right: auto
-.connected, .disconnected
- width: 20px
- height: 20px
- margin: 0 auto 15px auto
+.topindicator
+ position: relative
border: 1px solid brown
border: 1px solid brown
+.indic-left
+ float: left
+ margin: 0 0 10px 20px
+
+.indic-right
+ float: right
+ margin: 0 20px 10px 0
+
.connected
background-color: green
.disconnected
background-color: red
.connected
background-color: green
.disconnected
background-color: red
-// TODO: div.board, board9, board10, board11, board12
+.expert-switch
+ padding: 5px 10px
+
+.expert-mode, button.expert-mode:hover
+ background-color: #ffcc99
+
+.white-turn
+ background-color: white
+
+.black-turn
+ background-color: black
+
div.board
float: left
div.board
float: left
- width: 12.5%
height: 0
height: 0
- padding-bottom: 12.5%
display: inline-block
position: relative
display: inline-block
position: relative
+div.board8
+ width: 12.5%
+ padding-bottom: 12.5%
+
+div.board10
+ width: 10%
+ padding-bottom: 10%
+
+div.board11
+ width: 9.1%
+ padding-bottom: 9.1%
+
+.game
+ clear: both
+
.game .board
cursor: pointer
.game .board
cursor: pointer