You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Navigation Wikimedia infrastructure/style.css: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
No edit summary
 
imported>Krinkle
No edit summary
 
Line 1: Line 1:
.tpl-navinfra-group {
  break-inside: avoid;
}
.tpl-navinfra--portal {
.tpl-navinfra--portal {
   float: none;
   float: none;
  width: 99%;
}
}
.tpl-navinfra--portal .tpl-navinfra-tbody {
.tpl-navinfra--portal .tpl-navsidebar-contents {
   column-width: 20em;
   margin: 0 8px;
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
}
}
 
.tpl-navinfra--portal .tpl-navsidebar-content {
.tpl-navinfra--sidebar .tpl-navinfra-group > p:first-child > b:first-child {
   break-inside: avoid;
   /* Only use bold sections on the portal overview. Avoid distraction on other pages */
  font-weight: normal;
}
}

Latest revision as of 01:36, 23 April 2022

.tpl-navinfra--portal {
  float: none;
}
.tpl-navinfra--portal .tpl-navsidebar-contents {
  margin: 0 8px;
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
}
.tpl-navinfra--portal .tpl-navsidebar-content {
  break-inside: avoid;
}