first commit

This commit is contained in:
天クマ 2026-03-06 09:57:20 -03:00
commit 17b05f7749
4 changed files with 142 additions and 0 deletions

1
README.md Normal file
View file

@ -0,0 +1 @@
# garatujas

1
src/images/logo.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M400-160h160v-160H400v160ZM160-400h160v-160H160v160Zm240 0h160v-160H400v160Zm240 0h160v-160H640v160Zm0-240h160v-160H640v160ZM320-80v-240H80v-320h480v-240h320v560H640v240H320Z"/></svg>

After

Width:  |  Height:  |  Size: 299 B

42
src/index.html Normal file
View file

@ -0,0 +1,42 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Busca de Termos</title>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=crossword" />
</head>
<body>
<nav>
<img src="./images/logo.svg" id="logo">
<h1>Busca de Termos</h1>
<button>Busca</button>
<button>Banana</button>
</nav>
<main>
<h2>Pesquisa</h2>
<div id="search">
<input type="text" name="" id="" placeholder="Digite aqui os termos da pesquisa">
<button>Pesquisar</button>
</div>
<table>
<thead>
<tr>
<th>Termo</th>
<th>Sigla</th>
<th>Definição</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<tr>
<th>Teste</th>
<th>Teste</th>
<th>Teste</th>
<th>Teste</th>
</tr>
</tbody>
</table>
</main>
</body>
</html>

98
src/main.css Normal file
View file

@ -0,0 +1,98 @@
:root {
--accent: darkblue;
--accent-secondary: silver;
--accent-contrast: white;
--accent-complementary: whitesmoke;
--light-box-shadow: 1px 1px 1em rgba(0,0,0,0.6);
--x-light-box-shadow: 1px 1px 1em rgba(0,0,0,0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: grid;
grid-template-columns: 1fr 5fr;
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav {
background-color: var(--accent);
height: 100%;
display: flex;
flex-direction: column;
gap: 1em;
color: var(--accent-contrast);
box-shadow: var(--light-box-shadow)
}
nav h1 {
text-align: center;
}
nav button {
display: block;
border: none;
text-align: start;
font-size: large;
}
nav, main {
padding: 1rem;
}
button {
cursor: pointer;
border: none;
background-color: var(--accent);
color: var(--accent-contrast);
padding: .4em;
transition: .2s;
}
button:hover {
background-color: var(--accent-contrast);
color: var(--accent);
}
main {
display: flex;
flex-direction: column;
gap: 1em;
}
thead {
color: var(--accent);
}
#logo {
width: 80%;
margin: 0 auto;
}
#search {
box-shadow: var(--x-light-box-shadow);
display: flex;
width: 100%;
border: thick solid var(--accent);
border-radius: 4px;
}
#search input {
flex-grow: 1;
border: none;
padding: 1em;
background-color: var(--accent);
color: var(--accent-contrast);
transition: .4s;
}
#search input:focus {
outline: none;
background-color: var(--accent-contrast);
color: var(--accent);
}