projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix animation + Rifle
[xogo.git]
/
common.css
diff --git
a/common.css
b/common.css
index
e2a681d
..
6f8472c
100644
(file)
--- a/
common.css
+++ b/
common.css
@@
-52,6
+52,11
@@
main > div {
}
}
}
}
+.author {
+ color: darkblue;
+ font-style: italic;
+}
+
#boardContainer {
margin: 0;
padding: 0;
#boardContainer {
margin: 0;
padding: 0;
@@
-66,6
+71,15
@@
h1 {
margin: 10px 0;
}
margin: 10px 0;
}
+h4 {
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-align: center;
+ display: block;
+ margin: 10px 0;
+ color: darkgreen;
+}
+
#gameInfos,
#boardContainer,
#gameStopped,
#gameInfos,
#boardContainer,
#gameStopped,
@@
-156,6
+170,13
@@
button.block-btn {
padding: 15px 32px;
}
padding: 15px 32px;
}
+button.cancel-something {
+ background-color: darkred;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
#upLeftInfos {
position: absolute;
left: 0;
#upLeftInfos {
position: absolute;
left: 0;
@@
-249,7
+270,7
@@
a {
}
/* Board container (without reserves) */
}
/* Board container (without reserves) */
-
#
chessboard {
+
.
chessboard {
position: absolute;
cursor: pointer;
}
position: absolute;
cursor: pointer;
}
@@
-272,8
+293,12
@@
piece {
pointer-events: none;
}
pointer-events: none;
}
+piece.hidden {
+ display: none;
+}
+
/* Drawing of the board */
/* Drawing of the board */
-
#
chessboard_SVG {
+
.
chessboard_SVG {
width: 100%;
height: 100%;
}
width: 100%;
height: 100%;
}