MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Welcome Message */
.welcome-message {
    position: relative;
    font-family: 'EasonPro', Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 30px;
    margin: 0.5em;
    text-align: center;
}
/* Main Content */
.main-content {
    position: relative;
    background-color: transparent;
    margin: 0 -16px;
}
/* Content Wrapper */
.content-wrapper {
    display: inline-block;
    max-width: 960px;
}
/* Content Box */
.content-box {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Content Header */
.content-header {
    display: block;
    width: 100%;
    background: #522F65;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}
/* Image Gallery */
.image-gallery {
    text-align: center;
}
/* Mobile Gallery */
.mobile-gallery {
    display: flex;
    flex-direction: column;
}
/* Image Row */
.image-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
/* Guide Links */
.guide-links {
    display: flex;
    flex-direction: column;
}
/* Guide Row */
.guide-row {
    display: flex;
    flex-direction: row;
}
/* Guide Column */
.guide-column {
    padding: 10px;
    width: 50%;
    text-align: center;
}
/* Guide Table */
.guide-table {
    width: 100%;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) -0.4em 0.4em 0.5em;
    border-collapse: collapse;
}
.guide-table td {
    padding: 10px;
}
/* Community Info */
.community-info {
    padding: 5px;
    width: 100%;
    text-align: center;
    font-family: 'EasonPro', Helvetica, Arial, sans-serif;
    font-size: 20px;
}
/* Community Links */
.community-links {
    padding: 10px;
    width: 100%;
    text-align: center;
}
/* Community Actions */
.community-actions {
    display: flex;
    justify-content: space-around;
}
/* Enhanced styles for a modern look */
/* Enhanced styles for a modern look */


Line 142: Line 26:
     cursor: pointer;
     cursor: pointer;
     border-radius: 5px;
     border-radius: 5px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
}


Line 187: Line 74:
     .mw-body {
     .mw-body {
         padding: 15px;
         padding: 15px;
        margin: 0; /* Remove margin */
     }
     }


Line 204: Line 92:
body {
body {
     font-family: 'Open Sans', sans-serif;
     font-family: 'Open Sans', sans-serif;
    margin: 0; /* Remove margin */
}
}


Line 291: Line 180:
/* change the background color of the navigation menu above the main text of wiki */
/* change the background color of the navigation menu above the main text of wiki */
li.mw-list-item {
li.mw-list-item {
background-image: none;
    background-image: none;
}
}


/* Change the looks of the text on the navigation menu above the main text of wiki */
/* Change the looks of the text on the navigation menu above the main text of wiki */
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
color: #7c25b8;
    color: #7c25b8;
}
}


nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
color: #7c25b8;
    color: #7c25b8;
}
}


/* Change the looks of the text on sidebar */
/* Change the looks of the text on sidebar */
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
font-weight: bold;
    font-weight: bold;
color: #7c25b8;
    color: #7c25b8;
}
}


nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
color: #7c25b8;
    color: #7c25b8;
}
}


Line 341: Line 229:
.table.plain > tbody > tr:nth-child(odd),
.table.plain > tbody > tr:nth-child(odd),
.table > tbody > tr.plain:nth-child(odd) {
.table > tbody > tr.plain:nth-child(odd) {
     background-color:transparent !important;
     background-color: transparent !important;
}
}


Line 347: Line 235:


p.white {
p.white {
  color:#FFFFFF;
    color: #FFFFFF;
}
}


/*remove header on Main_Page*/
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
body.page-Main_Page.ns-subject h1.firstHeading {
  display: none;
    display: none;
}
}


/** INFOBOXES **/
/** INFOBOXES **/
.infobox {
.infobox {
  border: 1px solid #020202;
    border: 1px solid #020202;
  background-color: #f9f9f9;
    background-color: #f9f9f9;
  color: black;
    color: black;
  margin-bottom: 0.2em;
    margin-bottom: 0.2em;
  margin-left: 1em;
    margin-left: 1em;
  padding: 0.2em;
    padding: 0.2em;
  float: right;
    float: right;
  clear: right;
    clear: right;
}
}
.infobox td,
.infobox td,
.infobox th {
.infobox th {
  vertical-align: top;
    vertical-align: top;
}
}
.infobox caption {
.infobox caption {
  font-size: larger;
    font-size: larger;
  margin-left: inherit;
    margin-left: inherit;
}
}
.infobox.bordered {
.infobox.bordered {
  border-collapse: collapse;
    border-collapse: collapse;
}
}
.infobox.bordered td,
.infobox.bordered td,
.infobox.bordered th {
.infobox.bordered th {
  border: 1px solid #020202;
    border: 1px solid #020202;
}
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
.infobox.bordered .borderless th {
  border: 0;
    border: 0;
}
}


Line 392: Line 280:
.table.ktv-table > :first-child > tr:first-child > *,
.table.ktv-table > :first-child > tr:first-child > *,
.table.ktv-table > tbody > tr.heading > * {
.table.ktv-table > tbody > tr.heading > * {
     background-color:#522F65!important;
     background-color: #522F65 !important;
     border-color:#777d9e!important;
     border-color: #777d9e !important;
}
}
    
    
.table.ktv-table > tbody > tr:nth-child(odd),
.table.ktv-table > tbody > tr:nth-child(odd),
.table > tbody > tr.ktv-table:nth-child(odd) {
.table > tbody > tr.ktv-table:nth-child(odd) {
     background-color:#dfe1ec;
     background-color: #dfe1ec;
}
 
/* Allow limiting of which header levels are shown in a TOC;
  <div class="toclimit-3">, for instance, will limit to
  showing ==headings== and ===headings=== but no further
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
  display: none;
}
}