Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
phillebaba committed Jul 10, 2015
0 parents commit 7bb7f10
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cover.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>New Tab</title>
</head>
<body>

<div class="bg-photo">

<script src="cover.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions cover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@


19 changes: 19 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


{
"manifest_version": 2,

"offline_enabled":false,

"name": "YouPic Cover",
"description": "This extension will display amazing pictures when you open a new tab. Taken from the finest selection from over at https://youpic.com",
"version": "1.0",

"chrome_url_overrides": {
"newtab": "cover.html"
},

"permissions": [
"tabs"
]
}
13 changes: 13 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
html, body {
height: 100%;
margin: 0;
}

.bg-photo {
background-image:url(https://df0179xsabjj8.cloudfront.net/huge/224722_Okk6PcDnzTsgMRtI_101741.jpg);
height: 100%;
width: 100%;
background-position: center center;
background-repeat: no-repeat;
background-color: rgba(0,0,0,0.3);
}

0 comments on commit 7bb7f10

Please sign in to comment.