Common.css

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Hide author's name on the top right of the page */
.page-tool-text :last-child {
    display:none;
}

/* Hide discussions on all pages */
.bs-data-after-content-socialtopics, .bs-icon-talk {
    display:none;
}

/*To hide section attachements in all wiki pages*/
/* Hide stash on all pages */
.bs-data-after-content-socialwikipagestash {
	display:none;
}

/*This part is to reenable the attachment section on the page "Pagename", this must be changed to the title of the page you want the attachments to reappear. But be aware that this will break when the page is moved. The CSS must be adjusted when renaming pages that are styled this wa*/
/* Show stash on specific pages */
.page-Pagename .bs-data-after-content-socialwikipagestash {
	display:inherit;
}

/*** added by NSA for portal pages***/

.portalbox {
  float: left; 
  width: 220px;
  height: 300px; 
  padding: 5px; 
  margin: 2px; 
  background-color: #ffffff ; 
  text-align: center;
}
.portalbox a {
  color: #39a9dc!important;
}

/*** around 4 items per line ***/
.boxwrapper {
  width: 100%;
  margin: 0 auto; 
  float: none;
}

/*** around 3 items per line ***/
.boxwrapper3items {
  width: 75%; 
  margin: 0 auto; 
  float: none;
}

/*** around 2 items per line ***/
.boxwrapper2items {
  width: 50%; 
  margin: 0 auto; 
  float: none;
}
/*** around 1 item per line ***/
.boxwrapper1item {
  width: 25%; 
  margin: 0 auto; 
  float: none;
}

/***Added by Christophe Rehm for removing Export menu temporarily (until ST template has been setup) #pdf, #pdf-recursive, #pdf-book***/
#pdf-subpages { 
	display: none; 
}

/* Hide print option in export menu */
#bs-em-print { 
	display: none; 
}

/*** Added by Jean-Christophe Trotin to add a keyword ("Board $> ") before
a command that must be executed on a board (see Template:Board$). This will make possible the copy of the command only, without the prompt ***/
.board-prompt::before {
	content: "Board $> ";
	font-weight: bold;
}

/*** Added by Jean-Christophe Trotin to add a keyword ("PC $> ") before
a command that must be executed on an host PC (see Template:PC$).This will make possible the copy of the command only, without the prompt  ***/
.pc-prompt::before {
	content: "PC $> ";
	font-weight: bold;
}

/*** Added by Jean-Christophe Trotin to add a keyword ("(gdb) ") before
a command that must be executed on GDB (see Template:GDB$). This will make possible the copy of the command only, without the prompt ***/
.gdb-prompt::before {
	content: "(gdb) ";
	font-weight: bold;
}

/*** Added by Jean-Christophe Trotin to add a keyword ("STM32MP> ") before
a command that must be executed on the U-Boot console (see Template:U-Boot$).This will make possible the copy of the command only, without the prompt ***/
.u-boot-prompt::before {
	content: "STM32MP> ";
	font-weight: bold;
}

/*** Added by Jean-Christophe Trotin to make images responsive ***/
.res-img img {
	max-width:100%;
	height:auto;
}

/*** Added by Jean-Christophe Trotin to freeze the first row and the
first column of tables ***/
table.freezable tbody {
  display:block;
  overflow:auto;
  height:100%;
  width:inherit;
}

table.freezable th {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	top: 0;
	background: white;
}

table.freezable th:first-child {
	left: 0;
	z-index: 1;
}

table.freezable td:first-child {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	left: 0;
	background: white;
}

/*** Added by Jean-Christophe Trotin to align left the text in the last column
of each table row ***/
table.assignment td:last-child {
	text-align: left;
}

/*** Added by Jean-Christophe Trotin to disable the vertical scrolling in
"syntax-highlighted" blocks ***/
.mw-highlight.noscroll > pre {
	overflow-y: visible;
	max-height: none !important;
}

/*** Added by Jean-Christophe Trotin to remove the borders and the margins
around preformatted text blocks in tables and to disable the vertical
scrolling in such blocks ***/
table.specialpre pre {
  margin: 0;
  border: 0px hidden;
  overflow-y: visible;
  max-height: none !important;
}


/*** Added by Vincent Abriou to indent a block 2 levels are available***/
.block-indent-1 {
	padding-left: 1.6em;
	padding-right: 0;
	overflow: hidden;
}
.block-indent-2 {
	padding-left: 3.2em;
	padding-right: 0;
	overflow: hidden;
}
/*to use like this :
</div>
<div class="block-indent-2">
indentation 2em
</div>*/

/*** Added by Vincent Abriou. By clicking on a category, the pages belonging to
the category are displayed as a list. It simplify the reading***/ 
div.mw-category-generated h3 {
   display: none;
}
No categories assignedEdit