Skip to content

More readable Nix Pills by itsfarseen

Details

Authoritsfarseen

LicenseNo License

Categorynixos

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Change the dull blue to a slightly more interesting green.

Simplify the overly sized nav bar.

Make the code blocks less stark.

Remove top header.

Add a bit more heirarchy to the index page links.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         More readable Nix Pills
@version      20220505.10.59
@namespace    userstyles.world/user/itsfarseen
@description  Change the dull blue to a slightly more interesting green.

Simplify the overly sized nav bar.

Make the code blocks less stark.

Remove top header.

Add a bit more heirarchy to the index page links.
@author       itsfarseen
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://nixos.org/guides/nix-pills"), url-prefix("https://nixos.org/manual") {
body {
    font-weight: normal;
}

div.docbook dt {
    margin-top: 0.1em;
    font-size: 0.85em;
}

dl.toc > dt {
    margin-top: 1em;
    font-size: 1em;
}

html {
    line-height: 1.35;
}

div.docbook {
    max-width: 45em;
}

div.docbook .screen {
    border-radius: 0.2em;
    padding: 0.5em;
    font-size: 0.75em;
    margin-bottom: 2em;
}

.userinput {
    font-weight: normal;
}

div.docbook .screen, code {
    background: #eee;
    color: black;
}

ul.itemizedlist li {
   margin-left: 1em;
}

ul.itemizedlist li p {
   margin-bottom: 0.5em;
}

.docbook-page .pager a {
    border-radius: 0;
    background: none;
    color: green;
    box-shadow: none;
    padding: 0;
}

.docbook-page .pager {
    flex-direction: row;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
}

div.docbook div.page-header {
    margin-top: 0.5em;
}

header {
    display: none;
}

h1 {
    color: green;   
}

div.docbook h1, div.docbook h2 {
    font-family: "Roboto";
    font-weight: normal;
    color: green;
}

a {
    color: green;
}
}

Reviews

No reviews yet.