Configure font color and highlights

From GoalStriving Tutorials
(Redirected from Modifying text color)
Jump to navigation Jump to search

This page contains notes about how to modify the color of text on wiki pages. This cannot be done in the VisualEditor - you must click Edit source.

Adding Highlights

Cannot be added using the VisualEditor. Within Edit source:

It is {{Highlight|fun|color=red}} to make {{Highlight|different|color=green}} words {{Highlight|different|color=yellow}} {{Highlight|colors|color=blue}}.

It is fun to make different words different colors.

Highlight Template

A template called Highlight was created in every goalstriving.org wiki. Feel free to modify or add to yours.

<span style="background-color: {{#switch:{{lc:{{{color|yellow}}}}}
 |yellow=#fff59d
 |blue=#bbdefb
 |green=#c8e6c9
 |red=#ffcdd2
 |#default=#fff59d
}}; padding: 0.1em 0.2em; border-radius: 0.2em;">{{{1|}}}</span>