Skip to content
Browse files

Some renaming and add CSS snippets.

  • Loading branch information...
1 parent 9c0439f commit 334bd19f32b6a461435ce90c6ace2c81f709d76e @Osmose Osmose committed Jun 26, 2012
View
1 .gitignore
@@ -0,0 +1 @@
+.DS_Store
View
4 standard-css/README.md
@@ -0,0 +1,4 @@
+# Standard CSS Snippet
+
+This snippet is delivered to all users and defines basic styling for all
+snippets.
View
4 standard-css/snippet.html
@@ -0,0 +1,4 @@
+<style type="text/css">
+#snippetContainer div.snippet { display: none; }
+#snippetContainer div.snippet img.icon { margin: -0.75em 1em 0 0; float: left; }
+</style>
View
0 standard_js/README.md → standard-js/README.md
File renamed without changes.
View
0 standard_js/script.js → standard-js/script.js
File renamed without changes.
View
4 startpage-v2-css/README.md
@@ -0,0 +1,4 @@
+# CSS Snippet v2
+
+This snippet is delivered to all users on version 2 of the about:home page,
+which uses a new style for snippets and requires some extra styling.
View
19 startpage-v2-css/snippet.html
@@ -0,0 +1,19 @@
+<style type="text/css">
+.snippet {
+ position: relative;
+}
+
+.snippet .icon {
+ position: absolute;
+ right: 400px;
+ top: 5px;
+}
+
+.snippet p {
+ display: table-cell;
+ height: 40px;
+ padding-left: 80px;
+ vertical-align: middle;
+ width: 400px;
+}
+</style>

0 comments on commit 334bd19

Please sign in to comment.
Something went wrong with that request. Please try again.