mirror of
https://github.com/acedanger/pokemon.git
synced 2025-12-05 22:50:13 -08:00
chore: update dependencies and add new features
- Added Font Awesome and Annyang for enhanced UI and voice recognition capabilities. - Updated package.json to include new dependencies: @fortawesome/fontawesome-free, annyang, and wrangler. - Modified postcss.config.js for proper syntax. - Updated style.css to include Font Awesome styles and added new styles for voice search button and footer. - Adjusted tailwind.config.js to scan all relevant files for dynamic classes. - Added VSCode settings to ignore unknown at-rules in CSS, SCSS, and LESS. - Created a Caddyfile for server configuration with basic settings.
This commit is contained in:
38
style.css
38
style.css
@@ -1,3 +1,4 @@
|
||||
@import "/node_modules/@fortawesome/fontawesome-free/css/all.min.css";
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@@ -39,3 +40,40 @@
|
||||
body {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.relative.flex-grow {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#voiceSearchButton {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0.75rem; /* Matches pr-3 */
|
||||
transform: translateY(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center; /* Ensure proper centering */
|
||||
height: 100%; /* Match the input field height */
|
||||
color: #6b7280; /* Matches text-gray-500 */
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
#voiceSearchButton:hover {
|
||||
color: #2563eb; /* Matches hover:text-blue-600 */
|
||||
}
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user