MediaWiki:Common.css: Difference between revisions

From CityGraph
Jump to navigation Jump to search
No edit summary
No edit summary
Line 90: Line 90:
     margin-bottom: 10px;
     margin-bottom: 10px;
     color: #54595d;
     color: #54595d;
}
/* Simplified frame style */
.frame {
    border: 1px solid #000000;
    padding: 10px;
    border-radius: 5px;
    background-color: #f2f2f2;
    box-shadow: 0 0 0.3em #999;
    margin: 1em 0 2em 0;
}
/* Header style within the frame */
.frame h2 {
    margin-top: 0;
}
}

Revision as of 09:36, 19 April 2024

/* Reset default browser styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 16px;
    background-color: #f0f8ff; /* Very light blue */
}

/* Container styles */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
.header {
    background-color: #f8f9fa;
    padding: 10px 0;
}

.header h1 {
    margin: 0;
    font-family:sans-serif;
    
    font-size: 24px;
    font-weight: bold;
}

/* Navigation styles */
.nav {
    background-color: #007ba7;
    padding: 10px;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav ul li {
    display: inline;
    margin-right: 10px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav ul li a:hover {
    background-color: #005a7e;
}

/* Content styles */
.content {
    padding: 20px 0;
}

/* Footer styles */
.footer {
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}




/*wikidata style frames*/
.mw-parser-output .mp-frame {
    box-shadow: 0 0 0.3em #999;
    border-radius: 0.2em;
    margin: 1em 0 2em 0;
    padding: 1px;
}


/*wikidata style frames*/
.mw-parser-output .wd-mp-header {
    display: grid;
    place-items: center;
    isolation: isolate;
    text-align: center;
    margin-bottom: 10px;
    color: #54595d;
}


/* Simplified frame style */
.frame {
    border: 1px solid #000000;
    padding: 10px;
    border-radius: 5px;
    background-color: #f2f2f2;
    box-shadow: 0 0 0.3em #999;
    margin: 1em 0 2em 0;
}

/* Header style within the frame */
.frame h2 {
    margin-top: 0;
}