Difference between revisions of "MediaWiki:Common.css"

From Tâi-oân-kì
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 12: Line 12:
     margin-bottom: 2em;
     margin-bottom: 2em;
     padding: 2em;
     padding: 2em;
}
.highlighted {
    display: inline;
    box-shadow: inset 0 -0.5em 0 #d2f5a4;
}
}


Line 23: Line 28:


.mp-left-col {
.mp-left-col {
     background: #ecf9db;
     background: lightgoldenrodyellow;
     border-radius: 15px;
     border-radius: 5px;
}
 
#mp-category-list {
  columns:3; text-align:center; list-style:none;
}
 
#mp-category-list li span {
  padding:0 1em;
  white-space: nowrap;
}
}



Latest revision as of 2025 nî 11 goe̍h 7 ji̍t, 17:35

/* CSS placed here will be applied to all skins */

html, body {
    font-family: Helvetica Neue, sans-serif;
}

#mp-topbanner {
    border-width: 6px 0 6px 0;
    border-style: solid;
    border-color: #006400;
    text-align:center; 
    margin-bottom: 2em;
    padding: 2em;
}

.highlighted {
    display: inline;
    box-shadow: inset 0 -0.5em 0 #d2f5a4;
}

.mp-card-title {
    font-size: 150%;
    font-weight: bold;
    border-bottom: 0;
    margin: 0 1em;
}


.mp-left-col {
    background: lightgoldenrodyellow;
    border-radius: 5px;
}

#mp-category-list {
   columns:3; text-align:center; list-style:none;
}

#mp-category-list li span {
   padding:0 1em; 
   white-space: nowrap;
}


@media all and ( min-width: 720px ) {
    .mp-row {
      display: flex;
    }

    .mp-left-col {
      flex: 55%;
    }

    .mp-right-col {
      flex: 45%;
    }

}