From 0c705f077a9ddb733e5a9f3ae0446af042c4d660 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio.bekerle@tugraz.at>
Date: Fri, 18 Oct 2019 10:38:54 +0200
Subject: [PATCH] Add function getDocumentationCSS()

---
 packages/common/styles.js | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/packages/common/styles.js b/packages/common/styles.js
index 16475917..6c249cb3 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;
+        }
+    `;
+}
-- 
GitLab