174 lines
3.6 KiB
HTML
174 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<!-- startpage - Minimal JS/PHP free startpage with Pywal and wallpaper integration
|
|
https://git.speedie.site/speedie/startpage
|
|
|
|
See README.md for more information.
|
|
|
|
Licensed under CC-BY-SA.
|
|
Code is licensed under GNU GPLv3
|
|
!-->
|
|
<html>
|
|
<head>
|
|
<title>home://</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
|
|
body, html {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: selfont;
|
|
src: url(font.ttf);
|
|
}
|
|
|
|
* {
|
|
font-family: selfont, sans-serif;
|
|
font-weight: normal;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a {
|
|
color: #e0ffff;
|
|
}
|
|
|
|
h1 {
|
|
color: #ffffff;
|
|
}
|
|
|
|
p {
|
|
color: #bbbbbb;
|
|
}
|
|
|
|
.image {
|
|
/* the image used. this file should be created by speedwm-swal or similar. */
|
|
background-image: url("img/wallpaper");
|
|
|
|
/* blur the page */
|
|
filter: blur(8px);
|
|
-webkit-filter: blur(8px);
|
|
|
|
/* height = full image */
|
|
height: 100%;
|
|
|
|
/* center the image */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
/* position header text in the middle */
|
|
.header {
|
|
background-color: rgba(0,0,0, 0.4); /* background color */
|
|
color: white; /* text color */
|
|
font-weight: bold; /* use bold text */
|
|
border: 0px; /* no border */
|
|
position: absolute;
|
|
border-radius: 25px;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 2;
|
|
width: 80%;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* left text stack */
|
|
.leftstack {
|
|
text-align: left;
|
|
display: inline-block;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/* middle text stack */
|
|
.midstack {
|
|
text-align: center;
|
|
display: inline-block;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/* right text stack */
|
|
.rightstack {
|
|
text-align: right;
|
|
display: inline-block;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/* search bar */
|
|
input[type=search] {
|
|
-webkit-box-shadow: 0 0 0px 1000px #222222 inset;
|
|
-webkit-text-fill-color: #e0ffff !important;
|
|
box-sizing: border-box;
|
|
border: 0px;
|
|
border-radius: 20px;
|
|
width: 50%;
|
|
font-size: 15px;
|
|
transition: width 0.4s ease-in-out;
|
|
}
|
|
|
|
/* search div */
|
|
.search {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
</style>
|
|
<link rel="stylesheet" href="fontcol.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="image"></div>
|
|
|
|
<div class="header">
|
|
<h1 style="font-size:50px">home://</h1>
|
|
|
|
<!-- You can have as many paragraphs in the stack as you want.
|
|
|
|
To add more stacks, copy paste one of these along with the css and change the class.
|
|
|
|
Left stack
|
|
--!>
|
|
<div class="leftstack">
|
|
<p>web://</p>
|
|
|
|
<p><a href="https://speedie.site">Link 1</a></p>
|
|
<p><a href="https://speedie.site">Link 2</a></p>
|
|
<p><a href="https://speedie.site">Link 3</a></p>
|
|
</div>
|
|
|
|
<!-- Middle stack --!>
|
|
<div class="midstack">
|
|
<p>code://</p>
|
|
|
|
<p><a href="https://speedie.site">Link 4</a></p>
|
|
<p><a href="https://speedie.site">Link 5</a></p>
|
|
<p><a href="https://speedie.site">Link 6</a></p>
|
|
</div>
|
|
|
|
<!-- Right stack --!>
|
|
<div class="rightstack">
|
|
<p>wiki://</p>
|
|
|
|
<p><a href="https://speedie.site">Link 7</a></p>
|
|
<p><a href="https://speedie.site">Link 8</a></p>
|
|
<p><a href="https://speedie.site">Link 9</a></p>
|
|
</div>
|
|
|
|
<!-- Search - To change the search engine, set action in the <form> !-->
|
|
<div class="search">
|
|
<form method="POST" action="http://localhost:8888/search">
|
|
<input type="search" autofocus="" name="q" placeholder="search with searx..." aria-label="" autocomplete="off" value="" accesskey="s">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|