From 8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 29 Aug 2022 19:01:20 +0300 Subject: everything works --- src/styles/blackbox.css | 4 ++-- src/styles/thread.css | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/styles') diff --git a/src/styles/blackbox.css b/src/styles/blackbox.css index 4a0e63f..4ddcb85 100644 --- a/src/styles/blackbox.css +++ b/src/styles/blackbox.css @@ -1,8 +1,8 @@ .blackbox { - width: var(--wdt); + max-width: var(--wdt, 100%); border: 10px solid black; padding: 10px; margin: 10px; - margin-left: 0px; + margin-left: var(--ml, 10px); background-color: white; } diff --git a/src/styles/thread.css b/src/styles/thread.css index 14997de..2667d6f 100644 --- a/src/styles/thread.css +++ b/src/styles/thread.css @@ -1,13 +1,11 @@ .threadbox { - width: 600px; border: 10px solid green; padding: 10px; margin: 10px; - margin-left: 0px; background-color: white; } .commentbox { - width: 500px; + max-width: 90%; border: 5px solid green; padding: 10px; margin: 10px; -- cgit v1.2.3