~tim-ats-d/Blog

4d675e0f8889e95b25545fc6e83e7d38edb05cbd — Tim-ats-d 9 months ago 571f6d3 master
Cleanup css.
2 files changed, 19 insertions(+), 26 deletions(-)

M styles/default.css
M templates/layout.html
M styles/default.css => styles/default.css +18 -25
@@ 55,17 55,16 @@ body {
}

nav {
    display: flex;
    position: fixed;
    align-items: self-end;
    top: 0;
    width: 100%;
    margin: 0 var(--border) 0 0;
    padding: .6rem var(--border) .6rem;
    display: flex;
    align-items: self-end;
    padding: .6rem var(--border);
    background-color: var(--surface);
}

nav .index {
nav a:first-of-type {
    font-family: JetBrainsMonoBold;
    font-size: 130%;
    color: var(--pine);


@@ 73,22 72,20 @@ nav .index {

nav a {
    font-size: 120%;
    text-decoration: none;
    padding-right: 1rem;
    color: var(--foam);
}

main {
    display: block;
    max-width: 80ch;
    margin: 0 var(--border) 0 var(--border);
    font-family: serif;
    margin: 0 var(--border);
    background-color: var(--overlay);
}

main hgroup {
    padding: 2% 0 2% 0;
    padding: 2% 0;
    background-color: var(--base);
    text-align: center;
}

main hgroup h1 {


@@ 96,22 93,20 @@ main hgroup h1 {
    border-bottom: 1px solid var(--inactive);
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--pine);
    line-height: 1.3;
}

main hgroup p {
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    color: var(--iris);
}

main section article h1 {
    font-size: 120%;
    color: var(--pine);
    padding-bottom: 4%;
    color: var(--pine);
}

main section article address {


@@ 121,21 116,20 @@ main section article address {
}

main article .article-body {
    padding: 2em 2em 2em;
    padding: 2em 2em;
    text-align: justify;
    line-height: 1.8;
}

main section article h2 {
    margin: 0;
    font-size: 120%;
    color: var(--pine);
    padding-bottom: 4%;
    margin: unset;
    line-height: unset;
}

article h2 {
    margin: 1rem 0 1rem 0;
    margin: 1rem 0;
    color: var(--foam);
    font-size: 140%;
    line-height: 1.1;


@@ 169,7 163,6 @@ article .code-container {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--surface);

}

article .code-container pre {


@@ 199,7 192,7 @@ article .code-file {
}

section {
    padding: 1em 1em 1em;
    padding: 1em;
}

section h3 {


@@ 231,7 224,7 @@ footer {
    display: flex;
    justify-content: space-between;
    margin-top: 5%;
    padding: 1% var(--border) 3% var(--border);
    padding: 1% var(--border) 3%;
    font-size: 80%;
    background-color: var(--surface);
}


@@ 240,7 233,7 @@ footer svg {
    width: 2.2rem;
    height: 2.2rem;
    padding-left: 0.5rem;
    fill: #000;
    fill: black;
}

footer .profil-links address {


@@ 255,11 248,11 @@ footer .mentions {
@media screen and (max-width: 800px) {
    nav {
        margin: 0;
        padding: .6rem 0.6rem .6rem;
        padding: .6rem .6rem;
    }

    main {
        margin: 0 0rem 3rem 0rem
        margin: 0 0 3rem
    }

    main article hgroup {


@@ 267,7 260,7 @@ footer .mentions {
    }

    main article .article-body {
        padding: 1em 1em 1em
        padding: 1em
    }

    main section h3 {


@@ 275,6 268,6 @@ footer .mentions {
    }

    footer {
        padding: 3% .6rem 3% 0.6rem;
        padding: 3% .6rem;
    }
}
\ No newline at end of file

M templates/layout.html => templates/layout.html +1 -1
@@ 13,7 13,7 @@

<body>
    <nav>
        <a href="index.html" class="index">~tim-ats</a>
        <a href="index.html">~tim-ats</a>
        <a href="articles.html">articles</a>
        <a href="feed.xml">feed</a>
    </nav>