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;
|
||||
line-height: @line-height-base;
|
||||
position: relative;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mw-indicator {
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
@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) */
|
||||
#siteNotice {
|
||||
font-size: @font-size-site-notice;
|
||||
margin: @grid-row-gap 0;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -80,26 +80,24 @@ body {
|
|||
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 {
|
||||
position: relative;
|
||||
z-index: @z-index-base;
|
||||
|
||||
#siteSub {
|
||||
// By default its hidden as it was hidden in Vector legacy but site styles can reveal.
|
||||
display: none;
|
||||
margin-top: 8px; // T311564
|
||||
}
|
||||
|
||||
#contentSub,
|
||||
#contentSub2 {
|
||||
// T311564: Override core styles to apply margin-top rather than margin-bottom
|
||||
margin-top: 8px;
|
||||
margin-bottom: 0;
|
||||
// T307715: Override core styles to align with page title and #siteSub
|
||||
margin-left: 0;
|
||||
font-size: 84%;
|
||||
line-height: 1.2em;
|
||||
// T311564
|
||||
margin: 8px 0 0;
|
||||
color: #54595d;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -235,9 +235,14 @@
|
|||
"content-links-external": false,
|
||||
"content-media": true,
|
||||
"content-tables": true,
|
||||
"interface": true,
|
||||
"interface-message-box": true,
|
||||
"interface": false,
|
||||
"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-all-lists-margins": true,
|
||||
"i18n-headings": true,
|
||||
|
|
Loading…
Reference in New Issue