diff --git a/README.md b/README.md index 1e59348..01855f3 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,13 @@ -[](https://github.com/Ozencb/tilde-enhanced/issues) -[](https://github.com/Ozencb/tilde-enhanced) -[](https://github.com/Ozencb/tilde-enhanced) -[](../master/LICENSE) - -# Tilde Enhanced - -Based on [Cade Scroggins](https://github.com/cadejscroggins)'s [Tilde](https://github.com/cadejscroggins/tilde). - -## Screenshots - - +# Shiloh startpage +Based on [Cade Scroggins](https://github.com/cadejscroggins)'s [startpage](https://github.com/cadejscroggins/startpage). ## Added Features + Most of the features are carried over from the original source. Few of the added features are: -- A launch category functionality, which launches every site in a category. Enter a category index number followed by `!`, i.e. `2!` would launch everything under the second category. +- A launch category functionality, which launches every site in a category. Enter a category index number followed by `!`, i.e. `2!` would launch everything under the second category. - A "Quick Launch" functionality, which launches every site with `quickLaunch` property set to `true` upon entering `q!`. - An invertible color theme. Either edit config or use `invert!` command. - Show image or SVG as bookmark icon @@ -24,18 +15,14 @@ Few of the added features are: ## Usage -To use Tilde as your homepage, simply set your browser's home URL to -Tilde's index file. +To use startpage as your homepage, simply set your browser's home URL to +startpage's index file. To go to a site, enter the first letter of the site then hit enter. -To view the available sites, press `?` or click on the clock. +To view the available sites, press `?` or click on today's date. If your input doesn't match any of the commands, -a generic DuckDuckGo search will be triggered. For example: +a mullvad leta search will be triggered. -- Entering `r` would redirect you to [www.reddit.com](https://www.reddit.com). -- Entering `t` would redirect you to [twitch.tv](https://www.twitch.tv). -- Entering `cats` would search [Cats](https://duckduckgo.com/?q=cats). - -Note that by default, queries are searched on DuckDuckGo but this can be +Note that by default, queries are searched on Mullvad Leta but this can be configured easily by updating two lines on. Check [Configuration](#configuration) for details. You might have to allow pop-ups for your homepage to use quick launch feature. @@ -48,10 +35,10 @@ only bring up pre-defined sites. You can search any of the sites by typing a colon after the site's key, followed by your search query. For example: -- Entering `g:tilde-enhanced` would search - [GitHub for tilde-enhanced](https://github.com/search?q=tilde-enhanced). -- Entering `y:cats` would search - [Cats on YouTube](https://www.youtube.com/results?search_query=cats). +- Entering `g:remnantchat` would search + [GitHaven for startpage-enhanced](https://githaven.org/search?q=remnantchat). +- Entering `stack:cats` would search + [Cats on stackoverflow](https://www.stackoverflow.com/results?search_query=cats). ### Specific Locations @@ -59,20 +46,10 @@ You can go to a specific location on a site by typing a forward slash after the site's key, followed by the location on the site you'd like to be redirected to. For example: -- Entering `r/r/startpages` would redirect you to - [www.reddit.com/r/startpages](https://www.reddit.com/r/startpages) -- Entering `h/popular` would redirect you to - [hypem.com/popular](http://hypem.com/popular). - ### URL Redirects If you enter in a full domain or URL, you will be redirected to said domain or -URL. For example: - -- Entering `stallman.org` would redirect you to - [stallman.org](https://stallman.org/). -- Entering `keep.google.com` would redirect you to - [keep.google.com](https://keep.google.com/). +URL. You can also use `Ctrl + Enter` key combination to launch the query with a `.com` TLD. @@ -80,10 +57,10 @@ You can also use `Ctrl + Enter` key combination to launch the query with a `.com Additionally, you can pass any query via the `q` query param. For example: -- Going to `file:///path/to/tilde/index.html?q=cats` would search +- Going to `file:///path/to/startpage/index.html?q=cats` would search [Cats](https://duckduckgo.com/?q=cats). -This allows you to invoke Tilde with your native browser search bar. +This allows you to invoke startpage with your native browser search bar. ## Configuration @@ -94,7 +71,3 @@ Open up the [config.js](js/config.js) file and read through the `CONFIG`! By default Firefox won't let you set a custom URL for new tabs but there is a work-around to circumvent the problem. You can follow [Urimu's Guide](https://github.com/Urimu/Startpage#setting-it-up-on-firefox) to set your new tab to launch custom URLs. - -## License - -Feel free to [use this and modify it however you like](https://github.com/Ozencb/tilde-enhanced/blob/master/LICENSE). diff --git a/assets/icons/cloud.png b/assets/icons/cloud.png new file mode 100644 index 0000000..623ec26 Binary files /dev/null and b/assets/icons/cloud.png differ diff --git a/assets/icons/discord.png b/assets/icons/discord.png deleted file mode 100644 index cd0c2f0..0000000 Binary files a/assets/icons/discord.png and /dev/null differ diff --git a/assets/icons/drive.png b/assets/icons/drive.png deleted file mode 100644 index 52ca84d..0000000 Binary files a/assets/icons/drive.png and /dev/null differ diff --git a/assets/icons/githaven.png b/assets/icons/githaven.png new file mode 100644 index 0000000..2be5137 Binary files /dev/null and b/assets/icons/githaven.png differ diff --git a/assets/icons/github.png b/assets/icons/github.png deleted file mode 100644 index 1a289a6..0000000 Binary files a/assets/icons/github.png and /dev/null differ diff --git a/assets/icons/hackernews.png b/assets/icons/hackernews.png deleted file mode 100644 index da62487..0000000 Binary files a/assets/icons/hackernews.png and /dev/null differ diff --git a/assets/icons/huggingchat.png b/assets/icons/huggingchat.png new file mode 100644 index 0000000..4fdd210 Binary files /dev/null and b/assets/icons/huggingchat.png differ diff --git a/assets/icons/imdb.png b/assets/icons/imdb.png deleted file mode 100644 index 115c72c..0000000 Binary files a/assets/icons/imdb.png and /dev/null differ diff --git a/assets/icons/instagram.png b/assets/icons/instagram.png deleted file mode 100644 index e0d06ef..0000000 Binary files a/assets/icons/instagram.png and /dev/null differ diff --git a/assets/icons/lasthour.png b/assets/icons/lasthour.png new file mode 100644 index 0000000..cb27b16 Binary files /dev/null and b/assets/icons/lasthour.png differ diff --git a/assets/icons/linkedin.png b/assets/icons/linkedin.png deleted file mode 100644 index 19edf6b..0000000 Binary files a/assets/icons/linkedin.png and /dev/null differ diff --git a/assets/icons/mail.png b/assets/icons/mail.png index c709c45..d22ba60 100644 Binary files a/assets/icons/mail.png and b/assets/icons/mail.png differ diff --git a/assets/icons/mdn.png b/assets/icons/mdn.png deleted file mode 100644 index f791812..0000000 Binary files a/assets/icons/mdn.png and /dev/null differ diff --git a/assets/icons/meet.png b/assets/icons/meet.png new file mode 100644 index 0000000..3f71f37 Binary files /dev/null and b/assets/icons/meet.png differ diff --git a/assets/icons/netflix.png b/assets/icons/netflix.png deleted file mode 100644 index f2de734..0000000 Binary files a/assets/icons/netflix.png and /dev/null differ diff --git a/assets/icons/notion.png b/assets/icons/notion.png deleted file mode 100644 index f79dd26..0000000 Binary files a/assets/icons/notion.png and /dev/null differ diff --git a/assets/icons/projects.png b/assets/icons/projects.png new file mode 100644 index 0000000..1e69a86 Binary files /dev/null and b/assets/icons/projects.png differ diff --git a/assets/icons/reddit.png b/assets/icons/reddit.png deleted file mode 100644 index ce1ae8f..0000000 Binary files a/assets/icons/reddit.png and /dev/null differ diff --git a/assets/icons/share.png b/assets/icons/share.png new file mode 100644 index 0000000..9d46f67 Binary files /dev/null and b/assets/icons/share.png differ diff --git a/assets/icons/spotify.png b/assets/icons/spotify.png deleted file mode 100644 index ee10ab9..0000000 Binary files a/assets/icons/spotify.png and /dev/null differ diff --git a/assets/icons/status.png b/assets/icons/status.png new file mode 100644 index 0000000..4562790 Binary files /dev/null and b/assets/icons/status.png differ diff --git a/assets/icons/teknoseyir.png b/assets/icons/teknoseyir.png deleted file mode 100644 index 06a5b7c..0000000 Binary files a/assets/icons/teknoseyir.png and /dev/null differ diff --git a/assets/icons/telegram.png b/assets/icons/telegram.png deleted file mode 100644 index 80e78c6..0000000 Binary files a/assets/icons/telegram.png and /dev/null differ diff --git a/assets/icons/translate.png b/assets/icons/translate.png deleted file mode 100644 index 3d4b832..0000000 Binary files a/assets/icons/translate.png and /dev/null differ diff --git a/assets/icons/twitch.png b/assets/icons/twitch.png deleted file mode 100644 index e4dfd86..0000000 Binary files a/assets/icons/twitch.png and /dev/null differ diff --git a/assets/icons/twitter.png b/assets/icons/twitter.png deleted file mode 100644 index a6896e6..0000000 Binary files a/assets/icons/twitter.png and /dev/null differ diff --git a/assets/icons/vault.png b/assets/icons/vault.png new file mode 100644 index 0000000..9c38248 Binary files /dev/null and b/assets/icons/vault.png differ diff --git a/assets/icons/w3.png b/assets/icons/w3.png deleted file mode 100644 index ab0b9d2..0000000 Binary files a/assets/icons/w3.png and /dev/null differ diff --git a/assets/icons/whatsapp.png b/assets/icons/whatsapp.png deleted file mode 100644 index 6d11737..0000000 Binary files a/assets/icons/whatsapp.png and /dev/null differ diff --git a/assets/icons/youtube.png b/assets/icons/youtube.png deleted file mode 100644 index 6c839a2..0000000 Binary files a/assets/icons/youtube.png and /dev/null differ diff --git a/assets/screenshot.png b/assets/screenshot.png deleted file mode 100644 index b859906..0000000 Binary files a/assets/screenshot.png and /dev/null differ diff --git a/css/style.css b/css/style.css index ee9ae6d..bc510b3 100644 --- a/css/style.css +++ b/css/style.css @@ -72,11 +72,13 @@ textarea { margin: 0; /* 2 */ } button, -input { /* 1 */ +input { + /* 1 */ overflow: visible; } button, -select { /* 1 */ +select { + /* 1 */ text-transform: none; } button, @@ -150,11 +152,10 @@ template { /* == End of Normalize.css == */ - :root { /* colors */ - --background: #0E0E0E; - --foreground: #F1F1F1; + --background: #0e0e0e; + --foreground: #00bcf3; /* fonts */ --base-font-size: 18px; @@ -163,15 +164,16 @@ template { } @font-face { - font-family: 'Metropolis'; - src: local('Metropolis-Medium'), url('../assets/fonts/Metropolis-Medium.woff2'); + font-family: "Metropolis"; + src: local("Metropolis-Medium"), + url("../assets/fonts/Metropolis-Medium.woff2"); font-weight: 500; font-style: normal; } @font-face { - font-family: 'Metropolis'; - src: local('Metropolis-Bold'), url('../assets/fonts/Metropolis-Black.woff2'); + font-family: "Metropolis"; + src: local("Metropolis-Bold"), url("../assets/fonts/Metropolis-Black.woff2"); font-weight: 900; font-style: normal; } @@ -236,6 +238,7 @@ a:focus { .center { display: flex; + flex-direction: column; justify-content: center; align-items: center; width: 100%; @@ -251,15 +254,24 @@ a:focus { height: 100%; visibility: hidden; } - +.time-container { + display: flex; + place-content: center; + width: 90rem; /* adjust based on maximum length of the time unit */ + vertical-align: middle; +} .clock { display: block; - margin-top: -0.06rem; + margin: 10px; font-size: 4rem; font-weight: var(--font-weight-normal); text-align: center; letter-spacing: 0.05rem; cursor: pointer; + transition: color 0.5s; +} +.clock:hover { + color: white; } .am-pm { @@ -273,7 +285,7 @@ a:focus { z-index: 2; } -.search-form>div { +.search-form > div { width: 100%; } @@ -317,7 +329,7 @@ body.suggestions .search-suggestions { } .search-suggestion b::after { - content: ' '; + content: " "; position: absolute; right: 0; bottom: -0.3rem; @@ -380,7 +392,7 @@ body.suggestions .search-suggestions { } .command-name::after { - content: ' '; + content: " "; display: none; position: absolute; right: 0; @@ -409,14 +421,13 @@ body.form .search-form { } .disable-select { - user-select: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; + user-select: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; } - @media (min-width: 500px) { .help { display: flex; @@ -469,4 +480,4 @@ body.form .search-form { .categories { grid-template-columns: repeat(5, 220px) 175px; } -} \ No newline at end of file +} diff --git a/index.html b/index.html index 82cffea..34fbaf8 100644 --- a/index.html +++ b/index.html @@ -1,35 +1,47 @@ +
+ + + + +
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+