www.ThumeIT/html/styles.css
tfaour ea2c3e355a
Some checks failed
Build and test / Explore-Gitea-Actions (push) Failing after 3s
Update for mobile devices.
2025-03-29 08:43:45 -04:00

140 lines
2.5 KiB
CSS

/* General Reset */
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
transition: background-color 0.5s, color 0.5s;
}
/* Dark Mode Settings */
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #ffffff;
}
.search-bar, .go-button {
background-color: #333;
color: #fff;
border: 1px solid #555;
}
.search-bar::placeholder {
color: #aaa;
}
}
/* Light Mode Settings */
@media (prefers-color-scheme: light) {
body {
background-color: #f5f5f5;
color: #333;
}
.search-bar, .go-button {
background-color: #fff;
color: #333;
border: 1px solid #ccc;
}
.search-bar::placeholder {
color: #666;
}
}
/* Container Styling */
.container {
text-align: center;
}
h1 {
font-size: 3rem;
margin-bottom: 2rem;
}
/* Search Bar Styling */
.search-form {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}
.search-bar {
padding: 0.8rem;
width: 280px;
display: flex;
border-radius: 4px;
font-size: 1rem;
transition: background-color 0.3s, color 0.3s;
}
.search-bar:hover{
border-color: blue;
}
/* Go Button Styling */
.go-button {
padding: 0.8rem 1.5rem;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
.go-button:hover {
transform: scale(1.05);
background-color: #3030f0
}
.ThumeIT {
transition: transform 0.3s;
}
.ThumeIT:hover {
transform: scale(2);
}
/* Floating Buttons */
.floating-buttons {
position: relative;
top: -30px;
left: 50%;
justify-content: center;
transform: translateX(-50%);
display: flex;
gap: 0.58rem;
z-index: 1000;
}
.icon-button {
width: 65px;
height: 65px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
#background-color: rgba(0, 0, 0, 0.7);
transition: transform 0.4s ease, background-color 0.4s ease;
}
.icon-button:hover {
transform: scale(1.2);
background-color: rgba(255, 255, 255, 0.2);
}
.icon-button img {
width: 60%;
height: 60%;
border-radius: 30%;
}
@media (max-width: 600px) {
.icon-button {
width: 20px; /* Shrink icons for smaller screens */
}
.floating-buttons {
flex-wrap: wrap;
}
}