If you wish to contribute or participate in the discussions about articles you are invited to join SKYbrary as a registered user

 Actions

MediaWiki

Difference between revisions of "Common.css"

From SKYbrary Wiki

(fixed the side table on mobile)
(last child float left & power by on footer bottom)
Line 14: Line 14:
 
     margin-left: 2em;
 
     margin-left: 2em;
 
     width: 26em;
 
     width: 26em;
  table-layout: auto;
+
    table-layout: auto;
 
   }
 
   }
 +
}
 +
 +
[class*="column"] + [class*="column"]:last-child {
 +
    float: left
 +
}
 +
 +
#poweredby {
 +
    margin: 0 auto;
 
}
 
}

Revision as of 06:44, 19 June 2018

/* CSS placed here will be applied to all skins */
table tr th {
  word-wrap: normal;
}

.side {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .side {
    float: right;
    clear: both;
    margin-left: 2em;
    width: 26em;
    table-layout: auto;
  }
}

[class*="column"] + [class*="column"]:last-child {
    float: left
}

#poweredby {
    margin: 0 auto;
}