diff --git a/readme/css/readme.css b/readme/css/readme.css new file mode 100644 index 00000000..444952ae --- /dev/null +++ b/readme/css/readme.css @@ -0,0 +1,27 @@ +.head img { + float: left; + width: 32px; + height: 16px; + margin: 4px 2px 4px 4px; +} +.head div { + float: left; + height: 15px; + padding: 1px 2px 0 2px; + margin: 4px 2px 4px 2px; + background: -webkit-linear-gradient(top, rgb(128, 128, 128), rgb(64, 64, 64)); + font-weight: bold; + font-size: 12px; +} +code { + border: 1px solid rgb(192, 192, 192); + background: rgb(255, 255, 255); +} +.text { + padding: 16px 24px 16px 24px; +} +.title { + font-weight: bold; + font-size: 16px; +} + diff --git a/readme/html/test1.html b/readme/html/test1.html new file mode 100644 index 00000000..d52bc914 --- /dev/null +++ b/readme/html/test1.html @@ -0,0 +1,7 @@ +
This is just a test
+ +Foo bar baz.
+ +foo: // this is some code
blockquote\ No newline at end of file diff --git a/readme/html/test2.html b/readme/html/test2.html new file mode 100644 index 00000000..c23a4b20 --- /dev/null +++ b/readme/html/test2.html @@ -0,0 +1 @@ +
This is another test, with a longer title
\ No newline at end of file diff --git a/readme/index.html b/readme/index.html new file mode 100644 index 00000000..b045797e --- /dev/null +++ b/readme/index.html @@ -0,0 +1,13 @@ + + + +(.+)<\/p>/);
+ items.push({
+ date: file.date,
+ file: file.name,
+ html: html,
+ title: match ? match[1] : file
+ });
+ items.length == files.length && callback(items);
+ });
+ });
+ }
+
+ function renderUI(callback) {
+ $ui.logo = $('').attr({href: 'https://oxjs.org'})
+ .append(
+ $('').attr({src: '../source/Ox/png/OxJS64.png'})
+ );
+ $ui.title = $('').attr({href: 'https://oxjs.org/#readme'})
+ .append(
+ $('