ab.ncvp.me

Styling

Posted on 7th May 2026 at 08:30 by Louisa


Styling within Astro

<style> vs <style is:global> in Astro components

Global CSS

I’m still exploring global stylesheet vs. <style> and <style is:global> within Astro files.
I don’t know how I will resolve this, but as I’m entirely using MD files, I presume the problem ahs gone away.

Much of astro-blog.css is given over to styling the menu. It’s a shame I got rid of the original menu, but it could always be revived

<ul>

I’ve added src/styles/astro-blog.css including ul {list-style-type:disc;} and included this in Layout.astro.
I never want the alternating bullet, circle square default.

Category: Misc Tag: Styling

Rendered by src/pages/blog/[slug].astro