Registered User mNo edit summary |
Registered User mNo edit summary |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 54: | Line 54: | ||
/*** around 2 items per line ***/ | /*** around 2 items per line ***/ | ||
.boxwrapper2items { | .boxwrapper2items { | ||
width: | width: 50%; | ||
margin: 0 auto; | margin: 0 auto; | ||
float: none; | float: none; | ||
Line 60: | Line 60: | ||
/*** around 1 item per line ***/ | /*** around 1 item per line ***/ | ||
.boxwrapper1item { | .boxwrapper1item { | ||
width: | width: 25%; | ||
margin: 0 auto; | margin: 0 auto; | ||
float: none; | float: none; | ||
} | } | ||
/***Added by Christophe Rehm for removing Export menu temporarily (until ST template has been setup) ***/ | /***Added by Christophe Rehm for removing Export menu temporarily (until ST template has been setup) #pdf, #pdf-recursive, #pdf-book***/ | ||
/*#bs- | #pdf-subpages { | ||
display: none; | |||
} | |||
/* Hide print option in export menu */ | |||
#bs-em-print { | |||
display: none; | 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 ***/ | /*** Added by Jean-Christophe Trotin to make images responsive ***/ | ||
Line 102: | Line 135: | ||
left: 0; | left: 0; | ||
background: white; | 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; | |||
} | } | ||
Line 119: | Line 158: | ||
overflow-y: visible; | overflow-y: visible; | ||
max-height: none !important; | 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; | |||
} | |||
/***Added by NSA - Custom TOC levels - Template TOC - useful for template TOCMaxDepth ***/ | |||
.toclimit-1 .toclevel-2, .toclimit-1 .toclevel-3, .toclimit-1 .toclevel-4,.toclimit-1 .toclevel5 {display:none;} | |||
.toclimit-2 .toclevel-3, .toclimit-2 .toclevel-4, .toclimit-2 .toclevel-5 {display:none;} | |||
.toclimit-3 .toclevel-4, .toclimit-3 .toclevel-5 {display:none;} | |||
.toclimit-4 .toclevel-5 {display:none;} | |||
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/ | |||
table.st-table { | |||
background-color: transparent; | |||
} | |||
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/ | |||
table.contenttable { | |||
background-color: transparent; | |||
} | |||
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/ | |||
table.wikitable { | |||
background-color: transparent; | |||
} | } |
Latest revision as of 12:11, 12 March 2025
/* 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;
}
/***Added by NSA - Custom TOC levels - Template TOC - useful for template TOCMaxDepth ***/
.toclimit-1 .toclevel-2, .toclimit-1 .toclevel-3, .toclimit-1 .toclevel-4,.toclimit-1 .toclevel5 {display:none;}
.toclimit-2 .toclevel-3, .toclimit-2 .toclevel-4, .toclimit-2 .toclevel-5 {display:none;}
.toclimit-3 .toclevel-4, .toclimit-3 .toclevel-5 {display:none;}
.toclimit-4 .toclevel-5 {display:none;}
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/
table.st-table {
background-color: transparent;
}
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/
table.contenttable {
background-color: transparent;
}
/***Added by NSA - WIKI-912 - Pdf export for non public wikis ***/
table.wikitable {
background-color: transparent;
}