Jump to content

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

From Freelancipedia
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 153: Line 153:
     margin-bottom: 2em;
     margin-bottom: 2em;
}
}




Line 162: Line 161:
body {
body {
   font-family: sans-serif;
   font-family: sans-serif;
   font-size: 14px;
   font-size: 13px;
   background-color: #ffffff;
   background-color: #fff;
   color: #000;
   color: #000;
   margin: 30px auto;
   margin: 40px auto;
   max-width: 800px;
   max-width: 1000px;
   line-height: 1.6;
   line-height: 1.6;
}
}


.wiki-box {
.box {
   background-color: #e7ddf2;
   background-color: #f1e8fb; /* soft purple */
   border: 1px solid #c4b6d9;
   border: 1px solid #d1c2eb;
   margin: 20px 0;
   margin-bottom: 20px;
  padding: 0;
   border-radius: 4px;
   border-radius: 4px;
  overflow: hidden;
}
}


.wiki-heading {
.box-header {
   background-color: #cfc0e9;
   background-color: #d8c7f1; /* darker header */
  padding: 8px 10px;
   font-weight: bold;
   font-weight: bold;
  padding: 8px 10px;
   font-size: 14px;
   font-size: 15px;
   border-bottom: 1px solid #d1c2eb;
   border-bottom: 1px solid #c4b6d9;
}
}


.wiki-box p {
.box-content {
   padding: 10px;
   padding: 10px;
   margin: 0;
   background-color: #f1e8fb;
}
}


a {
a {
   color: #3366cc;
   color: #0645ad;
   text-decoration: none;
   text-decoration: none;
}
}

Revision as of 13:09, 27 July 2025

/* Welcome box */
.fp-welcome-box {
    background-color: #1f2937;
    padding: 2em 1em;
    border-radius: 8px;
    margin-bottom: 1em;
    text-align: center;
    border: 1px solid #374151;
    font-family: Georgia;
}

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

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

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

/* End Welcome Box */






/* 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;
}

/* End Four Box */





.fp-info-box {
    background-color: #f1f5f9;
    border-left: 5px solid #3b82f6;
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 1em;
    font-size: 1em;
}






.fp-grid-box {
    display: flex;
    gap: 1em;
    justify-content: space-around;
    margin-bottom: 1em;
}

.fp-grid-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1em;
    text-align: center;
    font-size: 1.1em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}









.fp-box-purple {
    background-color: #f3e8fd;
    border-left: 5px solid #9b51e0;
    padding: 2em;
    border-radius: 8px;
    line-height: 1.7;
    font-size: 1em;
    margin-bottom: 2em;
}






body {
  font-family: sans-serif;
  font-size: 13px;
  background-color: #fff;
  color: #000;
  margin: 40px auto;
  max-width: 1000px;
  line-height: 1.6;
}

.box {
  background-color: #f1e8fb; /* soft purple */
  border: 1px solid #d1c2eb;
  margin-bottom: 20px;
  border-radius: 4px;
}

.box-header {
  background-color: #d8c7f1; /* darker header */
  padding: 8px 10px;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px solid #d1c2eb;
}

.box-content {
  padding: 10px;
  background-color: #f1e8fb;
}

a {
  color: #0645ad;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}