summaryrefslogtreecommitdiff
path: root/land-and-freedom.scss
blob: fc8e96249cf4be383154d13c5224d229fe05cfc9 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
// @use "sass:math";
@use 'sass:map';

$selectable-color: white; //  yellow;
$selected-color: yellow; //blue;

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;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  // background-color: yellow;
  // opacity: 0.5;
}

.front .value {
  font-weight: bold;
  font-size: 30px;
  margin-top: auto;
}

.front[data-front-id='m'] {
  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');
  }
}

.card.event {
  position: absolute;
  // opacity: 0.5;
  width: 132px;
  height: 180px;
}

.standee {
  box-sizing: border-box;
  position: absolute;
  width: 29px;
  height: 35px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #333;
  transition-property: top, left;
  transition-duration: 700ms;
  transition-timing-function: ease;
  // opacity: 0.6;
}

.card.action,
.front.action,
.standee.action {
  box-shadow: 0 0 0 3px $selectable-color;
}

.card.action:hover,
.front.action:hover,
.standee.action:hover {
  box-shadow: 0 0 0 3px $selected-color;
}

// .standee.action:hover {
//   box-shadow: 0 0 0 2px blue;
// }

@for $i from 0 through 4 {
  .standee[data-standee-id='#{$i}'] {
    background-image: url('images/standees/standee_#{$i}.png');
  }
}

#log { background-color: floralwhite; }
#log .h1, #log .h2 {
	font-size: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
}
#log .h1 { background-color: hsl(4, 40%, 73%); }
#log .h2 { background-color: hsl(250, 40%, 83%); }