nindwen.blue

my home page
git clone https://git.nindwen.blue/nindwen.blue.git
README | Files | Log | Refs

main.scss (2437B)



$back: #fefefe;
$front: #1b1b1b;
$accent: #66006f;

$font-stack: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif;
$mono-stack: "Courier New", Courier, monospace;

html, body {
    font-family: $font-stack;
    font-size: 14pt;
    background: $back;
    @media only screen and (min-width: 1110px) {
        background: linear-gradient(80deg,$accent 20%,#8f8f8f 20.1%, $back 20.5%,$back 90%,#8f8f8f 90.4%, $accent 90.5%);
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    color: $front;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

#content {
    background: $back;
    max-width: 500px;
    padding: 50px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin: auto;
    text-align: left;
    line-height: 1.5;

    @media only screen and (max-width: 640px) {
        padding: 10px;
    }

    em {
        color: $accent;
        font-style: normal;
        font-weight: bold;
    }

    blockquote {
        font-style: italic;
        border-left: solid lightgrey 4px;
        padding-left: 20px;
        color: grey;
    }

    code {
        display: block;
        font-family: $mono-stack;
        font-size: 90%;
        color: grey;
        line-height: 1.0;
    }

    h3 {
        color: $accent;
    }

    table {
        margin: 0 auto;

        th, td {
            padding: 20px;
            padding-top: 0px;
            padding-bottom: 0px;
        }

        td:nth-child(1) {
            font-weight: bold;
            color: $accent;
        }

        tr {
            border-bottom: 1px solid $front;
        }
    }


    a, a:visited {
        color: $accent;
    }

}

header {
    max-width: 200px;
    margin: auto;
    text-align: center;

    img {
        max-width: 100%;
        @media only screen and (max-width: 640px) {
            max-width: 50%;
        }
    }
}


hr {
    border: 0; 
    height: 2px; 
    background-image: linear-gradient(to left, $back, $accent, $back);
    background-image: -webkit-linear-gradient(to left, $back, $accent, $back);
    background-image: -moz-linear-gradient(to left, $back, $accent, $back);
    background-image: -ms-linear-gradient(to left, $back, $accent, $back);
    background-image: -o-linear-gradient(to left, $back, $accent, $back); 
}

footer {
    text-align: center;
    color: grey;
    margin: 20px;
    font-size: 90%;
    
    a, a:visited {
        color: grey;
    }
}