diff --git a/material-overrides/assets/stylesheets/wormhole.css b/material-overrides/assets/stylesheets/wormhole.css index 0ea4039b..7c2b578e 100644 --- a/material-overrides/assets/stylesheets/wormhole.css +++ b/material-overrides/assets/stylesheets/wormhole.css @@ -145,7 +145,6 @@ nav { } } - /* General styling */ .md-typeset { font-size: var(--body-l-size); @@ -314,11 +313,6 @@ li.md-nav__item, margin-top: 2em; } - /* To align the width of items on the left nav */ - /* [dir='ltr'] .md-nav--primary .md-nav__item>.md-nav__link { - margin-right: 0; - } */ - /* Allow section headers to be clickable */ .md-nav--lifted>.md-nav__list>.md-nav__item--active>.md-nav__link:not(.md-nav__container), .md-nav__item--section>.md-nav__link:not(.md-nav__container) { @@ -986,17 +980,6 @@ pre .md-clipboard { border: var(--md-border-width) solid var(--md-border-color); } -.md-typeset .card-container { - display: grid; - grid-template-columns: repeat(4, 1fr); /* 4 items per row */ -} - -.md-typeset .faucet { - display: flex; - flex-direction: column; - text-align: center; -} - .md-typeset .grid.cards>ol>li>:last-child, .md-typeset .grid.cards>ul>li>:last-child, .md-typeset .grid>.card>:last-child { @@ -1012,6 +995,24 @@ pre .md-clipboard { margin-right: .5em; } +/* Chains list styling */ +.md-typeset .card-container { + display: grid; + grid-template-columns: repeat(4, 1fr); /* 4 items per row */ +} + +.md-typeset .chains-list { + display: flex; + flex-direction: column; + text-align: center; +} + +@media screen and (max-width: 30em) { + .md-typeset .card-container { + grid-template-columns: repeat(2, 1fr); /* 2 items per row */ + } +} + /* Type styling */ .md-typeset kbd { border-radius: 1em; @@ -1231,7 +1232,7 @@ label[for='__search']:hover { .md-search-result .md-typeset { color: var(--light-transparent-60); - text-transform: capitalize; + text-transform: none; } .md-search-result .md-typeset h1 { diff --git a/wormhole-docs b/wormhole-docs index 5c679719..d0462f78 160000 --- a/wormhole-docs +++ b/wormhole-docs @@ -1 +1 @@ -Subproject commit 5c679719d78dbda1070d7e7c287f9b1694f5b700 +Subproject commit d0462f7822fad740a3bf7d664f6d9cb4f9f18b7f