New quotes and image

This commit is contained in:
Dave R 2018-08-12 11:16:03 +01:00
parent c46a4d0c03
commit 2d050ea079
5 changed files with 18 additions and 10 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2018 Dave R
Copyright (c) 2018 Dave R (ohlookitsderpy)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,14 +1,15 @@
# Mue
Fast, open and free-to-use new tab page for Chrome
Fast, open and free-to-use new tab page for Chrome (also works on Firefox)
## Installation
### Chrome
1. ``git clone https://github.com/ohlookitsderpy/Mue``
2. Visit ``chrome://extensions`` in your browser
3. Click **Load unpacked** (Make sure **Developer Mode** is on)
4. Go to the directory, and click ok
5. Enjoy your new tab!
### Firefox
soon TM
## Credits
[Turbomarshmello](https://github.com/TurboMarshmello) - Portions of original code, name idea. ~~pls don't ban me i gave credit~~

View File

@ -33,10 +33,11 @@ body {
.butterfly { background-image: url('../images/3.jpeg'); }
.leaves { background-image: url('../images/4.jpeg'); }
.city { background-image: url('../images/5.jpeg'); }
.sea { background-image: url('../images/6.jpeg'); }
.space { background-image: url('../images/7.jpeg'); }
.ice { background-image: url('../images/8.jpeg'); }
.house { background-image: url('../images/9.jpeg'); }
.sea { background-image: url('../images/6.jpeg'); }
.space { background-image: url('../images/7.jpeg'); }
.ice { background-image: url('../images/8.jpeg'); }
.house { background-image: url('../images/9.jpeg'); }
.river { background-image: url('../images/10.jpeg'); }
/* TEXT SHADOW */

BIN
assets/images/10.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

View File

@ -68,7 +68,8 @@ function setRandomBackground () {
'sea',
'space',
'ice',
'house'
'house',
'river'
],
currentBackgroundClass = pickFromArray(backgroundClasses);
@ -100,7 +101,12 @@ function setRandomQuote () {
{ text: 'All our dreams can come true, if we have the courage to pursue them.', author: 'Walt Disney' },
{ text: 'It does not matter how slowly you go as long as you do not stop.', author: 'Confucius'},
{ text: 'Believe in yourself. You are braver than you think, more talented than you know, and capable of more than you imagine.', author: 'Roy T. Bennett'},
{ text: 'If you believe it will work out, youll see opportunities. If you believe it wont, you will see obstacles', author: 'Wayne Dyer'}
{ text: 'If you believe it will work out, youll see opportunities. If you believe it wont, you will see obstacles', author: 'Wayne Dyer'},
{ text: 'Everything youve ever wanted is on the other side of fear.', author: 'George Addair'},
{ text: 'Success is not final, failure is not fatal: it is the courage to continue that counts.', author: 'Winston Churchill'},
{ text: 'There is only one thing that makes a dream impossible to achieve: the fear of failure.', author: 'Paulo Coelho'},
{ text: 'Your true success in life begins only when you make the commitment to become excellent at what you do.', author: 'Brian Tracy'},
{ text: 'Believe in yourself, take on your challenges, dig deep within yourself to conquer fears. Never let anyone bring you down. You got to keep going.', author: 'Chantal Sutherland'}
],
quote = pickFromArray(quotes);