Sat Naing
be172efa17
refactor: update tailwind classes to v3 syntax ( #345 )
...
Updated background/border opacity to the new syntax:
- border-skin-fill border-opacity-40 => border-skin-fill/40
- selection:bg-skin-accent selection:bg-opacity-70 => selection:bg-skin-accent/70
2024-08-04 10:49:13 +07:00
Sat Naing
9de19c2c68
feat: support light/dark theme in code blocks ( #327 )
...
Update Astro and its related dependencies. Support
light/dark theme in code-blocks.
2024-07-21 16:18:22 +07:00
vrabe
ece0682adc
fix: resolve broken line break in inline code ( #237 )
2024-01-17 14:50:44 +06:30
David Legrand
1331795a49
fix: reduce margin-bottom on markdown images ( #235 )
...
* Disable margin bottom on image
The result is better on images with caption defined as:
```

*caption*
```
* refactor: combine mt and mb into my-2
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-01-15 19:54:14 +06:30
satnaing
e7c9a56722
refactor: enable scroll-smooth only in post detail page
2024-01-04 15:53:12 +06:30
satnaing
c526157118
feat: implement back-to-top button in blog post page
...
Implement back-to-top button under tags in PostDetails page. Update html scroll-behavior to smooth.
Closes : #156
2023-12-15 14:21:17 +06:30
Haibo
64b3a286e6
fix: solve invisible text code block issue in light-mode ( #163 )
...
* fix: pre > code font color
Co-authored-by: Nomango <nomango@qq.com >
Co-authored-by: shuaixr <1025sxr@gmail.com >
* refactor: extend other css properties besides typography
Update theme extend to include other properties like textColor etc, to clarify confusion.
---------
Co-authored-by: shuaixr <1025sxr@gmail.com >
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2023-12-12 14:57:49 +06:30
satnaing
79d569d053
fix(layout): use 100svh for min-height on body instead of 100vh
...
Address a mobile layout issue where using 100vh caused unexpected behavior. Switching to 100svh
resolves this problem by accounting for the mobile browser's UI components. This change ensures a
consistent and improved user experience on smaller screens.
resolves #127
2023-10-06 11:45:39 +06:30
tanishqmanuja
d025c914d9
fix: anchor oveflow on small screen size
2023-10-03 14:17:50 +06:30
satnaing
5178f75631
chore: update dependencies and format code
2023-09-26 02:04:11 +06:30
Tanjim Hossain
0af32518b3
fix: resolve single-line code block wrapping issue ( #121 )
...
white-space should be pre-wrap - or else, a single long line of code block may break the layout of whole page on mobile devices
use word break for code and blockquote, white-space: pre for fenced code
2023-09-26 02:04:11 +06:30
satnaing
9eeb8fc76e
fix: prevent white flash in dark mode when navigate
2023-09-26 02:04:11 +06:30
Tanishq Manuja
6c7d04fa12
feat: add view transitions for card on search page ( #118 )
...
* feat: use predictable slug for card transition
* feat: enable view transitions in search card
* refactor: use Card.tsx instead of Card.astro
* refactor: handle card styling in component
* refactor: remove unused class name
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2023-09-26 02:04:11 +06:30
satnaing
a060cb5c87
feat: add transition effect if light/dark changes
2023-09-26 02:04:11 +06:30
satnaing
e486687610
feat: upgrade to astro v3
...
Upgrade to astro v3. Update dependencies. Fix codes and features due to migration.
BREAKING CHANGE: Astro v3
resolve #111
2023-09-26 02:04:11 +06:30
Mateus Abelli
0c92492959
fix(css): text wrap in code blocks
2023-08-09 14:11:22 +06:30
satnaing
8a99601e93
fix: update card bg color
2023-01-31 20:09:05 +06:30
satnaing
cfd1072d9d
refactor: change default dark theme
2023-01-31 20:04:08 +06:30
satnaing
1a427285f3
style: format styles with Tailwind Prettier plugin
2023-01-31 15:53:49 +06:30
satnaing
0eeed8e870
refactor: update toggle theme function for better structure and a11y
...
Move theme switch js codes in Layout.astro file to external js file (toggle-theme.js). Update
.prettierignore to exclude the new toggle-theme.js file. Update base.css for new data-theme
attribute.
2022-11-26 23:43:27 +06:30
Sat Naing
4caf3bf60a
Change back to Astro default light color scheme
2022-09-27 14:25:53 +06:30
Sat Naing
5c32023cb2
Update style for prose image margin and heading-3
2022-09-26 22:07:13 +06:30
Sat Naing
1fd1b9111b
Remove unused prose details element style
2022-09-26 18:41:41 +06:30
Sat Naing
f73aa66f47
Update collapsible section outline style on focus
2022-09-26 16:45:13 +06:30
Sat Naing
88b95df2e4
Update about layout prose style
2022-09-26 12:18:16 +06:30
Sat Naing
eb47c8549c
Update prose bullets, bockquote accent colors
2022-09-26 09:45:20 +06:30
Sat Naing
321651e79b
Change light color scheme for a while
2022-09-26 02:30:11 +06:30
Sat Naing
5ebee52ccd
Update prose styling
2022-09-26 02:28:54 +06:30
Sat Naing
19ec6c87aa
Add styling for prose table and prose heading
2022-09-25 17:40:24 +06:30
Sat Naing
15cbfd9741
Add border in prose image
2022-09-23 21:35:06 +06:30
Sat Naing
f367e05793
Remove duplicated accent colors
2022-09-22 20:04:54 +06:30
Sat Naing
2a464e8860
Add custom scrollbar
2022-09-19 23:16:02 +06:30
Sat Naing
24a25a313d
Add global style for tabler icon
2022-09-19 12:46:11 +06:30
Sat Naing
4457670aed
Fix bullet point not displaying problem
2022-09-17 15:32:53 +06:30
Sat Naing
14f23f2516
Add table of contents base style
2022-09-17 13:56:14 +06:30
Sat Naing
8239ee80f7
Add background & text selection colors
2022-09-13 23:39:54 +06:30
Sat Naing
4ef133506c
Update prose image style to be center
2022-09-12 19:08:43 +06:30
Sat Naing
dc35507d98
Update link color to accent on hover
2022-09-12 19:05:12 +06:30
Sat Naing
c7c967534d
Add focus-outline component class
2022-09-12 18:39:26 +06:30
Sat Naing
82ff70ed08
Add outline style on focus-visible
2022-09-12 18:18:45 +06:30
Sat Naing
f07d47859f
Update overflow of li to x-clip
2022-09-12 09:37:17 +06:30
Sat Naing
efec1d3f07
Refactor body class codes to base.css
2022-09-11 15:25:14 +06:30
Sat Naing
66a827dca2
Remove usused btn-blue and h-row class styles
2022-09-11 12:14:18 +06:30
Sat Naing
5401fd7a44
Add custom hr class style
2022-09-11 11:43:03 +06:30
Sat Naing
adc725957c
Add card muted color
2022-09-11 02:40:44 +06:30
Sat Naing
201bf357b3
Add base & dark style for prose
2022-09-11 01:47:22 +06:30
Sat Naing
2117c79c44
Update svg base style to be inline-block
2022-09-10 15:35:18 +06:30
Sat Naing
77f9645ec4
Add svg base style
2022-09-10 15:32:25 +06:30
Sat Naing
9ceb9a3f68
Make footer style the same as section style
2022-09-10 01:38:03 +06:30
Sat Naing
851eeaa41a
Add base section style
2022-09-09 22:45:33 +06:30