MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(369 intermediate revisions by 9 users not shown)
Line 1: Line 1:
___NORICHEDITOR___
/* Hides the main search field on the Main Page
/* CSS placed here will be applied to all skins */  
.page-Main_Page #p-search {
display:none;
}*/


/* Entries to counter wiki.css code that is disrupting the ability of text to flow */  
/* Temporary solution to hide ToC on page (redundant with dismissible ToC) */
 
#toc.toc {
#mainContent p {
  display: none;
clear: none;
}
}


#contentSub {
/* Adds spacing between list items
display: block;
.mw-body ul li, .mw-body-content ul li {
font-size: 84%;
padding: 0.08em;
line-height: 1.2em;
}*/
margin: 0 0 1.4em 1em;
color: #7D7D7D;
width: auto;
}  


dd {
/* Adds spacing between Vector menu list items (Test on specific page) */
margin-bottom: 0.5em;
.page-Talk_Anguilla_Genealogy .vector-menu-content-list li {
}  
margin-bottom: 0.66em;
}


/* Entries to counter wiki.css code for TOC */  
/* Shifts the Destination filename field on the Special:Upload page */
#toc {
.page-Special_Upload #wpDestFile {
width: auto;
transform: translate(-240px, 135px);
}  
}


#toc ul {
/* Shifts the Summary & Licensing fields on the Special:Upload page */
margin-top: 0px;
.page-Special_Upload #wpUploadDescription,#wpLicense {
}  
transform: translate(-240px, 0px);
}


#toc ul {
/* Temp fix START */
margin-left: 1em;
/* Need to incorporate this correctly into FsLookAndFeel */
}  
.vector-menu-tabs-legacy ul {
 
    font-size: 18.8px;
/* images */
}
div.floatright, table.floatright {
/*
clear: right;
.fullFooter {
float: right;
    float:left;
position: relative;
margin: 0 0 .5em .5em;
border: 0;
}
}
 
*/
div.floatleft, table.floatleft {
#global-footer {
float: left;
    all: unset;
clear: left;
    display: block;
position: relative;
    padding: 17px 24px 18px 8px;
margin: 0 .5em .5em 0;
    box-sizing: border-box;
border: 0;
    -webkit-justify-content: space-between;
}
    justify-content: space-between;
 
    -webkit-align-items: flex-end;
/* this can be used to switch off special external link styling */
    align-items: flex-end;
plainlinks a {
    margin-left: 150px;
background: none !important;
padding: 0 !important;
}
}


/* prettytable class for skinning normal tables
/*
*/
#global-footer {
table.prettytable{
    display: none;
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
color: black;
width: 100%;
}
}
.prettytable th, .prettytable td {
.footer-left {
border: 1px #aaa solid;
display:block !important;
padding: 0.2em;
}
}
.prettytable th {
.footer-right {
background: #f2f2f2;
display:block !important;
text-align: center;
}
}
.prettytable caption {
*/
font-weight: bold;
 
/* Temp fix END */
 
/* Charles edit comment out
.flex-container{
display:flex;
flex-wrap:wrap;
gap:20px
}
}
*/
.button1{
border-radius:10px;
background:#4d94ff;
color:#ffffff;
padding:5px;
width:230px;
text-align:center;
font-size:15px;
cursor:pointer;
width:230px;


/* For linked citation numbers and document IDs, where
}
  the number need not be shown on a screen or a handheld,
.button2{
  but should be included in the printed version */
border-radius:10px;
@media screen, handheld {
background:#f16458;
    .citation *.printonly {
color:#ffffff;
        display: none;
padding:5px;
    }
width:230px;
text-align:center;
font-size:15px;
cursor:pointer;
width:230px;
}
}


/* Styling for url. Breaks long urls, etc., rather than overflowing box */
.url {
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;


        // Non standard for webkit
    word-break: break-word;


    -webkit-hyphens: auto;
/* Header stylying */
    -moz-hyphens: auto;
.red_online_button {
    hyphens: auto;
padding:5px;
}
.mw-body-content h2 {
font-weight:bold;
line-height:1.3 !important;
font-size:1.5rem !important;
}
}


/* Style for horizontal lists (separator following item).
.mw-body-content h3 {
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
font-weight:bold;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
line-height:1.6 !important;
  @revision 5 (2014-02-24)
font-size:1.4rem !important;
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
.mw-body-content h4 {
.hlist dt,
font-weight:bold;
.hlist li {
line-height: 1.6 !important;
    margin: 0;
font-size:1.3rem !important;
    display: inline;
}
}
/* Display nested lists inline */
 
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.mw-body-content h5 {
.hlist ol dl, .hlist ol ol, .hlist ol ul,
font-weight:normal;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
line-height:1.6 !important;
    display: inline;
font-size:1.2rem !important;
}
}
/* Generate interpuncts */
 
.hlist dt:after {
.mw-body-content h6 {
    content: ": ";
font-weight:normal;
line-height:1.6 !important;
font-size:1.1em !important;
font-style:italic;
}
}
.hlist dd:after,
 
.hlist li:after {
#mw-head .vector-menu-dropdown h3 {
    content: " · ";
font-size: 0.875em;
    font-weight: bold;
line-height: 1.125em;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
#mw-head .vector-menu-dropdown .vector-menu-content-list {
.hlist li:last-child:after {
font-size: 1.6em;
    content: none;
}
}
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
#mw-head .vector-menu-dropdown .vector-menu-content-list {
.hlist dt.hlist-last-child:after,
     top: 38px;
.hlist li.hlist-last-child:after {
     content: none;
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
/** Remove file upload links from edit menus (Source & VE) **/
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.wikiEditor-ui-toolbar .section-main .group-insert .oo-ui-widget[rel="file"] {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
  display: none !important;
    content: " (";
    font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
 
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.oo-ui-toolbar-popups .oo-ui-toolGroup-tools .oo-ui-tool-name-media {
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
  display: none !important;
    content: ") ";
    font-weight: normal;
}
}
/* For IE8 */
 
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
/* Remove the regular search bar from the Main Page */
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.page-Main_Page #mw-head #right-navigation #p-search {
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
display: none !important;
    content: ") ";
    font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
 
    counter-reset: listitem;
/** Fix layout shift **/
}
 
.hlist ol > li {
.skiptranslate {
    counter-increment: listitem;
  margin-top: 0 !important;
}
}
.hlist ol > li:before {
#p-namespaces {
    content: " " counter(listitem) " ";
  display: flex;
    white-space: nowrap;
  height: 42px;
}
}
.hlist dd ol > li:first-child:before,
#ca-watch a span,
.hlist dt ol > li:first-child:before,
#ca-unwatch a span {
.hlist li ol > li:first-child:before {
  display: none;
    content: " (" counter(listitem) " ";
}
}
#ca-watch,
/* Unbulleted lists */
#ca-unwatch {
.plainlist ul {
  display: flex;
    line-height: inherit;
  width: 24px;
    list-style: none none;
    margin: 0;
}
}
.plainlist ul li {
#p-namespaces .vector-menu-content-list li,
    margin-bottom: 0;
#p-views .vector-menu-content-list li {
  font-size:.8rem !important;
}
}
 
#mw-head-base {
/* Header Footer Code */
  height: unset !important;
header {
    height: 63px;
    display: block;
}
}
header >.global-pri-nav-container > h1 {
.mw-body {
    padding-top: 0;
  margin-top: unset !important;
    padding-bottom: 0;
    border-bottom: 0;
}
}
div#mw-navigation div#mw-head {
.vector-menu-tabs #ca-watch.icon a::before {
    top: 69px;
  margin-top: 6px;
}
}
div#mw-navigation #pt-logout,
.vector-menu-tabs-legacy li a {
div#mw-navigation #pt-anonlogin,
  float: left;
div#mw-navigation #p-logo {
  height: 100% !important;
    display: none;
  padding-top: 1.5em;
}
}
form.bodySearch >.bodySearchWrap > input[name="go"] {
.vector-menu-tabs-legacy {
    display: none;
  height: 2.8em;
}
}
#mw-navigation #mw-panel.collapsible-nav .portal.first.persistent {
#right-navigation {
    margin-top: 10px;
  margin-top: 2.5em;
    margin-bottom: 30px;
}
}
#mw-navigation #mw-panel.collapsible-nav .portal.first.persistent h3 {
#left-navigation {
    display: block;
  margin-top: 2.5em;
    font-size: 1em;
  margin-bottom: -2.5em;
}
}
div#mw-navigation #mw-panel {
#mw-page-base {
    top: 69px;
  height: 5.2rem;
    z-index: 1;
}
}
footer#global-engage-footer {
#mw-head-base {
    background: #f6f6f6;
  margin-top: unset !important;
  height: unset !important;
}
}
.templeMember #global-engage-header ul.main-nav li.nav-temple-link .templeInfoChecked .nav-item.temple {
#p-views .vector-menu-content {
    display: block !important;
  display: flex;
  align-items: end;
  height: 42px;
}
}

Latest revision as of 10:52, 8 July 2025

/* Hides the main search field on the Main Page 
.page-Main_Page #p-search {
	display:none;
}*/

/* Temporary solution to hide ToC on page (redundant with dismissible ToC) */
#toc.toc {
  display: none;
}

/* Adds spacing between list items 
.mw-body ul li, .mw-body-content ul li {
	padding: 0.08em;
}*/

/* Adds spacing between Vector menu list items (Test on specific page) */
.page-Talk_Anguilla_Genealogy .vector-menu-content-list li {
	margin-bottom: 0.66em;
}

/* Shifts the Destination filename field on the Special:Upload page */
.page-Special_Upload #wpDestFile {
	transform: translate(-240px, 135px);
}

/* Shifts the Summary & Licensing fields on the Special:Upload page */
.page-Special_Upload #wpUploadDescription,#wpLicense {
	transform: translate(-240px, 0px);
}

/* Temp fix START */
/* Need to incorporate this correctly into FsLookAndFeel */
.vector-menu-tabs-legacy ul {
    font-size: 18.8px;
}
/*
.fullFooter {
    float:left;
}
*/
#global-footer {
    all: unset;
    display: block;
    padding: 17px 24px 18px 8px;
    box-sizing: border-box;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    margin-left: 150px;
}

/*
#global-footer {
    display: none;
}
.footer-left {
	display:block !important;
}
.footer-right {
	display:block !important;
}
*/

/* Temp fix END */

/* Charles edit comment out
.flex-container{
	display:flex;
	flex-wrap:wrap;
	gap:20px
}
*/

.button1{
	border-radius:10px;
	background:#4d94ff; 
	color:#ffffff;
	padding:5px;
	width:230px;
	text-align:center;
	font-size:15px;
	cursor:pointer;
	width:230px;

}
.button2{
	border-radius:10px;
	background:#f16458; 
	color:#ffffff;
	padding:5px;
	width:230px;
	text-align:center;
	font-size:15px;
	cursor:pointer;
	width:230px;
}



/* Header stylying */
.red_online_button {
	padding:5px;
}
.mw-body-content h2 {
	font-weight:bold;
	line-height:1.3 !important;
	font-size:1.5rem !important;
}

.mw-body-content h3 {
	font-weight:bold;
	line-height:1.6 !important;
	font-size:1.4rem !important;
}

.mw-body-content h4 {
	font-weight:bold;
	line-height: 1.6 !important;
	font-size:1.3rem !important;
}

.mw-body-content h5 {
	font-weight:normal;
	line-height:1.6 !important;
	font-size:1.2rem !important;
}

.mw-body-content h6 {
	font-weight:normal;
	line-height:1.6 !important;
	font-size:1.1em !important;
	font-style:italic;
}

#mw-head .vector-menu-dropdown h3 {
	font-size: 0.875em;
	line-height: 1.125em;
}

#mw-head .vector-menu-dropdown .vector-menu-content-list {
	font-size: 1.6em;
}

#mw-head .vector-menu-dropdown .vector-menu-content-list {
    top: 38px;
}

/** Remove file upload links from edit menus (Source & VE) **/
.wikiEditor-ui-toolbar .section-main .group-insert .oo-ui-widget[rel="file"] {
  display: none !important;
}

.oo-ui-toolbar-popups .oo-ui-toolGroup-tools .oo-ui-tool-name-media {
  display: none !important;
}

/* Remove the regular search bar from the Main Page */
.page-Main_Page #mw-head #right-navigation #p-search {
	display: none !important;
}


/** Fix layout shift **/

.skiptranslate {
   margin-top: 0 !important;
}
#p-namespaces {
   display: flex;
   height: 42px;
}
#ca-watch a span,
#ca-unwatch a span {
   display: none;
}
#ca-watch,
#ca-unwatch {
   display: flex;
   width: 24px;
}
#p-namespaces .vector-menu-content-list li, 
#p-views .vector-menu-content-list li {
   font-size:.8rem !important;
}
#mw-head-base {
   height: unset !important;
}
.mw-body {
   margin-top: unset !important;
}
.vector-menu-tabs #ca-watch.icon a::before {
   margin-top: 6px;
}
.vector-menu-tabs-legacy li a {
   float: left;
   height: 100% !important;
   padding-top: 1.5em;
}
.vector-menu-tabs-legacy {
   height: 2.8em;
}
#right-navigation {
   margin-top: 2.5em;
}
#left-navigation {
   margin-top: 2.5em;
   margin-bottom: -2.5em;
}
#mw-page-base {
   height: 5.2rem;
}
#mw-head-base {
   margin-top: unset !important;
   height: unset !important;
}
#p-views .vector-menu-content {
  display: flex;
  align-items: end;
  height: 42px;
}