Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
Some renaming and add CSS snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kelly committed Jun 26, 2012
1 parent 9c0439f commit 334bd19
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.DS_Store
4 changes: 4 additions & 0 deletions 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.
4 changes: 4 additions & 0 deletions 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>
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions 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.
19 changes: 19 additions & 0 deletions 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.