fix: styles

This commit is contained in:
Araozu 2024-11-23 19:29:03 -05:00
parent 432862a253
commit 2c8c6344b2
2 changed files with 9 additions and 0 deletions

View File

@ -101,6 +101,7 @@ pre[class*="language-"] ::selection {
:not(pre) > code { :not(pre) > code {
background-color: var(--code-theme-bg-color); background-color: var(--code-theme-bg-color);
color: var(--code-theme-color);
padding: 0 0.25rem; padding: 0 0.25rem;
border-radius: 5px; border-radius: 5px;
} }

View File

@ -6,6 +6,7 @@ order: 1
import InteractiveCode from "@/components/InteractiveCode.astro"; import InteractiveCode from "@/components/InteractiveCode.astro";
import Code from "@/components/Code.astro"; import Code from "@/components/Code.astro";
import Info from "@/components/docs/Info.astro"
# Welcome # Welcome
@ -18,6 +19,13 @@ THP is a new programming language that compiles to PHP.
This page details the main design desitions of the language, This page details the main design desitions of the language,
if you want to install THP go to the [installation guide](install) if you want to install THP go to the [installation guide](install)
<Info>
This set of pages contain ideas, designs and features that are not implemented,
and may not be implemented. To see the status of the actual implementation,
see an actual version (e.g `v0.0.1`).
</Info>
## Why? ## Why?
PHP is an old language. It has been growing since 1995, adopting a PHP is an old language. It has been growing since 1995, adopting a