MediaWiki:Common.css: Difference between revisions

From CNES
(Overwrite Common.css)
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Page titles, labels, etc. are absolute and must be changed manually if necessary. */
/* Move the summary table to the right. */
.floatright { float: right };
.floatright { float: right };
/******* SEARCH BAR *******/
/* Hide article image previews in Vector2022 search bar results */
.cdx-thumbnail { display:none !important; }
.cdx-menu-item__thumbnail { display:none !important; }
/**** Search bar in top right corner ****/
div#simpleSearch {
  width: 25em;        /* Longueur */
}
/******* MAIN PAGE *******/
/* must have the absolute name of the welcome page as the default main page */
.page-Main_Page #ca-talk {
  display: none !important;
}
.page-Main_Page #p-tb, .page-Accueil #vector-page-tools-dropdown {
  display:none!important;
}
/**** COLOUR AND FONT CNES ****/
/* Titles for all pages */
.mw-body h1, .mw-body h2, .mw-body h3 {
    color: #005191;
    font-family: Arial, Helvetica, sans-serif;
}
/* VECTOR & VECTOR 2022 sidebar and menu labels*/
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-pinnable-element .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-dropdown-content .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-pinnable-header-label{
  color: #005191;
  font-size: 0.85em;
  font-family: Arial, Helvetica, sans-serif;
}
/**** BLOCK CATEGORY ****/
#catlinks {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  background-color: #f8f9fa;
  border: 1.1px solid #005191;
}
/**** NOTICE TOP ****/
#siteNotice {
  color: #214c7f;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #e6e6fa;
/**** CUSTOM FORMATTING ****//
em.warning {
  color: #dc143c;
  font-size: 1.1em;
}
em.todo {
  color: #ff1493;
  font-size: 1.1em;
}

Latest revision as of 16:40, 17 September 2024

/* CSS placed here will be applied to all skins */

/* Page titles, labels, etc. are absolute and must be changed manually if necessary. */

/* Move the summary table to the right. */
.floatright { float: right };

/******* SEARCH BAR *******/
/* Hide article image previews in Vector2022 search bar results */ 
.cdx-thumbnail { display:none !important; }
.cdx-menu-item__thumbnail { display:none !important; }


/**** Search bar in top right corner ****/
div#simpleSearch { 
   width: 25em;         /* Longueur */
}


/******* MAIN PAGE *******/
/* must have the absolute name of the welcome page as the default main page */
.page-Main_Page #ca-talk { 
   display: none !important;
}
.page-Main_Page #p-tb, .page-Accueil #vector-page-tools-dropdown {
   display:none!important; 
}


/**** COLOUR AND FONT CNES ****/ 
/* Titles for all pages */
.mw-body h1, .mw-body h2, .mw-body h3 {
    color: #005191;
    font-family: Arial, Helvetica, sans-serif;
}

/* VECTOR & VECTOR 2022 sidebar and menu labels*/
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-pinnable-element .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-dropdown-content .vector-menu-heading, .vector-feature-zebra-design-disabled .vector-pinnable-header-label{ 
   color: #005191;
   font-size: 0.85em;
   font-family: Arial, Helvetica, sans-serif;
}



/**** BLOCK CATEGORY ****/
#catlinks {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 1.1em;
   background-color: #f8f9fa;
   border: 1.1px solid #005191;
}


/**** NOTICE TOP ****/
#siteNotice { 
   color: #214c7f; 
   font-size: 1.1em; 
   font-weight: bold; 
   background-color: #e6e6fa; 
}   


/**** CUSTOM FORMATTING ****//
em.warning { 
   color: #dc143c; 
   font-size: 1.1em; 
}
em.todo { 
   color: #ff1493; 
   font-size: 1.1em; 
}