Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add article mobile css + tweaks #13

Merged
merged 5 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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