Personal tools

MediaWiki:Common.css

From SomLabs Wiki

Revision as of 18:26, 31 October 2017 by Admin (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

#header {
background: none;
border-bottom: 2px solid #1eab11;
}

div#header {
border-radius: 0;
}

#p-cactions li {
background-color: #1eab11;
border-color: #1eab11;
}

#p-cactions li:hover {
background-color: #10a010;
border-color: #10a010;
}

#p-cactions li.selected, #p-cactions li.selected:hover {
background-color: #e8af0d;
border-color: #e8af0d;
box-shadow: none;
}

#nav div h5, #nav div h3, #nav div a, #nav div span.social {
text-shadow: none;
}

#ca-talk {
display: none !important;
visibility:hidden;
}

h1.firstHeading {
display: none !important;
visibility:hidden;
}

#skin-info, #qrcode {
display: none;
}

#content table {
border-radius: 0;
}

.product-table {
padding:5px 0px 0px 20px; 
width:100%;
border-bottom: 2px solid #67b172;
}

.guide-tables {
margin-top: 20px;
}

.product-table td {
padding: 10px;
}

.font-gs {
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}

.product-name {
font-size:28px;
line-height:1.2;
}

.product-table > tbody > tr > td:nth-child(1) {
min-width: 300px;
}

@media (max-width: 1200px){
  .product-name {
    font-size:18px;
    line-height:1.2;
  }
  .product-table > tbody > tr > td:nth-child(1) {
    min-width: 200px;
  }
}

.product-name a.external {
color: #000 !important;
}

.product-name a.external:hover, .product-name a.external span:hover, .product-name a.external strong:hover {
text-decoration: none !important;
}

.last {
border-bottom: none;
}

.docbox-table {
height: 100px;
}

#content div.docbox-table {
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
width: 100%;
margin-bottom: 20px;
min-height: 150px;
display: table;
}

#content div.docbox-table a{
color: #000;
}

.docbox-title {
display: table-cell;
font-size: 20px;
font-weight: bold;
width: 20%;
padding: 10px;
color: #fff;
text-align: center;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
vertical-align: middle;
}

.docbox-content {
display: table-cell;
padding: 10px 10px 10px 30px;
font-size: 20px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
vertical-align: middle;
}

.docbox-content li {
font-size: 13px;
}

.docbox-title-Yocto, .docbox-title-Program {
background-color: #23b14d;
}

.docbox-content-Yocto {
background: #b5e51d url('http://wiki.somlabs.com/images/d/dc/Logo-yocto.png') no-repeat right;
}

.docbox-content-Program {
background: #b5e51d;
}

.docbox-title-Debian, .docbox-title-Build, .docbox-title-QuickStart {
background-color: #f46200;
}


.docbox-content-Debian {
background: #ff7f26 url('http://wiki.somlabs.com/images/4/47/Logo-debian.png') no-repeat right;
}

.docbox-title-Documentation {
background-color: #2d6ff5;
}


.docbox-content-Documentation {
background: #6e91d9 url('http://wiki.somlabs.com/images/4/47/Logo-documentation.png') no-repeat right;
}

.docbox-title-Buildroot {
background-color: #b63636;
}


.docbox-content-Buildroot {
background: #cf6a6a url('http://wiki.somlabs.com/images/2/2f/Buildroot-logo.png') no-repeat right;
}

.docbox-content-Build, .docbox-content-QuickStart {
background: #ff7f26;
}

.docbox-title-Howto {
background-color: #1d9943;
}


.docbox-content-Howto {
background-color: #91ba14;
}

.docbox-content-Howto ul {
column-count: 2;
}


.specification {
width: 28%;
float: left;
margin-left: 2%;
}

.documentation {
width: 70%;
float: left;
}

.guides {
width: 100%;
float: left;
}

.prod-tables {
margin-top: 20px;
}

#header h6 a {
text-indent: 0 !important;
}

#toc, pre {
background-color: #dcf9e3;
border-color: #5e8d6d;
box-shadow: none;
border-style: solid;
}

#nav, #header form #searchInput {
background-color: #dcf9e3;
border-color: #5e8d6d;
box-shadow: none;
}

#nav div a {
background-color: #ecfcf1;
}

h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid black;
}

img {
max-width: 100%;
height: auto;
}

.jzpdflink {
float: right;
}

.pdsc-main {
font-size: 30px;
border-collapse: collapse;
margin: 0 auto;
}

.pdsc-main td {
border: 3px solid #000;
padding: 5px;
}

.field-info {
border: 2px solid #888;
border-collapse: collapse;
margin: 5px;
}

.field-info td, .field-info th {
padding: 5px;
border: 2px solid #bbb;
text-align: center;
}

.field-info th {
background-color: #eee;
}

#header > h6 {
border: none;
}
NXP Partner ST Partner