MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(343 intermediate revisions by 9 users not shown)
Line 1: Line 1:
___NORICHEDITOR___
/* Hiding Powered by Google Translate */
/* CSS placed here will be applied to all skins */  
/* Removing for now
 
.goog-logo-link {
/* Entries to counter wiki.css code that is disrupting the ability of text to flow */
    display:none !important;
 
}
#mainContent p {
.goog-te-gadget {
clear: none;
    color: transparent !important;
}
}
 
.goog-te-gadget div:first-child::after {
#contentSub {
    display:none !important;
display: block;
font-size: 84%;
line-height: 1.2em;
margin: 0 0 1.4em 1em;
color: #7D7D7D;
width: auto;
}
 
dd {
margin-bottom: 0.5em;
}
 
/* Entries to counter wiki.css code for TOC */
#toc {
width: auto;
}
 
#toc ul {
margin-top: 0px;
}
 
#toc ul {
margin-left: 1em;
}
 
/* images */
div.floatright, table.floatright {
clear: right;
float: right;
position: relative;
margin: 0 0 .5em .5em;
border: 0;
}
}
*/


div.floatleft, table.floatleft {
float: left;
clear: left;
position: relative;
margin: 0 .5em .5em 0;
border: 0;
}


/* this can be used to switch off special external link styling */
/* Temp fix START */
plainlinks a {
/* Need to incorporate this correctly into FsLookAndFeel */
background: none !important;
.vector-menu-tabs-legacy ul {
padding: 0 !important;
    font-size: 18.8px;
}
}
 
/*
/* prettytable class for skinning normal tables
.fullFooter {
*/
    float:left;
table.prettytable{
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
color: black;
width: 100%;
}
}
.prettytable th, .prettytable td {
*/
border: 1px #aaa solid;
#global-footer {
padding: 0.2em;
    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;
}
}
.prettytable th {
 
background: #f2f2f2;
/*
text-align: center;
#global-footer {
    display: none;
}
}
.prettytable caption {
.footer-left {
font-weight: bold;
display:block !important;
}
}
 
.footer-right {
/* For linked citation numbers and document IDs, where
display:block !important;
  the number need not be shown on a screen or a handheld,
  but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}
}
*/


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


        // Non standard for webkit
/* Charles edit comment out
    word-break: break-word;
.flex-container{
display:flex;
flex-wrap:wrap;
gap:20px
}
*/


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


/* Style for horizontal lists (separator following item).
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 5 (2014-02-24)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
}
/* Display list items inline */
.button2{
.hlist dd,
border-radius:10px;
.hlist dt,
background:#f16458;
.hlist li {
color:#ffffff;
    margin: 0;
padding:5px;
    display: inline;
width:230px;
text-align:center;
font-size:15px;
cursor:pointer;
width:230px;
}
}
/* Display nested lists inline */
 
.hlist dl dl, .hlist dl ol, .hlist dl ul,
 
.hlist ol dl, .hlist ol ol, .hlist ol ul,
 
.hlist ul dl, .hlist ul ol, .hlist ul ul {
/* Header stylying */
    display: inline;
.red_online_button {
padding:5px;
}
}
/* Generate interpuncts */
.mw-body-content h2 {
.hlist dt:after {
font-weight:bold;
    content: ": ";
line-height:1.3 !important;
font-size:1.5rem !important;
}
}
.hlist dd:after,
 
.hlist li:after {
.mw-body-content h3 {
    content: " · ";
font-weight:bold;
    font-weight: bold;
line-height:1.6 !important;
font-size:1.4rem !important;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
.mw-body-content h4 {
.hlist li:last-child:after {
font-weight:bold;
    content: none;
line-height: 1.6 !important;
font-size:1.3rem !important;
}
}
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
.mw-body-content h5 {
.hlist dt.hlist-last-child:after,
font-weight:normal;
.hlist li.hlist-last-child:after {
line-height:1.6 !important;
    content: none;
font-size:1.2rem !important;
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.mw-body-content h6 {
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
font-weight:normal;
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
line-height:1.6 !important;
    content: " (";
font-size:1.1em !important;
    font-weight: normal;
font-style:italic;
}
}
.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,
#mw-head .vector-menu-dropdown h3 {
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
font-size: 0.875em;
    content: ") ";
line-height: 1.125em;
    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,
#mw-head .vector-menu-dropdown .vector-menu-content-list {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
font-size: 1.6em;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ") ";
    font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
#mw-head .vector-menu-dropdown .vector-menu-content-list {
     counter-reset: listitem;
     top: 38px;
}
}
.hlist ol > li {
 
    counter-increment: listitem;
/** Remove file upload links from edit menus (Source & VE) **/
.wikiEditor-ui-toolbar .section-main .group-insert .oo-ui-widget[rel="file"] {
  display: none !important;
}
}
.hlist ol > li:before {
 
    content: " " counter(listitem) " ";
.oo-ui-toolbar-popups .oo-ui-toolGroup-tools .oo-ui-tool-name-media {
    white-space: nowrap;
  display: none !important;
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
/* Remove the regular search bar from the Main Page */
.hlist li ol > li:first-child:before {
.page-Main_Page #mw-head #right-navigation #p-search {
    content: " (" counter(listitem) " ";
display: none !important;
}
/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}
}


/* Code to fix injected header */
 
body > .wikiContainer {
/** Fix layout shift **/
    position: relative;
 
    min-height: 500px;
.skiptranslate {
    top: 64px;
  margin-top: 0 !important;
}
}
header >.global-pri-nav-container > h1 {
#p-namespaces {
    padding-top: 0;
  display: flex;
    padding-bottom: 0;
  height: 42px;
    border-bottom: 0;
}
}
#global-engage-header + .wikiContainer #p-logo {
#ca-watch a span,
    display: none;
#ca-unwatch a span {
  display: none;
}
}
#global-engage-header + .wikiContainer div#mw-panel {
#ca-watch,
    top: 0;
#ca-unwatch {
  display: flex;
  width: 24px;
}
}
#global-engage-header + .wikiContainer #pt-anonlogin,
#p-namespaces .vector-menu-content-list li,  
#global-engage-header + .wikiContainer #pt-logout {
#p-views .vector-menu-content-list li {
    display: none;
  font-size:.8rem !important;
}
}
#global-engage-header ul.main-nav li.active > a {
#mw-head-base {
    background: #FFF;
  height: unset !important;
}
}
#global-engage-header ul.main-nav li.show-sub-menu > a {
.mw-body {
    background: #e1ecc3;
  margin-top: unset !important;
}
}
.templeMember #global-engage-header ul.main-nav li.nav-temple-link .templeInfoChecked .nav-item.temple {
.vector-menu-tabs #ca-watch.icon a::before {
    display: block !important;
  margin-top: 6px;
}
}
#global-engage-header + .wikiContainer {
.vector-menu-tabs-legacy li a {
    top: 0;
  float: left;
  height: 100% !important;
  padding-top: 1.5em;
}
}
body > #content {
.vector-menu-tabs-legacy {
    margin-top: 64px;
  height: 2.8em;
}
}
body > #mw-navigation > #mw-head {
#right-navigation {
    top: 64px;
  margin-top: 2.5em;
}
}
form.bodySearch >.bodySearchWrap > input[name="go"] {
#left-navigation {
    display: none;
  margin-top: 2.5em;
  margin-bottom: -2.5em;
}
}
 
#mw-page-base {
/* Fix for collapsible menus */
  height: 5.2rem;
#toc.toc .toctoggle {
    display: none;
}
}
#toc.toc ul {
#mw-head-base {
    display: block;
  margin-top: unset !important;
  height: unset !important;
}
}
#mw-panel.collapsible-nav .portal.collapsed h3 {
#p-views .vector-menu-content {
    color: #4d4d4d;
  display: flex;
    background-image: url(https://familysearch.org/wiki/en/skins/vector/images/arrow-expanded.png?2016-03-13T02:55:00Z);
  align-items: end;
    background-image: -webkit-linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNMTMuMDAyIDYuMDAxbC01IDUuMDAxLTUtNS4wMDF6IiBmaWxsPSIjNzk3OTc5Ii8+PC9zdmc+);
  height: 42px;
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNMTMuMDAyIDYuMDAxbC01IDUuMDAxLTUtNS4wMDF6IiBmaWxsPSIjNzk3OTc5Ii8+PC9zdmc+);
}
}

Latest revision as of 16:49, 5 December 2024

/* Hiding Powered by Google Translate */
/* Removing for now
.goog-logo-link {
    display:none !important;
}
.goog-te-gadget {
    color: transparent !important;
}
.goog-te-gadget div:first-child::after {
    display:none !important;
}
*/


/* 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;
}