MediaWiki:Common.css: Difference between revisions
Appearance
![]() Cdjensen94 (talk | contribs) |
![]() Cdjensen94 (talk | contribs) |
||
Line 13: | Line 13: | ||
.mw-datatable th { | .mw-datatable th { | ||
background-color: var(--color-accent-navy); | background-color: var(--color-accent-navy); | ||
} | } | ||
/* Let user tool links wrap instead of forcing one line */ | /* Let user tool links wrap instead of forcing one line */ | ||
Line 238: | Line 235: | ||
body.page-Special_ListFiles .mw-datatable.listfiles td.TablePager_col_thumb img { | body.page-Special_ListFiles .mw-datatable.listfiles td.TablePager_col_thumb img { | ||
max-width: 100%; height: auto; object-fit: contain; display: block; | max-width: 100%; height: auto; object-fit: contain; display: block; | ||
} | |||
/* Let the RecentChanges list shrink and wrap inside your body */ | |||
body.page-Special_RecentChanges .continuum-body { | |||
min-width: 0; | |||
max-width: 100%; | |||
} | |||
/* Each line wrapper should shrink, not overflow */ | |||
body.page-Special_RecentChanges .mw-changeslist-line-inner { | |||
min-width: 0; | |||
white-space: normal; | |||
overflow-wrap: anywhere; | |||
word-break: break-word; | |||
} | |||
/* Force user tool links to wrap */ | |||
body.page-Special_RecentChanges .mw-usertoollinks { | |||
white-space: normal !important; | |||
overflow-wrap: anywhere; | |||
word-break: break-word; | |||
} | |||
/* Diff links (cur, prev, hist) should wrap too */ | |||
body.page-Special_RecentChanges .mw-changeslist-links { | |||
white-space: normal !important; | |||
overflow-wrap: anywhere; | |||
} | |||
/* Comments can be very long — allow them to wrap */ | |||
body.page-Special_RecentChanges .comment { | |||
white-space: normal; | |||
overflow-wrap: anywhere; | |||
word-break: break-word; | |||
} | |||
/* Tags (abuse filter, edit tags) can also pile up */ | |||
body.page-Special_RecentChanges .mw-tag-markers { | |||
white-space: normal; | |||
overflow-wrap: anywhere; | |||
word-break: break-word; | |||
} | } |