Skip to content

www.gem5.org documentation centering by SimonLammer

Screenshot of www.gem5.org documentation centering

Details

AuthorSimonLammer

LicenseMIT

Categorygem5.org

Created

Updated

Size566 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Centers text of gem5 documentation

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           www.gem5.org - 2023-09-15, 12:09:10 p.m.
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Center gem5 documentation
@author         GitProphet
==/UserStyle== */
@-moz-document url-prefix("https://www.gem5.org/documentation/") {
    div#doc-container {
        margin: auto;
        margin-left: auto;
        text-align: justify;
        border-left: 250px solid transparent;
        max-width: 80em;
    }
    
    div#doc-container > p > img {
        margin: auto;
        display: block;
    }
}

Reviews

No reviews yet.