glossary_style {glossary} | R Documentation |
Create CSS styles for glossary entries
Description
Set the color and style of the linked in-text terms and pop-up definitions. Colors should be a valid CSS color string, such as "purple" or "#FF0000".
Usage
glossary_style(
color = "purple",
text_decoration = "underline",
def_bg = "#333",
def_color = "white"
)
Arguments
color |
Text color of the linked term |
text_decoration |
Style of the linked term; a valid CSS text-decoration string, such as "none", underline" or "red wavy underline" |
def_bg |
Background color of the definition pop-up |
def_color |
Text color of the definition pop-up |
Value
A CSS style string
Examples
glossary_style("#003366", "underline")
[Package glossary version 1.0.0 Index]