Fix index style. Now on variant page
[vchess.git] / public / stylesheets / variant.sass
CommitLineData
1d184b4c
BA
1.container#variantPage
2 padding: 0
3
6a01d4f7
BA
4@media screen and (max-width: 767px)
5 .col-sm-12
6 padding: 0
6a01d4f7
BA
7 h4
8 margin: 0 0 10px 0
9 p
10 margin-left: 0
11 margin-right: 0
12 padding: 0 3px
13
3acb852d
BA
14
15//TODO: taille modal au cas par cas. standard == 767. Can be larger (welcome, fen...)
16
17
e7cfa68d
BA
18.warn
19 padding: 3px
20 color: red
21 background-color: lightgrey
22 font-weight: bold
23
e64a4eff 24.playing, button.playing:hover
186516b8
BA
25 background-color: #ffcc99
26
e64a4eff 27.seek, button.seek:hover
186516b8
BA
28 background-color: #cc99ff
29
18f9c763
BA
30figure.diagram-container
31 margin: 15px 0 15px 0
32 text-align: center
33 width: 100%
34 display: block
35
1d184b4c
BA
36// https://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout
37figure.diagram-container > .diagram
38 display: block
18f9c763 39 width: 40%
1d184b4c
BA
40 min-width: 300px
41 max-width: 800px
42 margin-left: auto
43 margin-right: auto
44
18f9c763
BA
45figure.diagram-container > .diagram2
46 display: block
47 float: left
48 width: 40%
49 min-width: 300px
50 max-width: 800px
51 margin-right: 40px
52 margin-bottom: 10px
53
54figure.diagram-container > figcaption
55 display: block
56 clear: both
57 padding-top: 5px
58
bdb1f12d
BA
59.topindicator
60 position: relative
1d184b4c
BA
61 border: 1px solid brown
62
bdb1f12d
BA
63.indic-left
64 float: left
65 margin: 0 0 10px 20px
66
67.indic-right
68 float: right
69 margin: 0 20px 10px 0
70
92342261
BA
71.marginleft
72 margin-left: 30px
73
74.reserve-count
75 padding-left: 40%
76
77.reserve-div
78 margin-bottom: 20px
79
80.reserve-row-1
81 margin-bottom: 15px
82
1d184b4c
BA
83.connected
84 background-color: green
85
86.disconnected
87 background-color: red
88
88af03d2
BA
89.settings-btn
90 padding: 6px 7px 0 7px
3ed62725 91
05290bf9
BA
92.settings-btn-small
93 padding: 0 3px
94
bdb1f12d
BA
95.white-turn
96 background-color: white
97
98.black-turn
99 background-color: black
100
1d184b4c
BA
101div.board
102 float: left
1d184b4c 103 height: 0
1d184b4c
BA
104 display: inline-block
105 position: relative
106
c94bc812
BA
107div.board8
108 width: 12.5%
109 padding-bottom: 12.5%
110
111div.board10
112 width: 10%
113 padding-bottom: 10%
114
115div.board11
8a196305 116 width: 9.09%
c94bc812
BA
117 padding-bottom: 9.1%
118
bdb1f12d
BA
119.game
120 clear: both
121
3066bb47
BA
122.game .board
123 cursor: pointer
124
1d184b4c
BA
125#choices
126 margin-bottom: 10px
127
128#choices
129 margin: 0 auto 0 auto
130 position: relative
131 z-index: 300
132 overflow-y: inherit
133 background-color: rgba(0,0,0,0) //transparent
134
135#choices img
136 cursor: pointer
137 background-color: #e6ee9c
138
139#choices img:hover
140 background-color: skyblue
141
142img.choice-piece
143 height: 0
144 width: 90%
145 padding: 5%
146 height: 90%
147
148img.piece, img.mark-square, img.choice-piece
149 max-width: 100%
150 height: auto
151 display: block
152
153img.mark-square
154 opacity: 0.6
155
156img.ghost
157 position: absolute
158 opacity: 0.4
159 top: 0
160
161img.piece
162 width: 100%
163
164img.mark-square
165 width: 76%
166 position: absolute
167 top: 12%
168 left: 12%
169 opacity: .7
170
130db3ef
BA
171.highlight
172 background-color: #00cc66 !important
173
174.incheck
175 background-color: #cc3300 !important
176
a897b421
BA
177.light-square.lichess
178 background-color: #f0d9b5;
179.dark-square.lichess
180 background-color: #b58863;
181.light-square.chesscom
182 background-color: #e5e5ca;
183.dark-square.chesscom
184 background-color: #6f8f57;
185.light-square.chesstempo
186 background-color: #fdfdfd;
187.dark-square.chesstempo
188 background-color: #88a0a8;
1d184b4c 189
1d184b4c
BA
190.light-square-diag
191 background-color: #e5e5ca
192.dark-square-diag
193 background-color: #6f8f57
194
195p.boxed
196 background-color: #FFCC66
197 padding: 5px
198
199.stageDelimiter
200 color: purple
201
202// To show (new) pieces, and/or there values...
203figure.showPieces > img
204 width: 50px
205
206figure.showPieces > figcaption
207 color: #6C6C6C
208
1d184b4c
BA
209.section-title
210 padding: 0
211
212.section-title > h4
213 padding: 5px
214
215.section-content
61a262b2 216 padding: 0 5px
1d184b4c
BA
217
218ol, ul:not(.browser-default)
219 padding-left: 20px
220
221ul:not(.browser-default)
222 margin-top: 5px
223
224ul:not(.browser-default) > li
225 list-style-type: disc
226
4ecf423b 227.variantpage-title
1d184b4c
BA
228 font-weight: bold
229 cursor: pointer
4ecf423b 230 padding: 3px
d5973790
BA
231 margin-left: 0
232 margin-right: 0
1d184b4c 233 background-color: lightgrey
7f4fff64
BA
234
235#fen-string
236 margin-top: 0
61a262b2
BA
237
238#pgn-game
239 margin-top: 0
240 margin-bottom: 0
241
242#downloadBtn
243 display: block
244 margin-left: auto
245 margin-right: auto
246
247#pgn-div > a
248 display: none
249
250#fen-div > p
251 margin-left: 0
252 margin-right: 0
da06a6eb 253
b5fb8e69 254.newproblem-form input, .newproblem-form textarea
da06a6eb
BA
255 width: 100%
256
257.emphasis
258 font-style: italic
259
260#newpbInstructions
261 margin-bottom: var(--universal-margin);
262
263.center-btn
264 margin-left: 40%
265
266//TODO?
267.center-inline
268 text-align: center
269.center-block
270 margin-left: auto
271 margin-right: auto
272
273.mistake-newproblem
274 color: #663300
1a788978
BA
275
276#problem-solution
277 display: none
b5fb8e69
BA
278
279.topspace
280 margin-top: 15px
281
282.problem
283 cursor: pointer
284 margin-bottom: 15px
285
286#solution-div h3
287 cursor: pointer
643479f8
BA
288
289.newproblem-form, .newproblem-preview
290 max-width: 90%
3a609580
BA
291
292.clickable
293 cursor: pointer
294
295.name-connected
296 color: green
297
298.name-disconnected
299 color: red
300
301.clearer
302 clear: both
303
304.my-chatmsg
305 color: black
306
307.opp-chatmsg
308 color: blue