The extension now has its own dedicated page and embeds core.html.
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 24 Feb 2014 02:23:20 +0000 (21:23 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 24 Feb 2014 02:24:34 +0000 (21:24 -0500)
Makefile
common.css
core.css
extension.css [new file with mode: 0644]
extension.html [new file with mode: 0644]
hosted.css
manifest.json

index 5d95f465414e333d49da1d5f331f2683cec593cc..f78ddb9fa2c52db8b04e891d2fa2bf380f9abab4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 ZIP_FILES=manifest.json \
+         extension.html \
          core.html \
          core.css \
          core.js \
index 6e2557fa21b959145da453098a6283b07c0770cc..911f31d05c88fc1d14db34cc31e8e2d897c1a14e 100644 (file)
@@ -28,3 +28,14 @@ body {
   font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
   font-size: .8em;
 }
+
+iframe {
+  border: none;
+  padding: 0;
+  overflow: hidden;
+
+  width: 37em;
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+}
index ebf84bd7830922943f20693bcdf2fc6473e0f508..443aebb61c9887ee3acf4cc09873585f63b1b2d2 100644 (file)
--- a/core.css
+++ b/core.css
@@ -80,7 +80,7 @@ hr {
   clear: both;
 }
 
-@media screen and (max-width: 800px) {
+@media screen and (max-width: 450px) {
   body {
     margin: 0;
     padding: 0;
diff --git a/extension.css b/extension.css
new file mode 100644 (file)
index 0000000..896e0dd
--- /dev/null
@@ -0,0 +1,29 @@
+/* Copyright (c) 2014 Robert Sesek <http://robert.sesek.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+body {
+  width: 36em;
+  padding: .2em;
+}
+
+iframe {
+  height: 14.5em;
+}
diff --git a/extension.html b/extension.html
new file mode 100644 (file)
index 0000000..19dc7c3
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Skeleton Key Chrome Extension</title>
+    <link rel="stylesheet" href="common.css" />
+    <link rel="stylesheet" href="extension.css" />
+  </head>
+  <body>
+    <iframe id="core" src="core.html"></iframe>
+  </body>
+</html>
index a66ee9e2717b6a4c13915debefdb1219931946d6..26c0fd32f0b17d8c2f5435d81aeb558aafc96289 100644 (file)
@@ -30,16 +30,8 @@ p {
 }
 
 iframe {
-  border: none;
-  padding: 0;
-  overflow: hidden;
   margin: 3em 0;
-
   width: 37em;
-  display: block;
-  margin-left: auto;
-  margin-right: auto;
-
   background-color: #FFF;
   border-color: #CCC;
   border-style: solid;
index a423cb5d63c661943a14245d7dc9e1230a340d4c..3b49f7768f364da4a06f7f86318e71d13c573497 100644 (file)
@@ -18,7 +18,7 @@
 
   "browser_action": {
     "default_title": "Skeleton Key",
-    "default_popup": "core.html",
+    "default_popup": "extension.html",
     "default_icon": "icon19.png"
   }
 }