Compare commits

..

3 Commits

Author SHA1 Message Date
Hazel Noack
636fa83478 implemented search 2025-07-02 14:00:54 +02:00
Hazel Noack
197be89334 layed out girljuice newtab 2025-07-02 13:45:25 +02:00
Hazel Noack
3b299c18ba page layout 2025-07-02 12:51:40 +02:00
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# trans new tab page
https://diyhrt.market/api/

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

57
frontend/assets/style.css Normal file
View File

@ -0,0 +1,57 @@
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
padding: 5em;
padding-left: auto;
padding-right: auto;
background-color: pink;
display: flex;
align-items: center;
justify-content: center;
}
.search-grid {
margin-top: -10em;
width: 40em;
height: 30em;
display: grid;
gap: 5em;
grid-template-rows: 10em 4em;
}
.search {
grid-row: 2;
grid-column: 1 / span 2;
}
.search-logo {
grid-row: 1;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
color: black;
}
.search-logo img {
height: 100%;
}
.grid-item {
background-color: lightblue;
padding: 1em;
border-radius: .5em;
}

20
frontend/index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NewTab</title>
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body>
<form class="search-grid" action="https://duckduckgo.com/">
<div class="search-logo">
<img als="girl_juice" src="assets/girl_juice.png" />
<h2>GirlJuice.Inject()</h2>
<img als="girl_juice" src="assets/girl_juice.png" />
</div>
<input name="q" type="text" class="grid-item" class="search" placeholder="Search DuckDuckGo :3 :3 :3" />
</form>
</body>
</html>