Add new theme

This commit is contained in:
Loic Guegan 2020-04-22 13:00:43 +02:00
parent 8af2dd60f5
commit 1d536ae3ff
6 changed files with 144 additions and 1 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@ build
##### Other
tests
*.swp

View file

@ -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>

View file

@ -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"
}
}

View file

@ -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;
}

View file

@ -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

BIN
gallery/hungry-hobo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB