diff --git a/src/_includes/header.njk b/src/_includes/header.njk index 3edb5eac..38d938e3 100644 --- a/src/_includes/header.njk +++ b/src/_includes/header.njk @@ -26,7 +26,7 @@ - + diff --git a/src/css/media.css b/src/css/media.css index 5c6fbf62..224242d4 100644 --- a/src/css/media.css +++ b/src/css/media.css @@ -151,8 +151,8 @@ http://pieroxy.net/blog/pages/css-media-queries/test-features.html div.code_block { margin-left: 10px !important; margin-right: 10px !important; - width: auto; - min-width: 400px; + /*! width: auto; */ + /*! min-width: 400px; */ } } @@ -275,8 +275,6 @@ http://pieroxy.net/blog/pages/css-media-queries/test-features.html } - -/* max width of 1680px -> MY MONITOR */ @media only screen and (max-width: 1680px) { h5.templateBlock { margin-left: 10px !important; @@ -291,8 +289,7 @@ http://pieroxy.net/blog/pages/css-media-queries/test-features.html div.preview, pre.code_block.bad_example { margin-left: 10px !important; - margin-right: 10px !important; - width: auto; + flex-grow: 1; } .screenshot.query { margin-left: 10px; diff --git a/src/css/project.css b/src/css/project.css index ea412f2b..4e22c805 100644 --- a/src/css/project.css +++ b/src/css/project.css @@ -465,6 +465,9 @@ a[href]:focus { max-height: 220px; font-family: Consolas, 'Courier New', Geneva, sans-serif; } +.preview { + margin-left: 30px; +} .code_block { padding: 10px; } diff --git a/src/templates.html b/src/templates.html index 29fb915d..6e89b8d2 100644 --- a/src/templates.html +++ b/src/templates.html @@ -60,14 +60,10 @@ flex-wrap: wrap; justify-content: space-between; } - .container > * { - width: 50%; - } /* graphical preview */ .container .preview { font-style: normal; - } @@ -103,7 +99,8 @@
quote header
copy!
-<div style="display:inline-block; border: 1px gray solid; padding: 0.5em 2em 0.5em 0.5em; margin: 0.5em 0px;">
+<div style="display:inline-block; border: 1px gray solid;
+padding: 0.5em 2em 0.5em 0.5em; margin: 0.5em 0px;">
  <b>From:</b> %from(name,bracketMail(angle))% <br>
  <b>Sent:</b> %X:=sent% %A%, %B% %d%, %Y% %l%:%M%%p(3)% <br>
  <b>To:</b> %to(name)%<br>
@@ -173,7 +170,10 @@
template
template
copy!
-<div id="my_message" style="color:red; font-style:italic; font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif; ">
+<div id="my_message" +style="font-family: ui-rounded, 'Hiragino Maru Gothic ProN',
+Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold',
+Calibri, source-sans-pro, sans-serif; color: #5E1F00; ">
  <p>Hello,</p>
  <p>%cursor%</p>
  <p>Thank you, <br>
@@ -201,11 +201,11 @@
quote header
%subject% <br>
-<span class="qhLabel">Sent: </span>%date% <br>
-<span class="qhLabel">From: </span>%from% <br>
-<span class="qhLabel">To: </span>%to% <br>
-[[ <span class="qhLabel">Cc: </span>%cc%]]
+<span class="qhLabel">Subject: </span> %subject% <br>
+<span class="qhLabel">Sent: </span> %date% <br>
+<span class="qhLabel">From: </span> %from% <br>
+<span class="qhLabel">To: </span> %to% <br>
+[[ <span class="qhLabel">Cc: </span> %cc%]]
@@ -218,7 +218,7 @@
quote header
Preview
- Subject:SmartTemplate - test email
+ Subject: SmartTemplate - test email
Sent: Tue, 1 Oct 2024 14:37:24 +0100
From: John Doe <johndoe@example.com>
To: Axel <axel@example.com>