« get me outta code hell

Merge branch 'preview' into basic-dynamics - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-10 17:09:00 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-10 17:09:00 -0400
commit1b191f364cf2eed746878ebc86e89ad87ef0189a (patch)
treea9af0c43dd716302789deef7ec9bc7569c236cd0 /src
parent4de56d21db5004e5b2c2a49caedee0908b9c6a9f (diff)
parentcb25a588edc760ea98fba91746cd5be2f1c3ca0b (diff)
Merge branch 'preview' into basic-dynamics
Diffstat (limited to 'src')
-rw-r--r--src/misc-templates.js1
-rw-r--r--src/static/site2.css29
2 files changed, 0 insertions, 30 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index bccb883..6659d72 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -714,7 +714,6 @@ function unbound_img({
   function wrap(input, hide = false) {
     let wrapped = input;
 
-    wrapped = html.tag('div', {class: 'image-inner-area'}, wrapped);
     wrapped = html.tag('div', {class: 'image-container'}, wrapped);
 
     if (reveal) {
diff --git a/src/static/site2.css b/src/static/site2.css
index b5ae3ef..287bbd6 100644
--- a/src/static/site2.css
+++ b/src/static/site2.css
@@ -631,11 +631,6 @@ blockquote {
   padding-right: 12%;
 }
 
-p img {
-  max-width: 100%;
-  height: auto;
-}
-
 dl dt {
   padding-left: 40px;
   max-width: 600px;
@@ -709,13 +704,6 @@ li > ul {
   height: 100%;
 }
 
-.image-inner-area {
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  position: relative;
-}
-
 .image-text-area {
   position: absolute;
   top: 0;
@@ -737,12 +725,6 @@ li > ul {
 
 img {
   object-fit: cover;
-  /* these unfortunately dont take effect while loading, so...
-    text-align: center;
-    line-height: 2em;
-    text-shadow: 0 0 5px black;
-    font-style: oblique;
-    */
 }
 
 .reveal {
@@ -1029,17 +1011,6 @@ html[data-url-key="localized.home"] .carousel-container {
   height: 100%;
 }
 
-.vertical-square {
-  position: relative;
-  height: 100%;
-}
-
-.vertical-square::after {
-  content: "";
-  display: block;
-  padding-right: 100%;
-}
-
 /* Info card */
 
 #info-card-container {