File size: 3,139 Bytes
0ea56ae |
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 |
/* Base resets */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #0d1117; /* GitHub dark background */
color: #c9d1d9; /* Light text color */
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* Header */
header {
text-align: center;
margin-top: 20px;
margin-bottom: 30px;
}
header h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 5px;
}
header p {
font-size: 1.1rem;
color: #8b949e;
}
/* Container Card */
.container {
background: #161b22; /* dark card background */
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
width: 100%;
max-width: 600px;
margin-bottom: 30px;
}
/* Form Styles */
form label {
display: block;
margin-bottom: 0.5rem;
font-size: 1.1rem;
font-weight: 500;
}
form input[type="text"] {
width: 100%;
padding: 0.75rem;
border: 1px solid #30363d;
border-radius: 4px;
background: #0d1117;
color: #c9d1d9;
margin-bottom: 1rem;
font-size: 1rem;
}
form input[type="text"]::placeholder {
color: #8b949e;
}
form button {
width: 100%;
padding: 0.75rem;
background-color: #238636; /* GitHub accent green */
color: #ffffff;
border: none;
border-radius: 4px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
}
form button:hover {
background-color: #2ea043;
}
/* Button Link on Result Page */
a.btn {
display: block; /* Make it block level */
width: fit-content; /* Shrink wrap the button */
padding: 0.75rem 1rem;
background-color: #238636;
color: #ffffff;
border-radius: 4px;
text-decoration: none;
font-size: 1.1rem;
font-weight: 600;
transition: background 0.3s ease;
margin: 20px auto 0 auto; /* Center the button and add top margin */
}
a.btn:hover {
background-color: #2ea043;
}
/* Error Message */
.error {
color: #f85149;
font-size: 1.1rem;
margin-bottom: 1rem;
}
/* Loading Overlay Styles */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(13, 17, 23, 0.95);
z-index: 9999;
display: none; /* Hidden by default */
flex-direction: column;
align-items: center;
justify-content: center;
}
.loading-overlay p {
margin-top: 1rem;
font-size: 1.2rem;
color: #c9d1d9;
}
/* Spinner Animation */
.spinner {
border: 8px solid rgba(255, 255, 255, 0.2);
border-top: 8px solid #58a6ff;
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 1.5s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
|