-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaxpamirseconded.scss
153 lines (134 loc) · 3.76 KB
/
paxpamirseconded.scss
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
149
150
151
152
153
/**
*------
* BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
* PaxPamirSecondEd implementation : © <Your name here> <Your email address here>
*
* This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
* See http://en.boardgamearena.com/#!doc/Studio for more information.
* -----
*
* paxpamirseconded.css
*
* PaxPamirSecondEd stylesheet
*
*/
* {
box-sizing: border-box;
}
.pax-pamir-wrapper {
position: relative;
width: 100%;
height: auto;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
z-index: 1;
}
.layout-actions-wrapper {
width: 100%;
padding: 10px;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
background-color: #f0f0f0;
box-shadow: 0 3px 8px rgb(0,0,0,0.3);
}
.layout-action-button {
padding: 6px 12px;
border: 1px solid #305a72;
border-radius: 6px;
font-size: 14px;
margin-right: 6px;
background-color: #305a72;
color: #f0f0f0;
cursor: pointer;
}
.layout-action-button:hover {
background-color: #6b6663;
border-color: #6b6663;
color: #f0f0f0;
transition: all ease-in-out 0.3s;
}
.disabled-layout-action-button {
background-color: #f0f0f0;
border-color: #6b6663;
color: #6b6663;
}
#paxpamir-summary,
#paxpamir-map,
#paxpamir-market,
#paxpamir-playerBoards {
display: none;
}
#paxpamir-summary.section-visible,
#paxpamir-map.section-visible,
#paxpamir-market.section-visible,
#paxpamir-playerBoards.section-visible {
display: flex;
}
.summary-section {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
width: 100%;
box-sizing: border-box;
margin: 0 0 20px 0;
padding: 20px;
background-color: rgba(255,255,255,0.3);
}
.map-section {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
box-sizing: border-box;
margin: 0 0 20px 0;
background-image: url('./img/mounted-map-4096.jpg');
/* The following options make the background image resize when the viewport resizes. */
/* From https://stackoverflow.com/questions/600743/how-to-get-div-height-to-auto-adjust-to-background-size */
background-size: contain;
background-repeat: no-repeat;
--width: 100%;
padding-top: calc(0.582 * var(--width)); /* (img_height / img_width) * width% */
width: var(--width);
/* Don't resize below this width */
min-width: 500px;
}
/* ------- MARKET START ------- */
@import 'modules/css/market';
/* ------- MARKET END ------- */
.playerBoards-section {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
width: 100%;
box-sizing: border-box;
margin: 0 0 20px 0;
min-width: 500px;
}
.playerBoard {
margin: 5px 0;
background-size: contain;
background-repeat: no-repeat;
--width: 70%;
padding-top: calc(0.228 * var(--width)); /* (img_height / img_width) * width% */
width: var(--width);
min-width: 300px;
/* TODO add faction wheel in row */
}
.playerBoard-305a72 {background-image: url('./img/player-board-blue.png');}
.playerBoard-cfa580 {background-image: url('./img/player-board-yellow.png');}
.playerBoard-d30505 {background-image: url('./img/player-board-red.png');}
.playerBoard-292623 {background-image: url('./img/player-board-black.png');}
.playerBoard-6b6663 {background-image: url('./img/player-board-grey.png');}
.font-baskerville {
font-family: 'Libre Baskerville', serif;
}
/* ------- CARD CSS START ------- */
@import 'modules/css/card';
/* ------- CARD CSS END ------- */