Skip to content

Instantly share code, notes, and snippets.

@Nebelung-Dev
Created July 17, 2022 19:20
Show Gist options
  • Save Nebelung-Dev/2163df2baa237aa8c9c516bc5e828d3a to your computer and use it in GitHub Desktop.
Save Nebelung-Dev/2163df2baa237aa8c9c516bc5e828d3a to your computer and use it in GitHub Desktop.
TN Proxathon
<title>Proxathon</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<div class="header">
<img class="homelogo" src="">
</div>
<div class="hometitle">Proxathon</div>
<div class="omnibox">
<i class="searchicon fa-solid fa-magnifying-glass"></i>
<input autofocus class="search">
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
font-family: Roboto;
}
body {
margin: 0;
padding: 0;
background: #36393f;
}
.header {
height: 160px;
width: 100%;
background: transparent;
display: flex;
justify-content: center;
align-items: center;
}
.homelogo {
background: white;
border-radius: 50%;
height: 80px;
wdith: 80px;
/*Fix image error remove when real log*/
text-indent: -10000px;
}
.hometitle {
font-size: 64px;
text-align: center;
color: white;
font-weight: 700;
}
.omnibox {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 830px;
margin-right: auto;
margin-left: auto;
}
.search {
display: block;
margin-right: auto;
margin-left: auto;
outline: none;
border: none;
width: 830px;
height: 60px;
border-radius: 15px;
font-size: 30px;
box-shadow: 0 5px 10px -5px rgb(255 255 255 / 30%);
margin-top: 40px;
padding: 0 15px;
color: black;
padding-left: 50px;
}
.searchicon {
font-size: 30px;
position: absolute;
left: 10px;
height: 60px;
bottom: 0;
line-height: 60px;
width: 60px;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment