Skip to content

Commit

Permalink
Merge pull request #13 from ByteBakersCo/feat/add-article-mobile-css+…
Browse files Browse the repository at this point in the history
…tweaks

feat: add article mobile css + tweaks
  • Loading branch information
zyriab authored Mar 26, 2024
2 parents 7d0b22b + d277f5c commit b7053e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blog-intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
</div>
</header>

<main>
<main id="article-content">
<div id="title">
<h1>This blog post is actually a GitHub issue</h1>

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


<meta property="og:type" content="website">
<meta property="og:url" content="https://babilema.github.io">
<meta property="og:url" content="https://bytebakersco.github.io/babilema">
<meta property="og:title" content="Babilema - Turn your GitHub issues into blog posts!">
<meta property="og:description"
content="Babilema is a minimalist static blog generator that uses GitHub issues to generate blog articles.">
Expand All @@ -22,7 +22,7 @@


<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://babilema.github.io">
<meta property="twitter:url" content="https://bytebakersco.github.io/babilema">
<meta property="twitter:title" content="Babilema - Turn your GitHub issues into blog posts!">
<meta property="twitter:description"
content="Babilema is a minimalist static blog generator that uses GitHub issues to generate blog articles.">
Expand Down
8 changes: 8 additions & 0 deletions templates/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,12 @@ p.author-info {
#gh-cta span {
display: none;
}

#article-content {
width: 90%;
}

#article-content img {
max-width: 100%;
}
}
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://babilema.github.io">
<meta property="og:url" content="https://bytebakersco.github.io/babilema">
<meta property="og:title" content="Babilema - Turn your GitHub issues into blog posts!">
<meta property="og:description"
content="Babilema is a minimalist static blog generator that uses GitHub issues to generate blog articles.">
Expand All @@ -22,7 +22,7 @@

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://babilema.github.io">
<meta property="twitter:url" content="https://bytebakersco.github.io/babilema">
<meta property="twitter:title" content="Babilema - Turn your GitHub issues into blog posts!">
<meta property="twitter:description"
content="Babilema is a minimalist static blog generator that uses GitHub issues to generate blog articles.">
Expand Down
2 changes: 1 addition & 1 deletion templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
{{if .Header}}
<header>{{.Header}}</header>
{{end}}
<main>
<main id="article-content">
<div id="title">
<h1>{{.Metadata.Title}}</h1>
{{if .Metadata.Author}}
Expand Down

0 comments on commit b7053e4

Please sign in to comment.