From 542fb33102902fd7461bee0c0ca8ab4d9ef58de0 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Tue, 26 Dec 2023 19:01:26 +0100 Subject: Responsiveness + fixes --- apps/website/src/styles/global.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'apps/website/src/styles') diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css index 8d36787..9efd728 100644 --- a/apps/website/src/styles/global.css +++ b/apps/website/src/styles/global.css @@ -32,26 +32,33 @@ padding: 10px; border-radius: 16px; border: 1px solid rgba(65, 74, 88, 1); + width: 100%; } + .astro-code code { white-space: pre-wrap; padding: 10px; padding-bottom: 0; color: #546E7A; } + .astro-code code::before { counter-reset: listing; } + .astro-code code span { font-family: 'Roboto Mono', monospace !important; } + .astro-code code span.line { counter-increment: listing; text-align: left; - float: left; - clear: left; - font-size: 12px; + /* float: left; + clear: left; */ + font-size: 13px; + text-wrap: nowrap; } + .astro-code code span.line::before { content: counter(listing) " "; display: inline-block; @@ -62,5 +69,5 @@ /* margin-right: 10px; */ text-align: right; font-family: 'Roboto Mono', monospace !important; - font-size: 12px; + font-size: 13px; } -- cgit