blob: 9c68e03cf5cec5314ce60e9a90bebcd89a5deee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
// @use "sass:math";
@use 'sass:map';
main {
// background-color: rgb(213, 196, 131);
background-color: darkolivegreen;
}
/* MAP */
#mapwrap {
width: 1000px;
height: 850px;
// background-color: #999f85;
box-shadow: 1px 2px 4px #0004;
}
// #map {
// background-repeat: no-repeat;
// background-size: cover;
// width: 1275px;
// height: 1650px;
// overflow: clip;
// }
#map {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 1000px;
height: 850px;
overflow: clip;
}
#map {
background-image: url(images/map75.png);
}
@media (min-resolution: 97dpi) {
#map {
background-image: url(images/map100.png);
}
}
#hand {
display: flex;
flex-direction: row;
gap: 8px;
margin-top: 16px;
padding: 16px;
justify-content: center;
}
.front {
position: absolute;
box-sizing: border-box;
width: 93px;
height: 102px;
// background-color: yellow;
// opacity: 0.5;
}
.front[data-front-id='3'] {
width: 104px;
height: 114px;
}
.card {
background-size: 100% 100%;
// width: 275px;
// height: 375px;
width: 198px;
height: 270px;
// border: 1px solid black;
border-radius: 5px;
box-shadow: 0 0 0 1px #333;
}
@for $i from 1 through 62 {
.card[data-card-id='#{$i}'] {
background-image: url('images/cards100/card_#{$i}.png');
}
}
|