-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7bb7f10
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |