aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/styles/global.css
diff options
context:
space:
mode:
Diffstat (limited to 'apps/website/src/styles/global.css')
-rw-r--r--apps/website/src/styles/global.css15
1 files changed, 11 insertions, 4 deletions
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;
}