File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -202,3 +202,23 @@ html[data-theme="dark"] a[class^='fa-solid fa-circle-question'] {
202202.tooltip : hover .tooltiptext {
203203 visibility : visible;
204204}
205+
206+ /* Glossary tooltip styles */
207+ .glossary-term {
208+ text-decoration : underline dotted; /* Dotted underline */
209+ cursor : help; /* Change cursor to indicate help */
210+ }
211+
212+ .tooltip-glossary {
213+ position : absolute; /* Position relative to the nearest positioned ancestor */
214+ background-color : # fff ;
215+ border : 1px solid # ccc ;
216+ padding : 5px ;
217+ z-index : 10 ;
218+ visibility : visible;
219+ opacity : 0.9 ;
220+ transform : translateY (5px ); /* Move tooltip slightly down */
221+ white-space : nowrap; /* Prevent text wrapping */
222+ border-radius : 4px ; /* Optional: round the corners */
223+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Optional: add a shadow */
224+ }
You can’t perform that action at this time.
0 commit comments