diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/simple/layouts/_default/list.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/footer.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/head.html | 8 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/header.html | 4 |
5 files changed, 13 insertions, 5 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index e194063..e32acd0 100644 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main aria-role="main" class="container-blog"> | 2 | <main aria-role="main" class="container-blog px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> |
| 5 | 5 | ||
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index 7142f1b..45dc4e6 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main aria-role="main" class="container-blog"> | 2 | <main aria-role="main" class="container-blog px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <!-- Single article --> | 4 | <!-- Single article --> |
| 5 | <article itemtype="http://schema.org/Article" class="mb-12"> | 5 | <article itemtype="http://schema.org/Article" class="mb-12"> |
diff --git a/themes/simple/layouts/partials/footer.html b/themes/simple/layouts/partials/footer.html index 6e7ec9c..3d1e481 100644 --- a/themes/simple/layouts/partials/footer.html +++ b/themes/simple/layouts/partials/footer.html | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <footer class="container-blog text-gray-400 text-sm mb-12"> | 1 | <footer class="container-blog px-6 md:p-0 text-gray-400 text-sm mb-12"> |
| 2 | This website does not track you. | 2 | This website does not track you. |
| 3 | Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer" class="underline hover:text-gray-800">CC BY 4.0 license</a> unless specified otherwise. | 3 | Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer" class="underline hover:text-gray-800">CC BY 4.0 license</a> unless specified otherwise. |
| 4 | Blog feed is available as <a href="/index.xml" target="_blank" class="underline hover:text-gray-800">RSS</a> feed. | 4 | Blog feed is available as <a href="/index.xml" target="_blank" class="underline hover:text-gray-800">RSS</a> feed. |
diff --git a/themes/simple/layouts/partials/head.html b/themes/simple/layouts/partials/head.html index 716b1f0..293bb85 100644 --- a/themes/simple/layouts/partials/head.html +++ b/themes/simple/layouts/partials/head.html | |||
| @@ -172,4 +172,12 @@ | |||
| 172 | margin-block-start: 40px; | 172 | margin-block-start: 40px; |
| 173 | margin-block-end: 40px; | 173 | margin-block-end: 40px; |
| 174 | } | 174 | } |
| 175 | |||
| 176 | @media only screen and (max-width: 600px) { | ||
| 177 | article img { | ||
| 178 | max-width: 100%; | ||
| 179 | position: initial; | ||
| 180 | margin: 20px auto; | ||
| 181 | } | ||
| 182 | } | ||
| 175 | </style> | 183 | </style> |
diff --git a/themes/simple/layouts/partials/header.html b/themes/simple/layouts/partials/header.html index e234615..4fefa0d 100644 --- a/themes/simple/layouts/partials/header.html +++ b/themes/simple/layouts/partials/header.html | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <div class="container-blog"> | 1 | <div class="container-blog px-6 md:p-0"> |
| 2 | <header class="flex py-4 mt-4 mb-6"> | 2 | <header class="flex py-4 mt-4 mb-6"> |
| 3 | <h3 class="flex-grow"> | 3 | <h3 class="flex-grow"> |
| 4 | <a href="/" itemprop="url" class="text-xl font-bold hover:bg-yellow-200">Mitja Felicijan</a> | 4 | <a href="/" itemprop="url" class="text-xl font-bold hover:bg-yellow-200">Mitja Felicijan</a> |
| @@ -12,7 +12,7 @@ | |||
| 12 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-200">CV</a> | 12 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-200">CV</a> |
| 13 | <a href="/books.html" class="font-medium px-2 hover:bg-yellow-200">Books</a> | 13 | <a href="/books.html" class="font-medium px-2 hover:bg-yellow-200">Books</a> |
| 14 | 14 | ||
| 15 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-200">RSS</a> | 15 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 hidden md:block">RSS</a> |
| 16 | </nav> | 16 | </nav> |
| 17 | </header> | 17 | </header> |
| 18 | </div> | 18 | </div> |
