Skip to content

docs.rs ayu by modprog

Details

Authormodprog

LicenseMIT

Categorydocs.rs

Created

Updated

Size18 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* do not edit this file by hand, generate it with the combine-for-release tool */
/* ==UserStyle==
@name          docs.rs ayu
@namespace     https://github.com/ModProg
@version       1.0.0
@author        ModProg
@license       MIT
==/UserStyle== */
@-moz-document domain("docs.rs") {
    .sidebar .location {
        border: none;
        background: none;
        color: #fff;
        font-size: 22px;
    }

    .logo-container {
        background-image: url("/rust-logo-20220423-1.62.0-nightly-de1026a67.svg");
        filter: drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);
        width: 106px;
        height: 106px;
        margin-left: auto;
        margin-right: auto;
    }

    #all-types {
        background: none!important;
        border: none!important;
    }

    img[alt="logo"] {
        display: none
    }

    body {
        background-color: #0f1419;
        color: #c5c5c5;
    }

    h1,
    h2,
    h3,
    h4 {
        color: white !important;
    }

    h1.fqn {
        border-bottom-color: #5c6773;
    }

    h1.fqn a {
        color: #fff;
    }

    h2,
    h3,
    h4 {
        border-bottom-color: #5c6773;
    }

    h4 {
        border: none;
    }

    .in-band {
        background-color: #0f1419;
    }

    .invisible {
        background: rgba(0, 0, 0, 0);
    }

    .docblock code {
        color: #ffb454;
    }

    .code-header {
        color: #e6e1cf;
    }

    .docblock pre > code,
    pre > code {
        color: #e6e1cf;
    }

    span code {
        color: #e6e1cf;
    }

    .docblock a > code {
        color: #39AFD7 !important;
    }

    .docblock code,
    .docblock-short code {
        background-color: #191f26;
    }

    pre,
    .rustdoc.source .example-wrap {
        color: #e6e1cf;
        background-color: #191f26;
    }

    .sidebar,
    .mobile-topbar,
    .sidebar-menu-toggle {
        background-color: #14191f;
    }

    .rust-logo {
        filter: drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);
    }

    * {
        scrollbar-color: #5c6773 #24292f;
    }

    .sidebar {
        scrollbar-color: #5c6773 #24292f;
    }

    ::-webkit-scrollbar-track {
        background-color: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #5c6773;
    }

    .sidebar::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background-color: #5c6773;
    }

    .sidebar .current,
    .sidebar a:hover {
        background-color: transparent;
        color: #ffb44c;
    }

    .source .sidebar {
        background-color: #14191f;
    }

    .sidebar-elems .location {
        color: #ff7733;
    }

    .line-numbers span {
        color: #5c6773;
    }

    .line-numbers .line-highlighted {
        color: #708090;
        background-color: rgba(255, 236, 164, 0.06);
        padding-right: 4px;
        border-right: 1px solid #ffb44c;
    }

    .docblock h1,
    .docblock h2,
    .docblock h3,
    .docblock h4,
    .docblock h5,
    .docblock h6 {
        border-bottom-color: #5c6773;
    }

    .docblock table td,
    .docblock table th {
        border-color: #5c6773;
    }

    .content .method .where,
    .content .fn .where,
    .content .where.fmt-newline {
        color: #c5c5c5;
    }

    .search-results a:hover {
        background-color: #777;
    }

    .search-results a:focus {
        color: #000 !important;
        background-color: #c6afb3;
    }

    .search-results a {
        color: #0096cf;
    }

    .search-results a div.desc {
        color: #c5c5c5;
    }

    .content .item-info::before {
        color: #ccc;
    }

    .content span.foreigntype,
    .content a.foreigntype {
        color: #ffa0a5;
    }

    .content span.union,
    .content a.union {
        color: #ffa0a5;
    }

    .content span.constant,
    .content a.constant,
    .content span.static,
    .content a.static {
        color: #39AFD7;
    }

    .content span.primitive,
    .content a.primitive {
        color: #ffa0a5;
    }

    .content span.traitalias,
    .content a.traitalias {
        color: #39AFD7;
    }

    .content span.keyword,
    .content a.keyword {
        color: #39AFD7;
    }

    .content span.externcrate,
    .content span.mod,
    .content a.mod {
        color: #39AFD7;
    }

    .content span.struct,
    .content a.struct {
        color: #ffa0a5;
    }

    .content span.enum,
    .content a.enum {
        color: #ffa0a5;
    }

    .content span.trait,
    .content a.trait {
        color: #39AFD7;
    }

    .content span.type,
    .content a.type {
        color: #39AFD7;
    }

    .content span.type,
    .content a.type,
    .block a.current.type {
        color: #39AFD7;
    }

    .content span.associatedtype,
    .content a.associatedtype,
    .block a.current.associatedtype {
        color: #39AFD7;
    }

    .content span.fn,
    .content a.fn,
    .content span.method,
    .content a.method,
    .content span.tymethod,
    .content a.tymethod,
    .content .fnname {
        color: #fdd687;
    }

    .content span.attr,
    .content a.attr,
    .content span.derive,
    .content a.derive,
    .content span.macro,
    .content a.macro {
        color: #a37acc;
    }

    .sidebar a {
        color: #53b1db;
    }

    .sidebar a.current.type {
        color: #53b1db;
    }

    .sidebar a.current.associatedtype {
        color: #53b1db;
    }

    pre.rust .comment {
        color: #788797;
    }

    pre.rust .doccomment {
        color: #a1ac88;
    }

    nav.main .current {
        border-top-color: #5c6773;
        border-bottom-color: #5c6773;
    }

    nav.main .separator {
        border: 1px solid #5c6773;
    }

    a {
        color: #39AFD7;
    }

    a#toggle-all-docs,
    a.anchor,
    .small-section-header a,
    #source-sidebar a,
    pre.rust a,
    .sidebar h2 a,
    .sidebar h3 a,
    .mobile-topbar h2 a,
    .in-band a {
        color: #c5c5c5;
    }

    .sidebar h2 a,
    .sidebar h3 a {
        color: white;
    }

    .search-results a {
        color: #0096cf;
    }

    body.source .example-wrap pre.rust a {
        background: #333;
    }

    details.rustdoc-toggle > summary.hideme > span,
    details.rustdoc-toggle > summary::before,
    details.undocumented > summary::before {
        color: #999;
    }

    details.rustdoc-toggle > summary::before,
    details.undocumented > summary::before {
        filter: invert(100%);
    }

    #crate-search,
    .search-input {
        background-color: #141920;
        border-color: #424c57;
        color: #c5c5c5;
    }

    .search-input {
        color: #ffffff;
    }

    .module-item .stab,
    .import-item .stab {
        color: #000;
    }

    .stab.unstable,
    .stab.deprecated,
    .stab.portability {
        color: #c5c5c5;
        background: #314559 !important;
        border-style: none !important;
        border-radius: 4px;
        padding: 3px 6px 3px 6px;
    }

    .stab.portability > code {
        color: #e6e1cf;
        background: none;
    }

    #help > div {
        background: #14191f;
        box-shadow: 0px 6px 20px 0px black;
        border: none;
        border-radius: 4px;
    }

    #help span.bottom,
    #help span.top {
        border-color: #5c6773;
    }

    .rightside,
    .out-of-band {
        color: grey;
    }

    .result-name .primitive > i,
    .result-name .keyword > i {
        color: #788797;
    }

    .line-numbers :target {
        background-color: transparent;
    }

    pre.rust .number,
    pre.rust .string {
        color: #b8cc52;
    }

    pre.rust .kw,
    pre.rust .kw-2,
    pre.rust .prelude-ty,
    pre.rust .bool-val,
    pre.rust .prelude-val,
    pre.rust .op,
    pre.rust .lifetime {
        color: #ff7733;
    }

    pre.rust .macro,
    pre.rust .macro-nonterminal {
        color: #a37acc;
    }

    pre.rust .question-mark {
        color: #ff9011;
    }

    pre.rust .self {
        color: #36a3d9;
        font-style: italic;
    }

    pre.rust .attribute {
        color: #e6e1cf;
    }

    pre.rust .attribute .ident,
    pre.rust .attribute .op {
        color: #e6e1cf;
    }

    .example-wrap > pre.line-number {
        color: #5c67736e;
        border: none;
    }

    a.test-arrow {
        font-size: 100%;
        color: #788797;
        border-radius: 4px;
        background-color: rgba(57, 175, 215, 0.09);
    }

    a.test-arrow:hover {
        background-color: rgba(57, 175, 215, 0.368);
        color: #c5c5c5;
    }

    .toggle-label,
    .code-attribute {
        color: #999;
    }

    :target {
        background: rgba(255, 236, 164, 0.06);
        border-right: 3px solid rgba(255, 180, 76, 0.85);
    }

    pre.compile_fail {
        border-left: 2px solid rgba(255, 0, 0, .4);
    }

    pre.compile_fail:hover,
    .information:hover + pre.compile_fail {
        border-left: 2px solid #f00;
    }

    pre.should_panic {
        border-left: 2px solid rgba(255, 0, 0, .4);
    }

    pre.should_panic:hover,
    .information:hover + pre.should_panic {
        border-left: 2px solid #f00;
    }

    pre.ignore {
        border-left: 2px solid rgba(255, 142, 0, .6);
    }

    pre.ignore:hover,
    .information:hover + pre.ignore {
        border-left: 2px solid #ff9200;
    }

    .tooltip.compile_fail {
        color: rgba(255, 0, 0, .5);
    }

    .information > .compile_fail:hover {
        color: #f00;
    }

    .tooltip.should_panic {
        color: rgba(255, 0, 0, .5);
    }

    .information > .should_panic:hover {
        color: #f00;
    }

    .tooltip.ignore {
        color: rgba(255, 142, 0, .6);
    }

    .information > .ignore:hover {
        color: #ff9200;
    }

    .search-failed a {
        color: #39AFD7;
    }

    .tooltip::after {
        background-color: #314559;
        color: #c5c5c5;
        border: 1px solid #5c6773;
    }

    .tooltip::bef...

Reviews

No reviews yet.