aboutsummaryrefslogtreecommitdiff
path: root/docs/wiki/_assets/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/wiki/_assets/stylesheets')
-rw-r--r--docs/wiki/_assets/stylesheets/niri.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/wiki/_assets/stylesheets/niri.css b/docs/wiki/_assets/stylesheets/niri.css
new file mode 100644
index 00000000..7c172486
--- /dev/null
+++ b/docs/wiki/_assets/stylesheets/niri.css
@@ -0,0 +1,60 @@
+:root > * {
+ --md-primary-fg-color: #1e97b5;
+ --md-primary-fg-color--dark: color-mix(in srgb, var(--md-primary-fg-color), black 20%);
+ --md-accent-fg-color: var(--md-primary-fg-color--dark);
+}
+
+.md-logo > img {
+ background-color: white;
+ border-radius: 8px;
+}
+
+@media (prefers-color-scheme: dark) {
+ :root > * {
+ --md-primary-fg-color: #167188;
+ --md-accent-fg-color: #1e97b5;
+ --md-typeset-a-color: color-mix(in srgb, var(--md-accent-fg-color), white 30%);
+ }
+
+ .md-logo > img {
+ background-color: #eee;
+ }
+}
+
+.md-nav--primary .md-nav__title {
+ box-shadow: none;
+}
+
+@media screen and (min-width: 76.25em) {
+ .md-nav__title {
+ display: none;
+ }
+}
+
+@media screen and (min-width: 76.25em) {
+ .md-main {
+ min-height: 100vh;
+ }
+}
+
+.md-nav__link--active {
+ font-weight: bold;
+}
+
+.highlight .gp, .highlight .go {
+ user-select: none;
+}
+
+.md-source-file__fact {
+ visibility: hidden;
+}
+
+.badge {
+ font-size: 0.85em;
+ box-shadow: 0 0 0 1px inset var(--md-accent-fg-color--transparent);
+ padding: 0.2rem 0.3rem;
+}
+
+.md-typeset table:not([class]) td {
+ padding: .5em 1.25em;
+} \ No newline at end of file