projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to reduce button sizes on small screens
[vchess.git]
/
public
/
stylesheets
/
variant.sass
diff --git
a/public/stylesheets/variant.sass
b/public/stylesheets/variant.sass
index
786d54e
..
d23e83f
100644
(file)
--- a/
public/stylesheets/variant.sass
+++ b/
public/stylesheets/variant.sass
@@
-1,16
+1,37
@@
.container#variantPage
padding: 0
.container#variantPage
padding: 0
+//.container#variantPage > .row > div
+@media screen and (max-width: 767px)
+ .col-sm-12
+ padding: 0
+ h4
+ margin: 0 0 10px 0
+ p
+ margin-left: 0
+ margin-right: 0
+ padding: 0 3px
+
+#pgn-div > a
+ display: none
+
+#pgn-div > p
+ cursor: pointer
+
+#fen-div > p
+ margin-left: 0
+ margin-right: 0
+
.warn
padding: 3px
color: red
background-color: lightgrey
font-weight: bold
.warn
padding: 3px
color: red
background-color: lightgrey
font-weight: bold
-.playing
+.playing
, button.playing:hover
background-color: #ffcc99
background-color: #ffcc99
-.seek
+.seek
, button.seek:hover
background-color: #cc99ff
// https://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout
background-color: #cc99ff
// https://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout
@@
-22,27
+43,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.09%
+ padding-bottom: 9.1%
+
+.game
+ clear: both
+
.game .board
cursor: pointer
.game .board
cursor: pointer
@@
-103,7
+154,10
@@
figure.diagram-container > figcaption
background-color: #b58863
.highlight
background-color: #b58863
.highlight
- background-color: #00cc00
+ background-color: #00cc66
+
+.incheck
+ background-color: #cc3300
.light-square-diag
background-color: #e5e5ca
.light-square-diag
background-color: #e5e5ca