Difference between revisions of "MediaWiki:Common.css"

From NY Science Standards Wiki
Line 49: Line 49:
 
     text-align: center;
 
     text-align: center;
 
     background-color: color(srgb 0.7405 0.8464 0.9685);
 
     background-color: color(srgb 0.7405 0.8464 0.9685);
 +
}
 +
 +
/* formatting of recent activity on front page */
 +
/* Center the list container */
 +
.mw-changeslist ul.special {
 +
    list-style: none;
 +
    padding: 0;
 +
    margin: 0 auto;
 +
    width: fit-content;
 +
    text-align: left;
 +
}
 +
 +
/* Base style for all list items */
 +
.mw-changeslist ul.special li {
 +
    transition: all 0.3s ease;
 +
    margin: 0.3em 0;
 +
}
 +
 +
/* Larger and more opaque at the top */
 +
.mw-changeslist ul.special li:nth-child(1) {
 +
    font-size: 1.5em;
 +
    opacity: 1;
 +
}
 +
.mw-changeslist ul.special li:nth-child(2) {
 +
    font-size: 1.4em;
 +
    opacity: 0.95;
 +
}
 +
.mw-changeslist ul.special li:nth-child(3) {
 +
    font-size: 1.3em;
 +
    opacity: 0.9;
 +
}
 +
.mw-changeslist ul.special li:nth-child(4) {
 +
    font-size: 1.2em;
 +
    opacity: 0.85;
 +
}
 +
.mw-changeslist ul.special li:nth-child(5) {
 +
    font-size: 1.1em;
 +
    opacity: 0.8;
 +
}
 +
.mw-changeslist ul.special li:nth-child(6) {
 +
    font-size: 1.05em;
 +
    opacity: 0.75;
 +
}
 +
.mw-changeslist ul.special li:nth-child(7) {
 +
    font-size: 1em;
 +
    opacity: 0.7;
 +
}
 +
.mw-changeslist ul.special li:nth-child(8) {
 +
    font-size: 0.95em;
 +
    opacity: 0.65;
 +
}
 +
.mw-changeslist ul.special li:nth-child(9) {
 +
    font-size: 0.9em;
 +
    opacity: 0.6;
 +
}
 +
.mw-changeslist ul.special li:nth-child(10) {
 +
    font-size: 0.85em;
 +
    opacity: 0.55;
 
}
 
}

Revision as of 09:15, 3 April 2025

/* CSS placed here will be applied to all skins */
@import "override.css";

/* performance expectation formatting */
#performance-expectation {
    font-size: large;
    font-style: italic;
}

/* NGSS Dimensions formatting */
.three-column-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#sep-section, #dci-section, #cc-section {
  flex: 1;
  min-width: 250px; /* prevents squishing on narrower screens */
  padding: 16px;
  box-sizing: border-box;
}

/* Optional: stack vertically on smaller screens */
@media (max-width: 768px) {
  .three-column-wrapper {
    flex-direction: column;
  }
}

#sep-section {
    background-color: aliceblue;
}

#dci-section {
    background-color: antiquewhite;
}

#cc-section {
    background-color: rgb(240, 255, 241);
}

.three-column-wrapper {
    padding-bottom: 10px;
}

/* bottom disclaimer formatting */
#disclaimer {
    text-align: center;
    background-color: color(srgb 0.7405 0.8464 0.9685);
}

/* formatting of recent activity on front page */
/* Center the list container */
.mw-changeslist ul.special {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
    text-align: left;
}

/* Base style for all list items */
.mw-changeslist ul.special li {
    transition: all 0.3s ease;
    margin: 0.3em 0;
}

/* Larger and more opaque at the top */
.mw-changeslist ul.special li:nth-child(1) {
    font-size: 1.5em;
    opacity: 1;
}
.mw-changeslist ul.special li:nth-child(2) {
    font-size: 1.4em;
    opacity: 0.95;
}
.mw-changeslist ul.special li:nth-child(3) {
    font-size: 1.3em;
    opacity: 0.9;
}
.mw-changeslist ul.special li:nth-child(4) {
    font-size: 1.2em;
    opacity: 0.85;
}
.mw-changeslist ul.special li:nth-child(5) {
    font-size: 1.1em;
    opacity: 0.8;
}
.mw-changeslist ul.special li:nth-child(6) {
    font-size: 1.05em;
    opacity: 0.75;
}
.mw-changeslist ul.special li:nth-child(7) {
    font-size: 1em;
    opacity: 0.7;
}
.mw-changeslist ul.special li:nth-child(8) {
    font-size: 0.95em;
    opacity: 0.65;
}
.mw-changeslist ul.special li:nth-child(9) {
    font-size: 0.9em;
    opacity: 0.6;
}
.mw-changeslist ul.special li:nth-child(10) {
    font-size: 0.85em;
    opacity: 0.55;
}