MediaWiki:Common.css: Difference between revisions

From rae.wiki
No edit summary
No edit summary
Line 61: Line 61:
     padding: 0 1rem;
     padding: 0 1rem;
     margin-bottom: 1.563rem;
     margin-bottom: 1.563rem;
}
a {
    color: var(--primary);
    text-decoration: none;
}
}



Revision as of 20:36, 12 July 2023

#ca-talk { display:none!important; }

/* from https://theresnotime.github.io/axist2/ */
body {
    padding: 0;
    word-wrap: break-word;
    font-family: "Helvetica";
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    margin-top: 1em;
    font-weight: bold;
}

h1 {
    font-size: 3.052rem;
    line-height: 1;
}

h2 {
    font-size: 2.441rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.953rem;
    line-height: 1.2;
}

h4 {
    font-size: 1.563rem;
    line-height: 1.3;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p {
    margin-bottom: 1.563rem;
}

p > *:last-child {
    margin-bottom: 0;
}

blockquote {
    border-left: 1px solid var(--light-gray);
    padding: 0 1rem;
    margin-bottom: 1.563rem;
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline;
    }
}

small {
    font-size: 0.888rem;
}

hr {
    border: 0;
    height: 2px;
    margin: 1rem 0;
    background: var(--light-gray);
}