File size: 3,505 Bytes
0527ba9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 |
.search-page {
background-color: #121212;
color: #ffffff;
min-height: 85vh;
transition: background-color 0.3s ease;
font-family: "Signika", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-variation-settings: "GRAD" 0;
}
/* Search container styles */
.search-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
transition: transform 0.3s ease;
}
/* Input field styling with animation */
.search-input {
width: 100%;
max-width: 600px;
padding: 10px;
font-size: 16px;
border: 1px solid #444;
border-radius: 5px;
background-color: #1e1e1e;
color: #ffffff;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-input:focus {
outline: none;
border-color: #ff6f00;
box-shadow: 0 0 8px rgba(255, 111, 0, 0.6);
transform: scale(1.02);
}
/* Loading indicator animation */
.loading-indicator {
margin-top: 10px;
font-size: 18px;
color: #ff6f00;
opacity: 0;
animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Error message styling */
.error-message {
color: #ff6f00;
text-align: center;
margin-top: 20px;
animation: bounce 1s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-10px);
}
60% {
transform: translateY(-5px);
}
}
/* Results container styles */
.results-container {
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
/* Results section styles */
.results-section {
width: 100%;
max-width: 800px;
margin-bottom: 20px;
transition: opacity 0.3s ease;
}
.results-section h2 {
font-size: 24px;
border-bottom: 2px solid #444;
padding-bottom: 10px;
margin-bottom: 15px;
color: #ff6f00;
animation: fadeIn 1s ease;
}
/* Results list styles */
.results-list {
list-style-type: none;
padding: 0;
}
.result-item {
background-color: #1e1e1e;
border: 1px solid #444;
border-radius: 5px;
margin-bottom: 10px;
padding: 10px;
transition: background-color 0.3s ease, transform 0.3s ease;
animation: slideIn 0.5s ease;
}
@keyframes slideIn {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.result-item:hover {
background-color: #333;
transform: scale(1.02);
}
/* Link styling */
.result-link {
text-decoration: none;
color: #ffffff;
font-size: 18px;
transition: color 0.3s ease;
}
.result-link:hover {
text-decoration: underline;
color: #ff6f00;
}
/* Handle animations on page load */
@keyframes pageLoad {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.search-page {
animation: pageLoad 1s ease;
}
/* Loading indicator styles */
.loading-indicator {
display: flex;
align-items: center;
margin-top: 20px;
font-size: 18px;
color: #ff6f00;
}
.loading-indicator .spinner {
width: 20px;
height: 20px;
border: 4px solid #ff6f00;
border-top: 4px solid transparent;
border-radius: 50%;
margin-right: 10px;
animation: spin 1s linear infinite;
}
/* Spinner animation */
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
|