Difference between revisions of "Help:Colors"

From Tech4Biowaste
Jump to navigation Jump to search
(text is better than font)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The colors of the project are defines in [[MediaWiki:Common.css]]. You can use the different CSS classes for text and background
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"
{| class="wikitable"
! CSS class name !! hex code of the color !! Example
! CSS class name !! hex code of the color !! Example
|-
|-
| cd-background-darkgreen || #f4f5f6
| cd-background-darkgreen || #2e520b
|class="cd-background-darkgreen" | darkgreen  
|class="cd-background-darkgreen" | darkgreen  
|-
|-
Line 23: Line 23:
! CSS class name !! hex code of the color !! Example
! CSS class name !! hex code of the color !! Example
|-
|-
| cd-text-darkgreen || #f4f5f6
| cd-text-darkgreen || #2e520b
|class="cd-text-darkgreen" | darkgreen  
|class="cd-text-darkgreen" | darkgreen  
|-
|-

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