diff --git a/docs.json b/docs.json index 4b80f18..31b4e68 100644 --- a/docs.json +++ b/docs.json @@ -7,6 +7,15 @@ "light": "#6575FF", "dark": "#0D001D" }, + "head": [ + { + "tag": "link", + "attrs": { + "rel": "stylesheet", + "href": "/custom.css" + } + } + ], "favicon": "/favicon.png", "navigation": { "tabs": [ diff --git a/public/custom.css b/public/custom.css new file mode 100644 index 0000000..49dd6d2 --- /dev/null +++ b/public/custom.css @@ -0,0 +1,21 @@ +/* Custom css to add scrollbars to tabs */ +.tabs ul{ + overflow-x: visible; + padding-bottom: 3px; +} +.tabs ul::-webkit-scrollbar{ + height: 10px; + border: 1px solid rgba(139, 136, 136, 0.041); +} +.tabs ul::-webkit-scrollbar-track { + border-radius: 0; + background: #1212121e; +} +.tabs ul::-webkit-scrollbar-thumb { + border-radius: 2px; + background: rgb(101,116,255); +} +.tabs ul::-webkit-scrollbar-track:hover , +.tabs ul::-webkit-scrollbar-thumb:hover{ + cursor: pointer; +} \ No newline at end of file