Merge pull request #117 from microsoft/docsy-theme-redo

Mobile layout repairs
This commit is contained in:
Jeremy Vyska 2022-02-21 07:40:09 +01:00 committed by GitHub
commit 10d929b57b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 14 deletions

View file

@ -85,6 +85,7 @@ copyright = "alguidelines.dev Project"
github_repo = "https://github.com/microsoft/alguidelines" github_repo = "https://github.com/microsoft/alguidelines"
github_project_repo = "https://github.com/microsoft/alguidelines" github_project_repo = "https://github.com/microsoft/alguidelines"
privacy_policy = "" privacy_policy = ""
shorttitle = "alguidelines.dev"
# Google Custom Search Engine ID. Remove or comment out to disable search. # Google Custom Search Engine ID. Remove or comment out to disable search.
# gcs_engine_id = "c632b781ffe71b197" # gcs_engine_id = "c632b781ffe71b197"

View file

@ -187,8 +187,8 @@ images: ["images/og-image-fission.png"]
<div class="show-mobile"> <div class="show-mobile">
<div class="community-cards"> <div class="community-cards">
<a href="https://discord.gg/4wbfNv3" <a href="https://discord.gg/4wbfNv3">
><div class="card-shadow"> <div class="card-shadow">
<div class="card-header-custom"> <div class="card-header-custom">
<h2 style="padding-right: 0.8rem;"><i class="fab fa-discord"></i></h2> <h2 style="padding-right: 0.8rem;"><i class="fab fa-discord"></i></h2>
<h2 class="section-text-bold">Discord</h2> <h2 class="section-text-bold">Discord</h2>
@ -196,11 +196,10 @@ images: ["images/og-image-fission.png"]
<p class="section-text"> <p class="section-text">
Join the BC Community to engage with other BC Professionals. Join the BC Community to engage with other BC Professionals.
</p> </p>
</div></a </div>
> </a>
<a href="https://github.com/microsoft/alguidelines">
<a href="https://github.com/microsoft/alguidelines" <div class="card-shadow">
><div class="card-shadow">
<div class="card-header-custom"> <div class="card-header-custom">
<h2 style="padding-right: 0.8rem;"><i class="fab fa-github"></i></h2> <h2 style="padding-right: 0.8rem;"><i class="fab fa-github"></i></h2>
<h2 class="section-text-bold">GitHub</h2> <h2 class="section-text-bold">GitHub</h2>
@ -209,10 +208,10 @@ images: ["images/og-image-fission.png"]
Dive into the code. Submit PRs Dive into the code. Submit PRs
and collaborate with other like-minded contributors. and collaborate with other like-minded contributors.
</p> </p>
</div></a </div>
> </a>
<a href="https://twitter.com/search?q=%23bcalhelp" <a href="https://twitter.com/search?q=%23bcalhelp">
><div class="card-shadow twitter-card" style="margin-left: auto"> <div class="card-shadow twitter-card" style="margin-left: auto">
<div class="card-header-custom"> <div class="card-header-custom">
<h2 style="padding-right: 0.8rem;"><i class="fab fa-twitter"></i></h2> <h2 style="padding-right: 0.8rem;"><i class="fab fa-twitter"></i></h2>
<h2 class="section-text-bold">Twitter</h2> <h2 class="section-text-bold">Twitter</h2>
@ -220,8 +219,8 @@ images: ["images/og-image-fission.png"]
<p class="section-text"> <p class="section-text">
Chat about this with the <b class="text-highlight">#bcalhelp</b> hashtag. Chat about this with the <b class="text-highlight">#bcalhelp</b> hashtag.
</p> </p>
</div></a </div>
> </a>
</div> </div>
</div> </div>
</div> </div>

View file

@ -2,7 +2,8 @@
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} td-navbar-cover {{ end }}flex-column flex-md-row td-navbar"> <nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} td-navbar-cover {{ end }}flex-column flex-md-row td-navbar">
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}"> <a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
<img src="/images/alguidelines-bclogo-pattern-white.png" height="32px"> <img src="/images/alguidelines-bclogo-pattern-white.png" height="32px">
<span class="font-weight-bold">{{ .Site.Title }}</span> <span class="font-weight-bold show-desktop">{{ .Site.Title }}</span>
<span class="font-weight-bold show-mobile" style="display: inline;">{{ .Site.Params.shorttitle }}</span>
</a> </a>
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar"> <div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
<ul class="navbar-nav mt-2 mt-lg-0"> <ul class="navbar-nav mt-2 mt-lg-0">