Jump to content

Template:Main Page/styles.css: Difference between revisions

From Freelancipedia
No edit summary
No edit summary
Line 1: Line 1:
/* Welcome box */
/* Welcome box */
.fp-welcome-box {
.fp-welcome-box {
     background-color: #e6f5f0;
     background-color: #f4f0fa;
     padding: 2em 1em;
     padding: 2em 1em;
     margin-bottom: 1em;
     margin-bottom: 1em;
     text-align: center;
     text-align: center;
     border: 1px solid #ffdcc8;
     border: 1px solid #d3c4e3;
     font-family: sans-serif;
     font-family: sans-serif;
}
}

Revision as of 05:55, 20 July 2025

/* Welcome box */
.fp-welcome-box {
    background-color: #f4f0fa;
    padding: 2em 1em;
    margin-bottom: 1em;
    text-align: center;
    border: 1px solid #d3c4e3;
    font-family: sans-serif;
}

/* Welcome title */
.fp-welcome-title {
    font-size: 2em;
    font-weight: 400;
    color: #000;
}

/* Subtext under the welcome line */
.fp-welcome-subtext {
    font-size: 1em;
    color: #202122;
    margin-top: 0.5em;
    display: block;
}

/* Styled link imitation */
.fp-welcome-subtext .fp-link {
    color: #0645ad;
    text-decoration: none;
}
.fp-welcome-subtext .fp-link:hover {
    text-decoration: underline;
}











/* Header style */
.mp-header {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
    line-height: 1.5em;
}

/* Container for top boxes */
.mp-main-container {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
}

/* Box styling */
.green-box, .blue-box {
    padding: 1em;
    border: 1px solid #a2a9b1;
    border-radius: 5px;
    background-color: #f8f9fa;
    flex: 1;
}

/* Specific colors */
.green-box {
    background-color: #f5fff5;
    border-left: 10px solid #a7d7a7;
}

.blue-box {
    background-color: #f5faff;
    border-left: 10px solid #aaccee;
}

/* Lower section (Did you know, On this day) */
.mp-lower-container {
    display: flex;
    gap: 1em;
}

.mp-lower-box {
    flex: 1;
    padding: 1em;
    border: 1px solid #a2a9b1;
    border-radius: 5px;
}

/* Headings inside boxes */
.green-box > h3, .blue-box > h3 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px solid #ccc;
}

/* Link styling */
a {
    color: #0645ad;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}