mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
doc: add CSS color styles
Add some color styles we can use (via .. rst-class:: style directive) to add color to rst tables. Also introduce a centered class instead of using the deprecated .. centered:: directive. Update documentation guidelines to describe these new styles (background colors). Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
committed by
David Kinder
parent
7c8004ab0d
commit
ae0820760a
45
doc/static/acrn-custom.css
vendored
45
doc/static/acrn-custom.css
vendored
@@ -332,3 +332,48 @@ img.drop-shadow {
|
||||
.lastupdated {
|
||||
float:right;
|
||||
}
|
||||
|
||||
/* some custom classes used in rst-class directives */
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* colors from ACRN brand pallet */
|
||||
.bg-acrn-green {
|
||||
background-color: #006368;
|
||||
color: white;
|
||||
}
|
||||
.bg-acrn-lightgreen {
|
||||
background-color: #69BFAD;
|
||||
}
|
||||
.bg-acrn-brown {
|
||||
background-color: #998265;
|
||||
color: white;
|
||||
}
|
||||
.bg-acrn-lightbrown {
|
||||
background-color: #D7AF96;
|
||||
}
|
||||
.bg-acrn-blue {
|
||||
background-color: #232256;
|
||||
color: white;
|
||||
}
|
||||
.bg-acrn-red {
|
||||
background-color: #7F0F24;
|
||||
color: white;
|
||||
}
|
||||
.bg-acrn-gradient {
|
||||
background: linear-gradient(135deg, #232256 0%, #69BFAD 100%);
|
||||
color: white;
|
||||
}
|
||||
.bg-lightyellow {
|
||||
background-color: lightyellow;
|
||||
}
|
||||
.bg-lightgreen {
|
||||
background-color: #D0F0C0; /* tea green */
|
||||
}
|
||||
.bg-lavender {
|
||||
background-color: lavender;
|
||||
}
|
||||
.bg-lightgrey {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
|
Reference in New Issue
Block a user