Difference between revisions of "Help:Colors"

From Tech4Biowaste
Jump to navigation Jump to search
(Created page with ".")
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.
The colors of the project are defined in [[MediaWiki:Common.css]]. You can use the different CSS classes for text and background as follows:
 
{| class="wikitable"
! CSS class name !! hex code of the color !! Example
|-
| cd-background-darkgreen || #2e520b
|class="cd-background-darkgreen" | darkgreen
|-
| cd-background-lightgreen || #c5cfb6
|class="cd-background-lightgreen " | lightgreen
|-
| cd-background-brown || #9a846d
|class="cd-background-brown " | brown
|-
| cd-background-beige || #f4f5f6
|class="cd-background-beige "| beige
|-
| cd-background-yellow || #dfac40
| class="cd-background-yellow "  | yellow
|}
 
{| class="wikitable"
! CSS class name !! hex code of the color !! Example
|-
| cd-text-darkgreen || #2e520b
|class="cd-text-darkgreen" | darkgreen
|-
| cd-text-lightgreen || #c5cfb6
|class="cd-text-lightgreen " | lightgreen
|-
| cd-text-brown || #9a846d
|class="cd-text-brown " | brown
|-
| cd-text-beige || #f4f5f6
|class="cd-text-beige "| beige
|-
| cd-text-yellow || #dfac40
|class="cd-text-yellow "  | yellow
|}
 
[[Category:Manual]]

Latest revision as of 13:33, 14 January 2022

The colors of the project are defined in MediaWiki:Common.css. You can use the different CSS classes for text and background as follows:

CSS class name hex code of the color Example
cd-background-darkgreen #2e520b darkgreen
cd-background-lightgreen #c5cfb6 lightgreen
cd-background-brown #9a846d brown
cd-background-beige #f4f5f6 beige
cd-background-yellow #dfac40 yellow
CSS class name hex code of the color Example
cd-text-darkgreen #2e520b darkgreen
cd-text-lightgreen #c5cfb6 lightgreen
cd-text-brown #9a846d brown
cd-text-beige #f4f5f6 beige
cd-text-yellow #dfac40 yellow