Last active
October 8, 2021 15:57
-
-
Save waimus/344eefb258607abb91bd5dda2bef4c04 to your computer and use it in GitHub Desktop.
Custom Firefox homepage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<style media="screen"> | |
body { | |
background-color: rgb(28,24,32); | |
background-image: url(./images/back-blur.webp); | |
background-size: cover; | |
background-position: center; | |
color: white; | |
font-family: sans-serif; | |
margin: auto; | |
height: 100%; | |
} | |
body::after { | |
border-top: 1px solid rgb(15,10,20); | |
padding-top: 30px; | |
position: absolute; | |
left: 1%; | |
right: 1%; | |
bottom: 40px; | |
text-align: center; | |
color: rgb(40,35,45); | |
content: "All I want to do is trade this life with something new, holding on to what I haven't got"; | |
} | |
a { | |
color: white; | |
font-weight:400; | |
text-decoration:none; | |
padding: 2px; | |
} | |
a::before { | |
font-family: monospace; | |
content:"-> "; | |
color: rgb(105,90,150); | |
margin-right: 5px; | |
} | |
a::selection { | |
background-color: rgb(65,55,90); | |
} | |
a:hover { | |
color: violet; | |
text-shadow: 0px 0px 8px purple; | |
} | |
.content { | |
background-color: rgb(25, 20, 50); | |
margin: 60px; | |
margin-left: 400px; | |
margin-right: 400px; | |
box-shadow: 0px 0px 20px 0px rgb(10,10,30); | |
border-radius: 10px; | |
} | |
.box-container { | |
box-shadow: inset 0px 0px 0px 1px rgb(50,50,100); | |
border: 1px solid black; | |
border-radius: 10px; | |
} | |
.title { | |
font-size: x-large; | |
padding-top: 20px; | |
padding-bottom: 25px; | |
border-bottom: 1px solid rgb(40,40,90); | |
display: flex; | |
} | |
.title::after { | |
font-family: monospace; | |
width: 100%; | |
align-self: center; | |
content:"~/.fox/home.html"; | |
position: relative; | |
top: 5px; | |
} | |
.searchbox { | |
margin: 30px | |
} | |
input { | |
color: rgb(210,200,255); | |
background-color: rgb(20, 15, 40); | |
border: 1px solid rgb(10,10,30); | |
box-shadow: 0px 0px 0px 1px rgb(50,50,100); | |
border-radius: 10px; | |
padding: 5px; | |
text-align: center; | |
vertical-align: middle; | |
resize: none; | |
width: 70%; | |
} | |
.links { | |
margin: 30px; | |
justify-content:space-around; | |
display: flex; | |
flex-direction: row; | |
} | |
.group { | |
display: flex; | |
flex-direction: column; | |
} | |
@media only screen and (max-width: 1080px) { | |
.content { | |
margin-left: 300px; | |
margin-right: 300px; | |
} | |
} | |
@media only screen and (max-width: 900px) { | |
.content { | |
margin: 40px; | |
margin-left: 40px; | |
margin-right: 40px; | |
} | |
} | |
</style> | |
<title>~/.mozilla</title> | |
</head> | |
<body> | |
<div class="content"> | |
<div class="box-container"> | |
<div class="title" align="center"> | |
</div> | |
<div class="searchbox" align="center"> | |
<input type="text" id="s1" name="search" placeholder="Search with DuckDuckGo" /> | |
<script type="text/javascript"> | |
var searchbar = document.getElementById("s1"); | |
var searchURL = "https://duckduckgo.com/?q="; | |
searchbar.addEventListener("keyup", function(event) { | |
if (event.keyCode === 13) { | |
event.preventDefault(); | |
location.href = searchURL + searchbar.value; | |
} | |
}); | |
</script> | |
</div> | |
<div class="links"> | |
<div class="group"> | |
<a href="https://searx.xyz/">Odker Alternative</a> | |
<a href="https://duckduckgo.com/">DuckDuckGo</a> | |
<a href="https://mastodon.online/">Mastodon</a> | |
<a href="https://twitter.com/">Twitter</a> | |
<a href="https://old.reddit.com/">Reddit</a> | |
<a href="https://github.com/">GitHub</a> | |
</div> | |
<div class="group"> | |
<a href="https://flathub.org">Flathub</a> | |
<a href="https://gamingonlinux.com">GamingOnLinux</a> | |
<a href="https://lemmy.ml/">Lemmy</a> | |
<a href="https://youtube.com/">YouTube</a> | |
<a href="https://mmtc.ac.id/">Student Profile</a> | |
<a href="https://classroom.google.com/">Classroom</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment