Add new theme

This commit is contained in:
Loic Guegan 2020-04-23 18:32:13 +02:00
parent 05aa6f8259
commit 8933627f6c
7 changed files with 148 additions and 0 deletions

BIN
bcst/themes/hrstv/book.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

View file

@ -0,0 +1,68 @@
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<meta name='description' content='A simple startpage, suited to my current Windows theme.' />
<meta name='author' content='Milen Hristov' />
<link rel='favicon' type='image/png' href='book.png' />
<title>{{ title }}</title>
<link rel='stylesheet' type='text/css' href='styles.css' />
</head>
<body>
<div id='content'>
<div id='bookmarks'>
{%- for key,value in bookmarks.items() %}
<h1>{{key}}</h1>
{% for link_name, url in value.items() -%}
<a href='{{url}}' class='button'>{{link_name}}</a>
{% endfor %}
{% if not loop.last %}
<br><br><br>
{%- endif -%}
{%- endfor -%}
</div>
<br><br><br><br>
<div id='clock'>
<script type='text/javascript'>
<!--
function init ( )
{
timeDisplay = document.createTextNode ( "" );
document.getElementById("clock").appendChild ( timeDisplay );
}
function updateClock ( )
{
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
var currentMinutes = currentTime.getMinutes ( );
var currentSeconds = currentTime.getSeconds ( );
currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
//currentHours = ( currentHours == 0 ) ? 12 : currentHours; - shows 12 instead of 0 at 12pm
// Compose the string for display
var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + timeOfDay;
document.getElementById("clock").firstChild.nodeValue = currentTimeString;
}
// -->
</script>
<body onload="updateClock(); setInterval('updateClock()', 1000 )">
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,33 @@
{
"title": "home page",
"bookmarks": {
"P r o d u c t i v i t y": {
"YesJapan":"http://yesjapan.com",
"StackExchange":"https://stackexchange.com/",
"StackOverflow":"http://stackoverflow.com/",
"SoftUni":"https://softuni.bg/",
"Judge":"https://judge.softuni.bg/",
"Slido":"http://sli.do",
"ssavr":"http://ssavr.com/",
"gmail":"https://gmail.com",
"calendar":"https://calendar.google.com/",
"gDocs":"http://docs.google.com/",
"gSheets":"https://docs.google.com/spreadsheets/u/0/",
"gPhotos":"https://photos.google.com/",
"Oriflame":"https://bg.oriflame.com/"
},
"R e c r e a t i o n": {
"YouTube":"https://www.youtube.com/feed/subscriptions/",
"BitChute":"https://www.bitchute.com/",
"myNoise":"https://mynoise.net/",
"cmd.to":"http://cmd.to/",
"Minds":"http://minds.com",
"reddit":"http://reddit.com",
"DA":"http://deviantart.com",
"ArtStation":"https://www.artstation.com/",
"chrono.gg":"https://www.chrono.gg/",
"Freakz":"https://www.wow-freakz.com/",
"Dalaran":"https://www.dalaran-wow.com/"
}
}
}

View file

@ -0,0 +1,41 @@
@font-face{font-family: VCR OSD MONO; src: url(vcrosdmono.ttf)}
body {
margin: 0;
color: #21566C;
background-color: #161515;
font-family: VCR OSD MONO,VCR OSD MONO;
font-size: 20px;
text-align: center;
}
#content #bookmarks {
margin: 1% auto 0;
width: 98%;
vertical-align:top
}
.button {
text-decoration: none;
background-color: #161515;
color: #40A6D0;
padding: 6px 12px 6px 12px;
border: 2px solid #40A6D0;
font-family: Calibri;
font-weight: 500;
font-size: 18pt;
line-height: 55px;
text-decoration: none;
}
.button:hover {
background-color: #40A6D0;
color: #161515;
text-decoration: overline;
}
#clock {
font-family: VCR OSD MONO;
font-size: 40pt;
color: #40A6D0;
}

Binary file not shown.

View file

@ -24,3 +24,9 @@
*Description*:
- Author: Qhungg289
- Url: https://github.com/qhungg289/startpage
### hrstv
![Hrstv](hrstv.jpg)
*Description*:
- Author: m_hrstv
- Url: https://www.reddit.com/r/startpages/comments/etzaih/my_first_attempt_at_creating_a_starpage_from/

BIN
gallery/hrstv.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB