Skip to content

Commit

Permalink
Don't center-align code within blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao committed Dec 1, 2023
1 parent be43594 commit 60bdf84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4914,6 +4914,10 @@ body:has(#menu-controller:checked) {

/* Custom */

pre {
text-align: left;
}

.thumbnail {
min-width: 300px;
height: 180px;
Expand Down
4 changes: 4 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ body:has(#menu-controller:checked) {

/* Custom */

pre {
text-align: left;
}

.thumbnail {
min-width: 300px;
height: 180px;
Expand Down
4 changes: 4 additions & 0 deletions exampleSite/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: "This is a demo of the Blowfish theme for Hugo."

This is a demo site built entirely using Blowfish. It also contains a complete set of [theme documentation]({{< ref "docs" >}}). Blowfish is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts.

```
var blowfish = require('blowfish');
```

<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
{{< icon "triangle-exclamation" >}}
Expand Down

0 comments on commit 60bdf84

Please sign in to comment.