projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 'undefined C' issue
[xogo.git]
/
common.css
diff --git
a/common.css
b/common.css
index
abaf91f
..
c65559d
100644
(file)
--- a/
common.css
+++ b/
common.css
@@
-11,11
+11,17
@@
vertical-align: baseline;
}
vertical-align: baseline;
}
+html {
+ height: 100%;
+}
+
body {
body {
+ height: 100%;
margin: 0;
margin: 0;
- /*text-align: center;*/
background-color: #f8f8f8;
font-family: Arial, Verdana, Tahoma, sans-serif;
background-color: #f8f8f8;
font-family: Arial, Verdana, Tahoma, sans-serif;
+ /* https://stackoverflow.com/a/24392249/12660887 */
+ position: relative;
}
main {
}
main {
@@
-31,15
+37,21
@@
main > div {
margin-top: 25vh;
min-height: 500px;
min-width: 320px;
margin-top: 25vh;
min-height: 500px;
min-width: 320px;
-
/*max-width: 800px;*/ /*unnecessar
y*/
+
max-width: 800px; /*useful for rules display onl
y*/
}
}
-@media
(max-height: 800px) {
+@media(max-height: 800px) {
main > div {
margin-top: 30px;
}
}
main > div {
margin-top: 30px;
}
}
+@media(max-width: 767px) {
+ main > div {
+ padding: 0 10px;
+ }
+}
+
#boardContainer {
margin: 0;
padding: 0;
#boardContainer {
margin: 0;
padding: 0;
@@
-139,7
+151,7
@@
button:hover, button.block-btn:hover {
button.block-btn {
display: block;
background-color: #01786F;
button.block-btn {
display: block;
background-color: #01786F;
- margin: 0 auto 20px auto;
+ margin: 0 auto 20px auto;
/*TODO: margin-bottom 30px ? */
font-size: 2rem;
padding: 15px 32px;
}
font-size: 2rem;
padding: 15px 32px;
}
@@
-155,18
+167,21
@@
button.block-btn {
left: calc(100% - 25px);
top: 0;
}
left: calc(100% - 25px);
top: 0;
}
-#upLeftInfos >
img, #upRightStop > im
g {
+#upLeftInfos >
svg, #upRightStop > sv
g {
width: 25px;
cursor: pointer;
}
width: 25px;
cursor: pointer;
}
-@media
(max-width: 767px) {
+@media(max-width: 767px) {
#upRightStop {
left: calc(100% - 35px);
}
#upRightStop {
left: calc(100% - 35px);
}
- #upLeftInfos >
img, #upRightStop > im
g {
+ #upLeftInfos >
svg, #upRightStop > sv
g {
width: 35px;
}
width: 35px;
}
+ #upLeftInfos > svg path, #upRightStop > svg path {
+ fill: #999;
+ }
}
#ng-select {
}
#ng-select {
@@
-176,6
+191,7
@@
button.block-btn {
/* Options when starting custom game */
.words {
line-height: 0.9em;
/* Options when starting custom game */
.words {
line-height: 0.9em;
+ margin-top: 15px;
}
.words > .row {
margin: 0;
}
.words > .row {
margin: 0;
@@
-195,7
+211,12
@@
button.block-btn {
}
.option-select, .option-check {
}
.option-select, .option-check {
- margin: 15px 0;
+ margin: 15px 0 0 0;
+}
+
+.option-check {
+ display: inline-block;
+ margin-right: 10px;
}
.btn-wrap {
}
.btn-wrap {