88 * - be renamed xmHtmlStyle.css (to sync with xmPreamble.tex and xmPrintStyle.sty)
99 * - become (almost) empty by default, because the ximeraServer default settings will becom English again
1010 */
11+
12+ /* Fixes for expandables (hints/solution/...) */
13+
14+ .btn-reveal-hint {
15+ float : none;
16+ clear : none;
17+ margin-top : 0em ;
18+ display : block;
19+ margin-left : auto;
20+ z-index : 1 ;
21+ position : relative;
22+ }
23+
1124
25+ .xmhint , .xmoplossing , .xmuitkomst {
26+ background-color : # 1D8DB0 ;
27+ color : white;
28+ font-family : sans-serif;
29+ font-weight : normal;
30+ font-size : smaller;
31+ margin : 1px !important ;
32+ margin-left : auto !important ;
33+ display : block;
34+ /* max-width: max-content; */
35+ max-width : 10em !important ;
36+ line-height : 1 ;
37+ text-align : center;
38+ white-space : nowrap;
39+ vertical-align : middle;
40+ user-select : none;
41+ border : 1px solid transparent;
42+ padding : 0px !important ;
43+ font-size : 1rem ;
44+ transition : all 0.2s ease-in-out;
45+ counter-increment : hint_number;
46+ }
47+
48+ /* increase specificity with double classes ;) */
49+ div .xmhint-content .ui-accordion-content {
50+ background-color : # 00000000 ; /* transparent; overwrites .ui-widget-content ... */
51+ border : 1px solid # 005000 ;
52+ border-top : 1px solid # 005000 !important ;
53+ border-left : 3px solid # 005000 ;
54+ color : # 005000 ;
55+ margin-top : 0rem ;
56+ padding : 2px 3rem ;
57+ overflow : visible; /* set to auto for .ui-accordion .ui-accordion-content in <style> */
58+ }
59+
60+ div .xmhint-content ::before {
61+ content : "Hint: " ;
62+ font-weight : bold;
63+ margin-left : -3rem ; /* Hack, see padding above ... */
64+ }
65+
66+
67+
68+ div .xmoplossing-content .ui-accordion-content , div .xmuitkomst-content .ui-accordion-content {
69+ background-color : # 00000000 ; /* transparent; overwrites .ui-widget-content ... */
70+ background-color : white;
71+ border : 1px solid black;
72+ border-left : 3px solid black;
73+ color : black;
74+ margin-top : 0rem ;
75+ padding : 5px ;
76+ }
77+ /*
78+ @counter-style notfirst {
79+ system: alphabetic;
80+ symbols: " " "2" "3" "4" "5" "6" "7" "8" "9" "0";
81+ }
82+
83+ .example, .exercise, .question {
84+ counter-reset: hint_number;
85+ }
86+ */
87+
88+ /* Fixes for language ?? */
89+
1290
1391.xmhint ::before {
1492 content : "Show hint" counter (hint_number, notfirst);
@@ -216,4 +294,6 @@ e.g. use "P1", "Problem 1", "Prob 1", "Exciting Problem 1", etc.
216294/*
217295.outcomeHead:hover + .outcomeContent {
218296 display: block;
219- } */
297+ } */
298+
299+
0 commit comments