Add a hosted page for the core.html
authorRobert Sesek <rsesek@google.com>
Mon, 11 Jun 2012 16:36:43 +0000 (12:36 -0400)
committerRobert Sesek <rsesek@google.com>
Mon, 11 Jun 2012 16:36:43 +0000 (12:36 -0400)
common.css [new file with mode: 0644]
core.css
core.html
hosted.css [new file with mode: 0644]
hosted.html [new file with mode: 0644]

diff --git a/common.css b/common.css
new file mode 100644 (file)
index 0000000..7bb796b
--- /dev/null
@@ -0,0 +1,32 @@
+/* Copyright (c) 2012 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.
+ */
+
+* {
+  padding: 0;
+  margin: 0;
+}
+
+body {
+  font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
+  font-size: .8em;
+
+  padding: .2em;
+}
index 265d9d0265d5d70283dc9efe543c2a8dc8df0e49..6b8f01840222ba97b2ddceeccee145a05ff7fb61 100644 (file)
--- a/core.css
+++ b/core.css
  * DEALINGS IN THE SOFTWARE.
  */
 
-* {
-  padding: 0;
-  margin: 0;
-}
-
 body {
-  font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
-  font-size: .8em;
-
-  padding: .2em;
-
   width: 36em;
 }
 
index 8603e004231637e9779f46f597c9e1e496a7fcee..d13ab5b501e1f9cbcd5d47115fac9a0f336812c3 100644 (file)
--- a/core.html
+++ b/core.html
@@ -4,7 +4,7 @@
     <title>Skeleton Key</title>
     <script type="text/javascript" src="pbkdf2.js"></script>
     <script type="text/javascript" src="core.js"></script>
-   </script>
+    <link rel="stylesheet" href="common.css" />
     <link rel="stylesheet" href="core.css" />
   </head>
   <body>
diff --git a/hosted.css b/hosted.css
new file mode 100644 (file)
index 0000000..45682de
--- /dev/null
@@ -0,0 +1,31 @@
+/* Copyright (c) 2012 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.
+ */
+
+iframe {
+  border: none;
+  padding: 0;
+  overflow: hidden;
+}
+
+#core {
+  width: 37em;
+  height: 16em;
+}
diff --git a/hosted.html b/hosted.html
new file mode 100644 (file)
index 0000000..f5eea2e
--- /dev/null
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Skeleton Key Hosted</title>
+    <link rel="stylesheet" href="common.css" />
+    <link rel="stylesheet" href="hosted.css" />
+  </head>
+  <body>
+    <h1>Skeleton Key</h1>
+
+    <p>
+      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+      tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
+      veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
+      commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
+      velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+      cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
+      id est laborum.
+    </p>
+
+    <iframe id="core" src="core.html" />
+  </body>
+</html>