@@ -256,15 +256,16 @@ td > .xref {
256256 position : relative;
257257 margin : 1rem 0 2rem 0 ;
258258 padding : 0.75rem ;
259+ border : 2px solid var (--mg-orange-primary );
259260 border-radius : 4px ;
260- background-color : # f5f5f5 ;
261+ background-color : var ( --bs-body-bg ) ;
261262 cursor : pointer;
262263}
263264
264265/* Initial blacked-out state */
265266.question-answer : not (.revealed ) {
266267 color : transparent;
267- background-color : # 202225 ;
268+ background-color : var ( --bs-body-bg ) ;
268269 user-select : none;
269270}
270271
@@ -279,19 +280,19 @@ td > .xref {
279280 display : flex;
280281 align-items : center;
281282 justify-content : center;
282- color : rgba ( 255 , 255 , 255 , 0.7 );
283+ color : var ( --bs-body-color );
283284 font-weight : bold;
284285 pointer-events : none;
285286}
286287
287288/* Reveal on hover style (optional) */
288289.question-answer : not (.revealed ): hover {
289- background-color : # 2f3136 ;
290+ background-color : var ( --bs-secondary-bg ) ;
290291}
291292
292293/* Make it accessible */
293294.question-answer : focus {
294- outline : 2px solid # 0066cc ;
295+ outline : 2px solid var ( --mg-orange-secondary ) ;
295296}
296297
297298/* Hide all child elements when not revealed */
@@ -301,9 +302,8 @@ td > .xref {
301302
302303/* When revealed, show content normally */
303304.question-answer .revealed {
304- color : initial;
305- background-color : # f5f5f5 ;
306- border-left : 4px solid # 0066cc ;
305+ color : var (--bs-body-color );
306+ background-color : var (--bs-body-bg );
307307}
308308
309309.question-answer .revealed * {
0 commit comments