tracing/assets/warning-css.html
rwa 2ace0b56c1
docs: fix warning styles in html-in-header (#2449)
## Motivation

The documentation under https://tracing.rs/tracing/ is missing CSS
styles. Fixes #2444 

## Solution

Used the `--html-in-header` rustdoc flag instead of `--extend-css`.
Converted the css file into an html file.
2023-02-08 10:25:22 -08:00

27 lines
514 B
HTML

<style>
#tracing-warning-header {
z-index: 400;
position: fixed;
background-color: orange;
left: 0;
top: 0;
right: 0;
height: 50px;
display: block;
color: black;
font-size-adjust: 0.55;
line-height: 0.6;
padding-top: 10px;
padding-left: 230px;
}
body {
/* add top padding to fit the warning header */
padding-top: 50px !important;
}
.sidebar {
/* add top padding to fit the warning header */
margin-top: 50px !important;
}
</style>