diff --git a/packages/common/styles.js b/packages/common/styles.js index 16475917af1adcaffa6126e315e0821960b6e37a..6c249cb38af062f08547a9a4506298bacebd3337 100644 --- a/packages/common/styles.js +++ b/packages/common/styles.js @@ -404,3 +404,26 @@ export function getTagCSS() { } `; } + +export function getDocumentationCSS() { + // language=css + return css` + .documentation h1, .documentation h2, .documentation h3 { + margin: 1em 0 0.8em 0; + } + + .documentation p { + margin: 1em 0; + } + + .documentation a { + border-bottom: 1px solid var(--vpu-muted-text); + transition: background-color 0.15s, color 0.15s; + } + + .documentation a:hover { + color: #fff; + background-color: #000; + } + `; +}