diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-23 01:26:38 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-23 01:26:38 +0200 |
| commit | 9d3c4dd07295970de823565dd91e76de53485620 (patch) | |
| tree | 3be74397b6fbbf2617f2b4ea5f603bbbc9c11a1b /themes/simple/static/css | |
| parent | bb7cb8e20048eb9b9cf48bd958e606854516b081 (diff) | |
| download | mitjafelicijan.com-9d3c4dd07295970de823565dd91e76de53485620.tar.gz | |
Fixed bigger images
Diffstat (limited to 'themes/simple/static/css')
| -rw-r--r-- | themes/simple/static/css/tailwind.css | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css index 7f0637e..fa64f9c 100644 --- a/themes/simple/static/css/tailwind.css +++ b/themes/simple/static/css/tailwind.css | |||
| @@ -61,24 +61,15 @@ article.single .content blockquote p { | |||
| 61 | /* Media: Images, audio, video */ | 61 | /* Media: Images, audio, video */ |
| 62 | article.single img { | 62 | article.single img { |
| 63 | @apply rounded w-full !bg-gray-50 my-8; | 63 | @apply rounded w-full !bg-gray-50 my-8; |
| 64 | } | ||
| 65 | |||
| 66 | article.single img[src*="?style=bigimg"] { | ||
| 67 | transform: scale(1.25); | ||
| 68 | margin-top: 100px; | ||
| 69 | margin-bottom: 100px; | ||
| 70 | transform-origin: center center; | ||
| 71 | 64 | ||
| 72 | image-rendering: crisp-edges; | 65 | image-rendering: crisp-edges; |
| 73 | image-rendering: -webkit-optimize-contrast; | 66 | image-rendering: -webkit-optimize-contrast; |
| 74 | } | 67 | } |
| 75 | 68 | ||
| 69 | article.single img[src*="?style=bigimg"] {} | ||
| 70 | |||
| 76 | @media (max-width: 900px) { | 71 | @media (max-width: 900px) { |
| 77 | article.single img[src*="?style=bigimg"] { | 72 | article.single img[src*="?style=bigimg"] {} |
| 78 | transform: initial; | ||
| 79 | margin-top: initial; | ||
| 80 | margin-bottom: initial; | ||
| 81 | } | ||
| 82 | } | 73 | } |
| 83 | 74 | ||
| 84 | article.single video { | 75 | article.single video { |
