aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-29 19:01:20 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-29 19:01:20 +0300
commit8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 (patch)
tree2b117f4bafa0a4d10252eef95ca868a247a081a1 /src/styles
parent9d952483f250a97cbeab4061fa1c4e68341b330f (diff)
everything works
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/blackbox.css4
-rw-r--r--src/styles/thread.css4
2 files changed, 3 insertions, 5 deletions
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;