From 08b0819430939e18763ef4823b4d00b2c6f972d6 Mon Sep 17 00:00:00 2001
From: mrdrogdrog <tilman.vatteroth@udo.edu>
Date: Tue, 24 Nov 2015 11:59:39 +0100
Subject: [PATCH] =?UTF-8?q?Vorbereitung=20f=C3=BCr=20die=20Matekalypse?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 panels/matekalypse/script.js     |  5 +++++
 panels/matekalypse/style.less    | 23 +++++++++++++++++++++++
 panels/matekalypse/template.html |  5 +++++
 3 files changed, 33 insertions(+)
 create mode 100644 panels/matekalypse/script.js
 create mode 100644 panels/matekalypse/style.less
 create mode 100644 panels/matekalypse/template.html

diff --git a/panels/matekalypse/script.js b/panels/matekalypse/script.js
new file mode 100644
index 0000000..2677509
--- /dev/null
+++ b/panels/matekalypse/script.js
@@ -0,0 +1,5 @@
+this.resize=function() {
+    this.panel.find("#zwei").textfill({
+        maxFontPixels:-1
+    });
+}
\ No newline at end of file
diff --git a/panels/matekalypse/style.less b/panels/matekalypse/style.less
new file mode 100644
index 0000000..6a44ae9
--- /dev/null
+++ b/panels/matekalypse/style.less
@@ -0,0 +1,23 @@
+#eins {
+  color: #C11010;
+  text-align: center;
+  background: linear-gradient(135deg, #fff200 0%,#ffff00 34%,#ffff00 34%,#070000 35%,#000000 47%,#070000 79%,#070000 79%,#ffff00 79%,#ffff00 100%);
+  background-size: 100% 100%;
+  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
+  width:100%;
+  height:100%;
+}
+#zwei{
+  width: 100%;
+  height: 100%;
+  word-break: break-all;
+  font-family: vrr;
+  font-size: 142px;
+  height:100%;
+  white-space: nowrap;
+  overflow:hidden;
+  padding:5px;
+}
+#zwei span {
+  height:100%;
+}
\ No newline at end of file
diff --git a/panels/matekalypse/template.html b/panels/matekalypse/template.html
new file mode 100644
index 0000000..8f5c4be
--- /dev/null
+++ b/panels/matekalypse/template.html
@@ -0,0 +1,5 @@
+<div id="eins">
+    <div id="zwei">
+        <span>MATEKALYPSE!</span>
+    </div>
+</div>
\ No newline at end of file
-- 
GitLab