MediaWiki:Documentation.css: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Created page with "→‎Requires u:dev:MediaWiki:Module:Documentation.css loaded first: .doctable { border: none; } .doctable th.doc-header { padding: 15px; background-color: var(--theme-page-background-color--secondary); } .doctable tr.links td { padding: 0; } .doctable tr.links td a, .doctable tr.links td .mw-selflink { padding: 5px; display: block; font-size: 1rem; text-align: center; text-decoration: none; transition: 0.1s; font-weight: 5...")
 
No edit summary
Line 6: Line 6:
.doctable th.doc-header {
.doctable th.doc-header {
     padding: 15px;
     padding: 15px;
     background-color: var(--theme-page-background-color--secondary);
     background-color: var(--brown-300);
}
}


Line 21: Line 21:
     transition: 0.1s;
     transition: 0.1s;
     font-weight: 500;
     font-weight: 500;
    background-color: var(--gray-100);
    border-radius: 6px;
}
}


.doctable tr.links td .mw-selflink {
.doctable tr.links td .mw-selflink {
    background-color: var(--theme-accent-color);
  background-color: var(--brown-300);
}
}


.theme-fandomdesktop-dark .doctable tr.links td .mw-selflink,
.doctable tr.links td a:hover {
.theme-fandomdesktop-dark .doctable tr.links td a:hover{
  background-color: var(--brown-200);
    color: var(--theme-alt-text);
  transition: 0.3s;
}
 
.template-documentation {
  border-radius: 6px;
}
}


.doctable tr.links td a {
.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
    background-color: var(--theme-tab-inactive);
  border-color: var(--border);
    color: var(--theme-page-text-color);
  background-color: var(--gray-100);
}
}


.doctable tr.links td a:hover {
.template-documentation .template-documentation-header {
    background-color: var(--theme-accent-color);
  border-radius: 6px 6px 0 0;
    transition: 0.3s;
}
}


.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
.template-documentation .template-documentation-footer {
    border-color: #a1cebf;
  border-radius: 0 0 6px 6px;
    background-color: #EEEEEE1a;
}
}

Revision as of 18:01, 30 December 2023

/* Requires u:dev:MediaWiki:Module:Documentation.css loaded first */
.doctable {
    border: none;
}

.doctable th.doc-header {
    padding: 15px;
    background-color: var(--brown-300);
}

.doctable tr.links td {
    padding: 0;
}

.doctable tr.links td a, .doctable tr.links td .mw-selflink  {
    padding: 5px;
    display: block;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: 0.1s;
    font-weight: 500;
    background-color: var(--gray-100);
    border-radius: 6px;
}

.doctable tr.links td .mw-selflink {
  background-color: var(--brown-300);
}

.doctable tr.links td a:hover {
  background-color: var(--brown-200);
  transition: 0.3s;
}

.template-documentation {
  border-radius: 6px;
}

.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
  border-color: var(--border);
  background-color: var(--gray-100);
}

.template-documentation .template-documentation-header {
  border-radius: 6px 6px 0 0;
}

.template-documentation .template-documentation-footer {
  border-radius: 0 0 6px 6px;
}