diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 14:13:52 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 14:13:52 +0200 |
| commit | 0f1dc65be85e5f539933e2fdeacab2e31a617ca6 (patch) | |
| tree | d356ac453fc1e62a5f5f2be423ba6b030d22a2d7 /themes/simple/layouts/partials/head.html | |
| parent | 9f5454bda6299db43a4e9de5b3716471388b81d9 (diff) | |
| download | mitjafelicijan.com-0f1dc65be85e5f539933e2fdeacab2e31a617ca6.tar.gz | |
Added better mobile support
Diffstat (limited to 'themes/simple/layouts/partials/head.html')
| -rw-r--r-- | themes/simple/layouts/partials/head.html | 8 |
1 files changed, 8 insertions, 0 deletions
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> |
