Reduce dependency on core styles
Follow up to Ibf837775d972deb29e9619cc6c12c919aae5155a Depends-On: Ib5ae640bb260cee46e654228b785c776722c7003 Bug: T316027 Change-Id: I8ab2a554f753348ea2fb0fd4d28053ea17fbe83e
This commit is contained in:
parent
2321eeb054
commit
dfede899d6
|
@ -4,6 +4,7 @@
|
||||||
font-size: @font-size-base;
|
font-size: @font-size-base;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-indicator {
|
.mw-indicator {
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
@import '../variables.less';
|
@import '../variables.less';
|
||||||
|
|
||||||
|
/** element that wraps a notice that comes from wiki page */
|
||||||
|
#localNotice {
|
||||||
|
margin-bottom: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Site Notice (includes notices from CentralNotice extension) */
|
/* Site Notice (includes notices from CentralNotice extension) */
|
||||||
#siteNotice {
|
#siteNotice {
|
||||||
font-size: @font-size-site-notice;
|
font-size: @font-size-site-notice;
|
||||||
|
margin: @grid-row-gap 0;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,26 +80,24 @@ body {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#siteNotice {
|
|
||||||
// Override core styles to ensure sufficient spacing between page content and main menu
|
|
||||||
margin: @grid-row-gap 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
||||||
}
|
|
||||||
|
|
||||||
.vector-body {
|
.vector-body {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: @z-index-base;
|
z-index: @z-index-base;
|
||||||
|
|
||||||
#siteSub {
|
#siteSub {
|
||||||
|
// By default its hidden as it was hidden in Vector legacy but site styles can reveal.
|
||||||
|
display: none;
|
||||||
margin-top: 8px; // T311564
|
margin-top: 8px; // T311564
|
||||||
}
|
}
|
||||||
|
|
||||||
#contentSub,
|
#contentSub,
|
||||||
#contentSub2 {
|
#contentSub2 {
|
||||||
// T311564: Override core styles to apply margin-top rather than margin-bottom
|
font-size: 84%;
|
||||||
margin-top: 8px;
|
line-height: 1.2em;
|
||||||
margin-bottom: 0;
|
// T311564
|
||||||
// T307715: Override core styles to align with page title and #siteSub
|
margin: 8px 0 0;
|
||||||
margin-left: 0;
|
color: #54595d;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -235,9 +235,14 @@
|
||||||
"content-links-external": false,
|
"content-links-external": false,
|
||||||
"content-media": true,
|
"content-media": true,
|
||||||
"content-tables": true,
|
"content-tables": true,
|
||||||
"interface": true,
|
"interface": false,
|
||||||
"interface-message-box": true,
|
|
||||||
"interface-category": true,
|
"interface-category": true,
|
||||||
|
"interface-edit-section-links": true,
|
||||||
|
"interface-indicators": false,
|
||||||
|
"interface-message-box": true,
|
||||||
|
"interface-site-notice": false,
|
||||||
|
"interface-subtitle": false,
|
||||||
|
"interface-user-message": true,
|
||||||
"i18n-ordered-lists": true,
|
"i18n-ordered-lists": true,
|
||||||
"i18n-all-lists-margins": true,
|
"i18n-all-lists-margins": true,
|
||||||
"i18n-headings": true,
|
"i18n-headings": true,
|
||||||
|
|
Loading…
Reference in New Issue