MediaWiki:Common.css: Difference between revisions

Kuhlau (talk | contribs)
move imports to Common
 
Kuhlau (talk | contribs)
trying out the one I did for nikki1, it might have fixed some stuff
 
(5 intermediate revisions by 2 users not shown)
Line 18: Line 18:
@import url("/index.php?title=MediaWiki:Attributes.css&action=raw&ctype=text/css&cb=3");
@import url("/index.php?title=MediaWiki:Attributes.css&action=raw&ctype=text/css&cb=3");
@import url("/index.php?title=MediaWiki:ChangeHistory.css&action=raw&ctype=text/css&cb=3");
@import url("/index.php?title=MediaWiki:ChangeHistory.css&action=raw&ctype=text/css&cb=3");
@import url("/index.php?title=MediaWiki:Edios Infobox.css&action=raw&ctype=text/css&cb=3");


/* Import Font */
/* Import Font */
Line 25: Line 26:
:root {
:root {
--theme-page-headings-font: 'Quicksand';
--theme-page-headings-font: 'Quicksand';
}
/* [[Template:Description]] styles */
div.description-wrapper {
border: 1px solid var(--border-color);
overflow: hidden;
border-radius: 8px;
background: #bf8c4015;
}
div.description-content {
font-size: 15px;
text-align: left;
overflow: auto;
line-height: 1.35em;
padding: 12px 12px 12px 12px;
}
div.description-source {
font-size: 15px;
overflow: auto;
padding: 5px 12px;
}
hr.description-separator {
width: 97.5%;
margin: auto;
}
div.description-title {
font-size: 15px;
text-align: left;
overflow: auto;
padding: 10px 12px 6px;
}
/* For [[Module:Formatting]] */
.custom-formatting-code {
display: inline-block;
line-height: 21px;
}
.custom-formatting-code.code-block-table { display: table; }
span.variable { opacity: 0.65; }
span.variable::after {
opacity: 0.65;
content: ">";
}
span.variable::before {
opacity: 0.65;
content: "<";
}
.custom-formatting-nested { display: none; }
.custom-formatting-resulting { display: inline; }
.custom-formatting-code .custom-formatting-nested { display: inline-block; }
.custom-formatting-code .custom-formatting-resulting { display: none; }
/* End for [[Module:Formatting]] */
/* [[Template:Latest Edits]] Fix for UCP */
#ActivityFeed .mw-changeslist-line-inner-rollback,
#ActivityFeed .mw-changeslist-line-inner-tags,
#ActivityFeed .mw-changeslist-line-inner-userTalkLink,
#ActivityFeed .mw-changeslist-line-inner-separatorAftercharacterDiff,
#ActivityFeed .mw-changeslist-line-inner-separatorAftercharacterDiff,
#ActivityFeed .mw-changeslist-line-inner-userTalkLink,
#ActivityFeed td.mw-enhanced-rc,
#ActivityFeed .mw-changeslist-legend,
#ActivityFeed .mw-changeslist-line-inner-historyLink,
#ActivityFeed .mw-changeslist-line-inner-separatorAfterLinks,
#ActivityFeed .mw-changeslist-line-inner-characterDiff,
#ActivityFeed .mw-changeslist-line-inner-comment,
#ActivityFeed .mw-changeslist-line-inner-watchingUsers,
#ActivityFeed .mw-changeslist-line-inner-watchingUsers,
#ActivityFeed .activity-tabs,
#ActivityFeed .activity-summary,
#ActivityFeed .mw-enhancedchanges-arrow-space,
#ActivityFeed .cdx-message--warning,
#ActivityFeed .mw-changeslist-links,
#ActivityFeed .mw-changeslist-separator,
#ActivityFeed .mw-changeslist-separator--semicolon,
#ActivityFeed .mw-changeslist-date,
#ActivityFeed .mw-tag-markers,
#ActivityFeed ul.special .comment,
#ActivityFeed .mw-diff-bytes {
display: none;
}
#ActivityFeed .mw-changeslist-line-inner {
display: flex;
width: 100%;
}
#ActivityFeed .mw-changeslist-line-inner-userLink:before {
content: "";
white-space: pre-wrap;
}
#ActivityFeed .mw-changeslist-line-inner-articleLink {
flex-grow: 2;
}
#ActivityFeed .mw-changeslist-line-inner {
text-align:left;
width: auto;
}
#ActivityFeed span.mw-changeslist-line-inner-userLink a {
vertical-align: middle;
}
#ActivityFeed span.mw-changeslist-line-inner-userLink {
font-size: 11px;
position: relative;
}
#ActivityFeed .mw-changeslist div table {
border-bottom: none;
padding-top: 3px !important;
padding-bottom: 2px;
width: calc(100% - 10px);
}
#ActivityFeed .mw-changeslist div table:last-child {
border: none;
}
/* End [[Template:Latest Edits]] Fix for UCP */
/* Styling for [[Template:tt]] */
.text-tooltip {
cursor: help;   
}
.text-tooltip:not(.no-underline) {
border-bottom-color: rgb(128, 128, 128);
border-bottom-width: 1px;
border-bottom-style: dotted;
}
}