mist

static web generator written in Go

Files | Log | Commits | Refs | README


style.css

Size: 1629 bytes

/* Mist Demo Site Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #f8f9fa;
    color: #2980b9;
}

main {
    margin-bottom: 40px;
}

article h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
}

article h2 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.4em;
}

article h3 {
    color: #34495e;
    margin: 25px 0 10px 0;
    font-size: 1.2em;
}

article p {
    margin-bottom: 15px;
    text-align: justify;
}

article ul {
    margin: 15px 0 15px 30px;
}

article li {
    margin-bottom: 5px;
}

footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9em;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    header h1 {
        font-size: 1.5em;
    }
}