2022-02-16 23:54:04 +00:00
/ * here in this showcase we use our own modified chroma syntax highlightning style ;
if you want to use a predefined style instead :
- remove ` markup . highlight . noClasses ` from your config . toml
- set ` markup . highlight . style ` to a predefined style name in your config . toml
- remove the following ` @ import ` of the self-defined chroma stylesheet * /
@ import "chroma-neon.css" ;
2022-12-01 08:52:10 +00:00
/ * this variant does not work well if we use fallback styles for IE11 so better
ignore this variant in IE completely * /
@ supports not ( -ms-high-contrast : none ) {
2022-02-16 23:54:04 +00:00
: root {
2022-05-23 22:38:50 +00:00
--PRIMARY-color : # f300b2 ; /* brand primary color */
2022-05-22 22:01:22 +00:00
--SECONDARY-color : # 1c90f3 ; /* brand secondary color */
2023-01-30 19:41:10 +00:00
--ACCENT-color : # ffff00 ; /* brand accent color, used for search highlights */
2022-02-16 23:54:04 +00:00
2022-05-22 22:01:22 +00:00
--MAIN-TEXT-color : # e0e0e0 ; /* text color of content and h1 titles */
2022-11-22 19:54:17 +00:00
--MAIN-LINK-HOVER-color : # 4cabff ; /* hovered link color of content */
2022-05-22 22:01:22 +00:00
--MAIN-BG-color : # 202020 ; /* background color of content */
2022-02-16 23:54:04 +00:00
2022-05-22 22:01:22 +00:00
/* optional overwrites for specific headers */
--MAIN-TITLES-TEXT-color : # f300b2 ; /* text color of h2-h6 titles and transparent box titles */
--MAIN-TITLES-H3-color : # 00f3d3 ; /* text color of h3-h6 titles */
--MAIN-TITLES-H4-color : # ffff00 ; /* text color of h4-h6 titles */
2022-02-16 23:54:04 +00:00
/* adjusted to neon chroma style */
2022-05-22 22:01:22 +00:00
--CODE-BLOCK-color : # f8f8f2 ; /* fallback text color of block code; should be adjusted to your selected chroma style */
--CODE-BLOCK-BG-color : # 000000 ; /* fallback background color of block code; should be adjusted to your selected chroma style */
2022-02-16 23:54:04 +00:00
2022-05-22 22:01:22 +00:00
--CODE-INLINE-color : # 82e550 ; /* text color of inline code */
--CODE-INLINE-BG-color : # 282a36 ; /* background color of inline code */
--CODE-INLINE-BORDER-color : # 464646 ; /* border color of inline code */
2022-02-16 23:54:04 +00:00
2023-02-26 11:48:34 +00:00
--BROWSER-theme : dark ; /* name of the theme for browser scrollbars of the main section */
2022-03-27 20:25:36 +00:00
--MERMAID-theme : dark ; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
--SWAGGER-theme : dark ; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
2022-03-19 19:19:27 +00:00
2022-05-22 22:01:22 +00:00
--MENU-HEADER-BG-color : rgba ( 0 , 0 , 0 , 0 ) ; /* background color of menu header */
2022-02-16 23:54:04 +00:00
2022-11-22 19:54:17 +00:00
--MENU-HOME-LINK-color : # ffffff ; /* home button color if configured */
--MENU-HOME-LINK-HOVER-color : # d0d0d0 ; /* hovered home button color if configured */
2022-02-16 23:54:04 +00:00
2023-01-30 19:41:10 +00:00
--MENU-SEARCH-color : # f8f8f8 ; /* text and icon color of search box */
--MENU-SEARCH-BG-color : rgba ( 16 , 16 , 16 , . 6 ) ; /* background color of search box */
--MENU-SEARCH-BORDER-color : # e8e8e8 ; /* border color of search box */
2022-02-16 23:54:04 +00:00
2022-05-22 22:01:22 +00:00
--MENU-SECTIONS-BG-color : linear-gradient ( 165deg , # f300b2d3 0 % , # 1c90f3b3 65 % , # 00e3d3b3 100 % ) ; /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
--MENU-SECTIONS-ACTIVE-BG-color : rgba ( 0 , 0 , 0 , . 166 ) ; /* background color of the active menu section */
--MENU-SECTIONS-LINK-color : # ffffff ; /* link color of menu topics */
2022-11-22 19:54:17 +00:00
--MENU-SECTIONS-LINK-HOVER-color : # d0d0d0 ; /* hovered link color of menu topics */
2022-05-22 22:01:22 +00:00
--MENU-SECTION-ACTIVE-CATEGORY-color : # 56ffe8 ; /* text color of the displayed menu topic */
--MENU-SECTION-HR-color : # bababa ; /* separator color of menu footer */
2022-02-16 23:54:04 +00:00
2022-05-22 22:01:22 +00:00
--MENU-VISITED-color : # 33a1ff ; /* icon color of visited menu topics if configured */
2022-02-16 23:54:04 +00:00
/* base styling for boxes */
2022-05-22 22:01:22 +00:00
--BOX-CAPTION-color : rgba ( 240 , 240 , 240 , 1 ) ; /* text color of colored box titles */
--BOX-BG-color : rgba ( 20 , 20 , 20 , 1 ) ; /* background color of colored boxes */
--BOX-TEXT-color : initial ; /* text color of colored box content */
2022-02-16 23:54:04 +00:00
2022-12-01 00:38:08 +00:00
/* optional base colors for colored boxes as in attachments, badges, buttons and notice shortcode */
2022-05-22 22:01:22 +00:00
--BOX-BLUE-color : rgba ( 48 , 117 , 229 , 1 ) ; /* background color of blue boxes */
--BOX-BLUE-TEXT-color : var ( --BOX-BLUE-color ) ; /* text color of blue boxes */
--BOX-GREEN-color : rgba ( 42 , 178 , 24 , 1 ) ; /* background color of green boxes */
--BOX-GREEN-TEXT-color : var ( --BOX-GREEN-color ) ; /* text color of green boxes */
--BOX-GREY-color : rgba ( 128 , 128 , 128 , 1 ) ; /* background color of grey boxes */
--BOX-GREY-TEXT-color : var ( --BOX-GREY-color ) ; /* text color of grey boxes */
--BOX-ORANGE-color : rgba ( 237 , 153 , 9 , 1 ) ; /* background color of orange boxes */
--BOX-ORANGE-TEXT-color : var ( --BOX-ORANGE-color ) ; /* text color of orange boxes */
--BOX-RED-color : rgba ( 224 , 62 , 62 , 1 ) ; /* background color of red boxes */
--BOX-RED-TEXT-color : var ( --BOX-RED-color ) ; /* text color of red boxes */
2022-02-16 23:54:04 +00:00
}
2022-02-22 20:38:18 +00:00
2022-02-22 22:51:01 +00:00
body a # logo ,
2023-02-26 11:13:41 +00:00
body a # logo : hover ,
2022-02-22 22:51:01 +00:00
body # logo svg ,
body # logo svg * {
2023-01-30 19:41:10 +00:00
color : var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ;
fill : var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ! important ;
2022-02-22 22:51:01 +00:00
}
body a # logo {
2023-01-30 19:41:10 +00:00
color : var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ;
2022-02-22 22:51:01 +00:00
text-shadow :
2023-01-30 19:41:10 +00:00
0 0 1px var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ,
0 0 2px var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ,
0 0 4px var ( --INTERNAL-MENU-SEARCH-BORDER-color ) ,
2022-02-24 22:29:48 +00:00
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MENU-SECTIONS-LINK-HOVER-color ) ,
2022-04-11 20:29:11 +00:00
0 0 8px var ( --INTERNAL-MENU-SECTIONS-LINK-HOVER-color ) ;
2022-02-22 22:51:01 +00:00
}
2022-02-22 20:38:18 +00:00
body h1 {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 4px # fff ,
0 0 8px # fff ,
0 0 3px var ( --INTERNAL-MAIN-TITLES-H1-color ) ,
0 0 6px var ( --INTERNAL-MAIN-TITLES-H1-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H1-color ) ;
}
body h2 {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H2-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H2-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H2-color ) ;
}
2022-10-06 20:30:40 +00:00
@ media screen {
body : not ( . print ) rapi-doc :: part ( section-overview-title ) {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H2-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H2-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H2-color ) ;
}
}
2022-07-05 22:16:52 +00:00
body h3 , body . article-subheading {
2022-02-22 20:38:18 +00:00
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H3-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H3-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H3-color ) ;
}
body h4 {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H4-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H4-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H4-color ) ;
}
body h5 {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H5-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H5-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H5-color ) ;
}
body h6 {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MAIN-TITLES-H6-color ) ,
0 0 8px var ( --INTERNAL-MAIN-TITLES-H6-color ) ,
0 0 10px var ( --INTERNAL-MAIN-TITLES-H5-color ) ;
}
2022-11-23 17:46:52 +00:00
body # sidebar . searchbox button : hover ,
body . searchbox span : hover {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MENU-SEARCH-color ) ,
0 0 8px var ( --INTERNAL-MENU-SEARCH-color ) ;
}
2022-02-23 07:01:11 +00:00
body # sidebar select : hover ,
2023-02-24 22:30:54 +00:00
body # sidebar . collapsible-menu label : hover ,
2022-10-02 22:25:49 +00:00
body # sidebar . select-container : hover ,
2022-11-05 19:38:47 +00:00
body # sidebar a : hover ,
body # sidebar button : hover {
2022-02-22 22:51:01 +00:00
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MENU-SECTIONS-LINK-HOVER-color ) ,
0 0 8px var ( --INTERNAL-MENU-SECTIONS-LINK-HOVER-color ) ;
}
2023-02-24 22:30:54 +00:00
body # sidebar li . active > label ,
body # sidebar li . active > a {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color ) ,
0 0 8px var ( --INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color ) ;
}
2022-11-22 19:54:17 +00:00
body # homelinks a : hover {
color : # fff ;
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 8px # 808080 ,
0 0 4px var ( --INTERNAL-MENU-HOME-LINK-HOVER-color ) ,
0 0 8px var ( --INTERNAL-MENU-HOME-LINK-HOVER-color ) ;
}
2022-02-23 14:05:11 +00:00
body h1 a ,
body h2 a ,
body h3 a ,
body h4 a ,
body h5 a ,
body h6 a ,
2022-02-22 20:38:18 +00:00
body . anchor {
text-shadow : none ;
}
2022-02-23 09:56:52 +00:00
2022-12-01 00:38:08 +00:00
body . badge ,
2022-05-29 21:00:53 +00:00
body . btn ,
2022-02-23 09:56:52 +00:00
body div . box {
box-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 4px # 808080 ,
2022-05-29 21:00:53 +00:00
0 0 4px var ( --VARIABLE-BOX-color ) ;
2022-02-23 09:56:52 +00:00
}
2022-12-01 00:38:08 +00:00
body . badge > . badge-content ,
2022-05-29 21:00:53 +00:00
body . btn ,
2022-11-17 16:48:48 +00:00
body . btn > * ,
2022-02-23 09:56:52 +00:00
body div . box > . box-label {
text-shadow :
0 0 1px # fff ,
0 0 2px # fff ,
0 0 4px # 808080 ,
2022-05-29 21:00:53 +00:00
0 0 4px var ( --VARIABLE-BOX-CAPTION-color ) ;
2022-02-23 09:56:52 +00:00
}
2022-12-01 00:38:08 +00:00
body . badge . cstyle : not ( . transparent ) ,
2022-05-29 21:00:53 +00:00
body . btn . cstyle {
--VARIABLE-BOX-TEXT-color : var ( --VARIABLE-BOX-CAPTION-color ) ;
}
2022-12-01 00:38:08 +00:00
body . badge . cstyle . transparent ,
2022-05-29 21:00:53 +00:00
body . btn . cstyle . transparent {
--VARIABLE-BOX-BG-color : var ( --INTERNAL-BOX-BG-color ) ;
}
2022-11-17 16:48:48 +00:00
body . btn . cstyle . transparent > * {
2022-05-29 21:00:53 +00:00
border-color : var ( --VARIABLE-BOX-color ) ;
color : var ( --VARIABLE-BOX-CAPTION-color ) ;
}
2022-11-17 16:48:48 +00:00
body . btn . cstyle . transparent > * : hover ,
body . btn . cstyle . transparent > * : focus ,
body . btn . cstyle . transparent > * : active {
2022-05-29 21:00:53 +00:00
background-color : var ( --INTERNAL-MAIN-TITLES-TEXT-color ) ;
color : var ( --INTERNAL-MAIN-TEXT-color ) ;
}
body . box . cstyle . transparent {
2022-02-23 09:56:52 +00:00
box-shadow : none ;
}
2022-02-23 10:06:57 +00:00
@ media print {
# body h1 ,
# body h2 ,
2022-07-05 22:16:52 +00:00
# body h3 , # body . article-subheading ,
2022-02-23 10:06:57 +00:00
# body h4 ,
# body h5 ,
# body h6 {
text-shadow : none ;
}
2022-05-29 21:00:53 +00:00
# body . btn ,
2022-02-23 10:06:57 +00:00
# body div . box ,
# body div . box > . box-label {
box-shadow : none ;
text-shadow : none ;
}
}
2022-04-02 13:30:16 +00:00
/ * if we are in print chapter preview our @ media statement from
above will not apply , so we have to repeat it here * /
. print # body h1 ,
. print # body h2 ,
2022-07-05 22:16:52 +00:00
. print # body h3 , . print # body . article-subheading ,
2022-04-02 13:30:16 +00:00
. print # body h4 ,
. print # body h5 ,
. print # body h6 {
text-shadow : none ;
}
2022-05-29 21:00:53 +00:00
. print # body . btn ,
2022-04-02 13:30:16 +00:00
. print # body div . box ,
. print # body div . box > . box-label {
box-shadow : none ;
text-shadow : none ;
}
2022-11-18 07:56:16 +00:00
2023-02-10 16:04:08 +00:00
# content-wrapper {
--ps-thumb-color : # d0d0d0 ;
--ps-thumb-hover-color : # ccc ;
}
2022-11-18 07:56:16 +00:00
}