MediaWiki:Common.css: Difference between revisions

(Created page with '→‎CSS placed here will be applied to all skins: .collapseButton { →‎'show'/'hide' buttons created dynamically: float: right; /* by the CollapsibleTa…')
 
No edit summary
 
(420 intermediate revisions by 12 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* Hiding Powered by Google Translate */
/* Removing for now
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
.goog-logo-link {
     float: right;         /* by the CollapsibleTables javascript in    */
    display:none !important;
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
}
    text-align: right;     /* so they can be customised.                */
.goog-te-gadget {
    width: auto;
    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;
}
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],  */
}                          /* so they need to be the same width.        */

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