summaryrefslogtreecommitdiff
path: root/contrib/css.html
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-20 21:25:24 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-20 21:25:24 +0200
commit5335c44f98fb17d5349850219ddd3d3d6695caaa (patch)
treed9164dba7b3ac4cb1e1a8fc206eb8c5f90f2ebc0 /contrib/css.html
parent5e5e4fbf006f120e15e9cd6b393c9d259398911d (diff)
downloadmerchant-5335c44f98fb17d5349850219ddd3d3d6695caaa.tar.gz
merchant-5335c44f98fb17d5349850219ddd3d3d6695caaa.tar.bz2
merchant-5335c44f98fb17d5349850219ddd3d3d6695caaa.zip
address #6995 in terms of enabling sharing across Mustach template files by using cpp during the build process
Diffstat (limited to 'contrib/css.html')
-rw-r--r--contrib/css.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/contrib/css.html b/contrib/css.html
new file mode 100644
index 00000000..1409f31a
--- /dev/null
+++ b/contrib/css.html
@@ -0,0 +1,54 @@
+<link rel="stylesheet"
+ href="{{static_url}}pure-min.css"
+ integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ"
+ crossorigin="anonymous">
+<style>
+.talerbar {
+ text-align: center;
+}
+.tt {
+ font-family: 'Lucida Console', Monaco, monospace;
+}
+.content {
+ overflow-x: auto;
+ padding-left: 15%;
+ padding-right: 15%;
+}
+.qr {
+ margin: auto;
+ text-align: center;
+}
+.qrtext {
+ width: max-content;
+ margin: auto;
+ transition: font-size 0.2s;
+ font-family: 'Lucida Console', Monaco, monospace;
+ font-size: 0.5em;
+}
+.qrtext:hover {
+ font-size: 1em;
+}
+.talerbar {
+ margin: 0;
+ bottom: 0;
+ background-color: #033;
+ color: white;
+ width: 100%;
+ padding: 1em;
+ overflow: auto;
+}
+body {
+ overflow-y: scroll;
+}
+@media (min-width: 500px) {
+ .content {
+ padding-bottom: 2em;
+ margin-right: 1em;
+ overflow-y: auto;
+ }
+}
+#define EMPTY
+EMPTY#main a:link, #main a:visited, #main a:hover, #main a:active {
+ color: black;
+}
+</style>