1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-09-19 06:39:10 +00:00

better card arrangement

This commit is contained in:
exane
2015-06-20 13:08:11 +02:00
parent 6e51b5f9b7
commit eb647efa20
2 changed files with 36 additions and 7 deletions

View File

@@ -19,8 +19,16 @@ $game-height: 800px;
.field {
width: 100%;
height: 100px;
border: 1px solid black;
border: 1px solid black;/*
overflow: hidden;
&:hover {
overflow: visible;
}*/
.card:first-child {
margin-left: 0 !important;
}
&.active {
box-shadow: 0px 0px 15px #ffbb0b;
@@ -34,7 +42,10 @@ $game-height: 800px;
.field-hand {
margin-top: 20px;
.card {
margin-left: -20px;
margin-left: -31px;
&:first-child {
margin-left: 0 !important;
}
&:hover {
position: relative;
z-index: 10;
@@ -48,10 +59,10 @@ $game-height: 800px;
}
.field-single {
border: 1px solid black;
height: 150px;
width: 85px;
margin: 5px;
border: 1px solid black;/*
width: 85px;*/
/*margin: 5px;*/
height: 98px;
}
.left-side {