diff --git a/app/globals.css b/app/globals.css index 5c2db89..fc6f5de 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,57 +1,67 @@ :root { - --background: #ffffff; - --foreground: #171717; + --background: #ffffff; + --foreground: #171717; } @media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } + :root { + --background: #0a0a0a; + --foreground: #ededed; + } } html, body { - max-width: 100vw; - overflow-x: hidden; + max-width: 100vw; + overflow-x: hidden; } body { - color: var(--foreground); - background: var(--background); - font-family: Arial, Helvetica, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + color: var(--foreground); + background: var(--background); + font-family: Arial, Helvetica, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } * { - box-sizing: border-box; - padding: 0; - margin: 0; + box-sizing: border-box; + padding: 0; + margin: 0; } a { - color: inherit; - text-decoration: none; + color: inherit; + text-decoration: none; } @media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } + html { + color-scheme: dark; + } } div.api-spec p { - margin-top: 1rem; - line-height: 2rem; + margin-top: 1rem; + line-height: 2rem; } div.api-spec code { - display: block; - padding: 1rem; - border-radius: 5px; - font-size: 0.9em; - color: #555; - margin-bottom: 10px; - word-break: break-all; + display: block; + padding: 1rem; + border-radius: 5px; + font-size: 0.9em; + color: #555; + margin-bottom: 10px; + word-break: break-all; } + +.content-wrapper { + max-width: 50vw; +} + +@media (max-width: 600px) { + .content-wrapper { + max-width: 100vw; + } +} \ No newline at end of file diff --git a/app/page.tsx b/app/page.tsx index 9927b4a..25f6271 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -60,7 +60,7 @@ export default function Home() { opacity: mounted ? 1 : 0, transition: 'opacity 0.5s ease-in', }}> - Welcome to Tamil Thirukkural App + Thirukkural API -

-

@@ -160,11 +158,10 @@ export default function Home() {
-