gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] branch master updated: layout/css tweaks


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: layout/css tweaks
Date: Fri, 23 Apr 2021 11:36:25 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 0f393b5  layout/css tweaks
0f393b5 is described below

commit 0f393b59b3651c9d8b19ef5d1cd0d2f2255ea29c
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Apr 23 11:36:19 2021 +0200

    layout/css tweaks
---
 talermerchantdemos/static/blog.css              | 20 +++++++++++
 talermerchantdemos/static/demo.css              | 32 ++---------------
 talermerchantdemos/static/torsten.css           | 47 -------------------------
 talermerchantdemos/templates/blog-base.html.j2  |  2 +-
 talermerchantdemos/templates/blog-index.html.j2 |  6 ++--
 5 files changed, 25 insertions(+), 82 deletions(-)

diff --git a/talermerchantdemos/static/blog.css 
b/talermerchantdemos/static/blog.css
new file mode 100644
index 0000000..c288119
--- /dev/null
+++ b/talermerchantdemos/static/blog.css
@@ -0,0 +1,20 @@
+.notice {
+  border-radius: 1em;
+  background: rgb(228, 228, 228);
+  border-left: 0.3em solid #1e2739;
+  padding-left: 1em;
+  padding-top: 0.5em;
+  padding-bottom: 0.5em;
+  margin-top: 2em;
+  margin-bottom: 2em;
+}
+.notice {
+  position: relative;
+  left: 0;
+}
+#main a:link,
+#main a:visited,
+#main a:hover,
+#main a:active {
+  color: black;
+}
diff --git a/talermerchantdemos/static/demo.css 
b/talermerchantdemos/static/demo.css
index 95cedce..ce95cc9 100644
--- a/talermerchantdemos/static/demo.css
+++ b/talermerchantdemos/static/demo.css
@@ -31,12 +31,13 @@
 }
 
 .content {
+  margin-left: 2em;
   overflow-x: auto;
 }
 
 .demobar {
   overflow-x: auto;
-  background-color: #033;
+  background-color: #1e2739;
   color: white;
 }
 
@@ -45,35 +46,6 @@ body {
   overflow-y: auto;
 }
 
-body * {
-  /* margin-left: 0.5vw; */
-  left: 0.1vw;
-}
-
-@media (min-width: 500px) {
-  .content {
-    /* margin-left: 0vw; */
-    padding-left: 2em;
-    margin-right: 1em;
-  }
-
-  .demobar {
-    /* height: 100%; */
-    /* width: 25%; */
-    /* NOTE: Please use "vh"/"vw" instead of "%" when possible, in the future. 
*/
-    height: min-content;
-    width: 100vw;
-    margin: 0;
-    top: 0;
-    left: 0;
-    background-color: #1e2739;
-    color: white;
-    position: relative;
-    padding-right: 1em;
-    text-align: center;
-  }
-}
-
 .navcontainer {
   background: #1e2739;
   margin-bottom: 50px;
diff --git a/talermerchantdemos/static/torsten.css 
b/talermerchantdemos/static/torsten.css
deleted file mode 100644
index 6e5a01d..0000000
--- a/talermerchantdemos/static/torsten.css
+++ /dev/null
@@ -1,47 +0,0 @@
-.warn {
-  background-color: #aa393977;
-  padding: 1em;
-}
-@keyframes hoveranim {
-  from {
-    left: 0;
-  }
-  to {
-    left: 1vw;
-  }
-}
-@keyframes hoveranimrevert {
-  from {
-    left: 1vw;
-  }
-  to {
-    left: 0;
-  }
-}
-.notice {
-  border-radius: 1em;
-  background: #0333;
-  border-left: 0.3em solid #033;
-  padding-left: 1em;
-  padding-top: 0.5em;
-  padding-bottom: 0.5em;
-  margin-top: 2em;
-  margin-bottom: 2em;
-}
-.notice {
-  position: relative;
-  left: 0;
-  animation-name: hoveranimrevert;
-  animation-duration: 1s;
-}
-.notice:hover {
-  left: 1vw;
-  animation-name: hoveranim;
-  animation-duration: 1s;
-}
-#main a:link,
-#main a:visited,
-#main a:hover,
-#main a:active {
-  color: black;
-}
diff --git a/talermerchantdemos/templates/blog-base.html.j2 
b/talermerchantdemos/templates/blog-base.html.j2
index 0dae8d6..771f6ee 100644
--- a/talermerchantdemos/templates/blog-base.html.j2
+++ b/talermerchantdemos/templates/blog-base.html.j2
@@ -1,7 +1,7 @@
 {% extends "common-base.html.j2" %}
 
 {% block head %}
-  <link rel="stylesheet" type="text/css" href="{{ static('torsten.css') }}" />
+  <link rel="stylesheet" type="text/css" href="{{ static('blog.css') }}" />
 {% endblock head %}
 
 {% block header_content %}
diff --git a/talermerchantdemos/templates/blog-index.html.j2 
b/talermerchantdemos/templates/blog-index.html.j2
index dd1bced..99656ef 100644
--- a/talermerchantdemos/templates/blog-index.html.j2
+++ b/talermerchantdemos/templates/blog-index.html.j2
@@ -17,10 +17,8 @@
 
     <h2>{{ gettext("Chapters") }} </h2>
     <div>
-      {{
-      gettext("Click on an individual chapter to to purchase it with GNU 
Taler.") +
-      gettext('You can get free, virtual money to buy articles on this page at 
the <a href="{}")">bank</a>').format(env('TALER_ENV_URL_BANK'))
-      }}
+      {{ gettext("Click on an individual chapter to to purchase it with GNU 
Taler.") }}
+      {{ gettext('You can get free, virtual money to buy articles on this page 
at the <a href="{}")">bank</a>.').format(env('TALER_ENV_URL_BANK')) }}
     </div>
 
     <div>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]