aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2020-04-22 13:00:43 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2020-04-22 13:00:43 +0200
commit1d536ae3ff7010e32e89c35c35175ddf127c62b3 (patch)
treecda2ea4c9b80195b0068a698687b097d266af411
parent8af2dd60f52794bfa6d793c14a6660fc60e82f56 (diff)
Add new theme
-rw-r--r--.gitignore1
-rw-r--r--bcst/themes/hungry-hobo/index.html26
-rw-r--r--bcst/themes/hungry-hobo/resources.json38
-rw-r--r--bcst/themes/hungry-hobo/style.css72
-rw-r--r--gallery/README.md8
-rw-r--r--gallery/hungry-hobo.jpgbin0 -> 67682 bytes
6 files changed, 144 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 67893d5..da00505 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ build
##### Other
tests
+*.swp \ No newline at end of file
diff --git a/bcst/themes/hungry-hobo/index.html b/bcst/themes/hungry-hobo/index.html
new file mode 100644
index 0000000..b052521
--- /dev/null
+++ b/bcst/themes/hungry-hobo/index.html
@@ -0,0 +1,26 @@
+<html>
+ <head>
+ <title>Home</title>
+ <link rel="stylesheet" type="text/css" href="style.css">
+ </head>
+ <body>
+ <br>
+ <h1>Hello</h1>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ {% for key, value in bookmarks.items() %}
+ <div class="all">
+ <div class="title" style="background-color: {{colors[key]}}"><h3>{{key}}</h3></div>
+ <div class="links">
+ {% for link_name, url in value.items() %}
+ <a href="{{url}}"><p>{{link_name}}</p></a>
+ {% endfor %}
+ </div>
+ </div>
+ {% endfor %}
+
+ </body>
+</html>
diff --git a/bcst/themes/hungry-hobo/resources.json b/bcst/themes/hungry-hobo/resources.json
new file mode 100644
index 0000000..f443328
--- /dev/null
+++ b/bcst/themes/hungry-hobo/resources.json
@@ -0,0 +1,38 @@
+{
+ "title": "Default Theme",
+ "bookmarks": {
+ "google": {
+ "google": "http://www.google.fr",
+ "youtube": "https://www.youtube.com/feed/subscriptions",
+ "drive":"https://drive.google.com/drive/my-drive",
+ "gmail":"https://mail.google.com/mail/u/0/#inbox",
+ "books":"https://play.google.com/books"
+ },
+ "reddit": {
+ "front":"https://www.reddit.com/",
+ "/r/linux":"https://www.reddit.com/r/linux/",
+ "/r/unixporn":"https://www.reddit.com/r/unixporn/",
+ "/r/FULLCOMMUNISM":"https://www.reddit.com/r/FULLCOMMUNISM/"
+ },
+ "programming": {
+ "github":"https://github.com/",
+ "codecademy":"https://www.codecademy.com/learn",
+ "stack overflow":"http://stackoverflow.com/"
+ },
+ "gaming": {
+ "steam":"http://store.steampowered.com/",
+ "gog":"https://www.gog.com/"
+ },
+ "linux": {
+ "archwiki":"https://wiki.archlinux.org/",
+ "aur":"https://aur.archlinux.org/"
+ }
+ },
+ "colors":{
+ "google": "#cc241d",
+ "reddit":"#458588",
+ "programming":"#689d6a",
+ "gaming": "#d65d0e",
+ "linux": "#98971a"
+ }
+}
diff --git a/bcst/themes/hungry-hobo/style.css b/bcst/themes/hungry-hobo/style.css
new file mode 100644
index 0000000..b53e9b1
--- /dev/null
+++ b/bcst/themes/hungry-hobo/style.css
@@ -0,0 +1,72 @@
+body {
+ background-color: #282828;
+ text-align: center;
+}
+
+h3 {
+ color: #ebdbb2;
+ font-family: 'Roboto Mono', monospace;
+}
+
+h1 {
+ font-family: 'Pacifico', cursive;
+ text-align: center;
+ color: #ebdbb2;
+ font-size: 90;
+}
+
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
+list {
+ text-align: center;
+ text-decoration: none;
+}
+
+.all {
+ display: inline-block;
+ vertical-align: top;
+ align-self: center;
+ margin-left: 1em;
+}
+
+.all:nth-child(1) {
+ margin-left: 0;
+}
+
+.title {
+ text-align: center;
+ width: 12em;
+}
+
+.google {
+ background-color: #cc241d;
+}
+
+.reddit {
+ background-color: #458588;
+}
+
+.programming {
+ background-color: #689d6a;
+}
+
+.gaming {
+ background-color: #d65d0e;
+}
+
+.linux {
+ background-color: #98971a;
+}
+
+.links {
+ text-align: center;
+ color: #282828;
+ font-family: 'Roboto Mono', monospace;
+ text-decoration: none;
+ font-weight: bold;
+ background-color: #ebdbb2;
+ width: 12em;
+}
diff --git a/gallery/README.md b/gallery/README.md
index b4d0fd8..7935b4e 100644
--- a/gallery/README.md
+++ b/gallery/README.md
@@ -4,4 +4,10 @@
![Default](default.jpg)
*Description*:
- Author: GaugeK
-- Url: [Repository](https://gitlab.com/GaugeK/startpage)
+- Url: https://gitlab.com/GaugeK/startpage
+
+### hungry-hobo
+![Hungry Hobo](hungry-hobo.jpg)
+*Description*:
+- Author: hungry-hobo
+- Url: https://github.com/Hungry-Hobo/Homepage
diff --git a/gallery/hungry-hobo.jpg b/gallery/hungry-hobo.jpg
new file mode 100644
index 0000000..7e1e5b2
--- /dev/null
+++ b/gallery/hungry-hobo.jpg
Binary files differ