aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2022-01-04 21:44:49 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2022-01-04 21:44:49 +0000
commit16b0f20415efd3ed2c181df74a473ebd5265892b (patch)
tree2d94216df0dca5b378f74b47515af5b910fc5ae7 /style.css
parent496c63266d02bc9369e3406353b877a8ebbae60a (diff)
downloadjs-raytracer-16b0f20415efd3ed2c181df74a473ebd5265892b.tar.xz
js-raytracer-16b0f20415efd3ed2c181df74a473ebd5265892b.zip
Fix specular lighting. Update scene.
Diffstat (limited to 'style.css')
-rw-r--r--style.css25
1 files changed, 16 insertions, 9 deletions
diff --git a/style.css b/style.css
index 453687e..b4c8897 100644
--- a/style.css
+++ b/style.css
@@ -3,19 +3,16 @@ body {
}
p {
- margin: 0;
+ margin: 0 0 0.8rem;
}
#output-wrapper {
- position: relative;
- width: 960px;
- height: 720px;
margin-top: 0.5em;
}
#render-output {
- width: 960px;
- height: 720px;
+ width: 100%;
+ height: 65vmin;
object-fit: contain;
}
@@ -33,8 +30,18 @@ p {
}
#console {
- height: 150px;
- width: 300px;
- padding: 0rem;
+ height: 120px;
+ padding: 0 0 0 1em;
white-space: pre-line;
+}
+
+#res-label {
+ padding-bottom: 4px;
+ padding-top: 0px;
+ margin-top: -1px;
+ font-size: 15px;
+}
+
+.divider-vert {
+ padding: 0;
} \ No newline at end of file