diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-22 11:35:51 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-22 11:35:51 +0200 |
| commit | bb7cb8e20048eb9b9cf48bd958e606854516b081 (patch) | |
| tree | 44464357ebfa50ffc96a247566a77ef6f83ea952 /themes/simple/static/css | |
| parent | 2a56c19cb77382a8ee96c65645aed52349eacdaf (diff) | |
| download | mitjafelicijan.com-bb7cb8e20048eb9b9cf48bd958e606854516b081.tar.gz | |
Added new post
Diffstat (limited to 'themes/simple/static/css')
| -rw-r--r-- | themes/simple/static/css/tailwind.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css index 8e1ddb9..7f0637e 100644 --- a/themes/simple/static/css/tailwind.css +++ b/themes/simple/static/css/tailwind.css | |||
| @@ -63,6 +63,24 @@ article.single img { | |||
| 63 | @apply rounded w-full !bg-gray-50 my-8; | 63 | @apply rounded w-full !bg-gray-50 my-8; |
| 64 | } | 64 | } |
| 65 | 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 | |||
| 72 | image-rendering: crisp-edges; | ||
| 73 | image-rendering: -webkit-optimize-contrast; | ||
| 74 | } | ||
| 75 | |||
| 76 | @media (max-width: 900px) { | ||
| 77 | article.single img[src*="?style=bigimg"] { | ||
| 78 | transform: initial; | ||
| 79 | margin-top: initial; | ||
| 80 | margin-bottom: initial; | ||
| 81 | } | ||
| 82 | } | ||
| 83 | |||
| 66 | article.single video { | 84 | article.single video { |
| 67 | @apply rounded w-full !bg-gray-50; | 85 | @apply rounded w-full !bg-gray-50; |
| 68 | } | 86 | } |
