Spaces:
Running
Running
File size: 2,679 Bytes
8e5acae |
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 |
/* Global Styles */
* {
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
transition: all 0.3s ease;
}
body {
background-color: #f0f7ee;
color: #2c3e50;
margin: 0;
padding: 0;
}
/* Main container styling */
.main .block-container {
padding: 2rem;
max-width: 900px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Header styling */
h1 {
font-weight: 600 !important;
color: #2e7d32 !important;
margin-bottom: 2rem !important;
letter-spacing: 0.5px;
}
/* Input field styling */
.stTextInput input {
border: 2px solid #a8d5a2;
border-radius: 8px;
padding: 12px 15px;
background-color: white;
color: #333;
font-size: 16px;
box-shadow: none;
transition: all 0.3s;
}
.stTextInput input:focus {
border-color: #2e7d32;
box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}
/* Button styling */
button[kind="primary"] {
background-color: #2e7d32 !important;
color: white !important;
border: none !important;
border-radius: 8px !important;
padding: 8px 24px !important;
font-weight: 500 !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
margin-top: 12px !important;
margin-bottom: 20px !important;
}
button[kind="primary"]:hover {
background-color: #1b5e20 !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
transform: translateY(-1px);
}
button[kind="primary"]:active {
transform: translateY(1px);
}
/* Response section styling */
.stSubheader {
font-weight: 600;
color: #2e7d32;
margin-top: 30px;
border-bottom: 2px solid #d4e9d0;
padding-bottom: 8px;
}
/* Response text container */
.stText {
background-color: #f4f9f2;
border-left: 4px solid #a8d5a2;
padding: 16px;
border-radius: 0 8px 8px 0;
margin-top: 10px;
font-size: 16px;
line-height: 1.6;
}
/* Sidebar */
.st-emotion-cache-1cypcdb {
background-color: #f4f9f2;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f4f9f2;
}
::-webkit-scrollbar-thumb {
background: #a8d5a2;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #2e7d32;
}
/* Animation for loading */
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
.stSpinner > div {
animation: pulse 1.5s infinite ease-in-out;
background-color: #2e7d32 !important;
}
/* Footer styling */
footer {
margin-top: 40px;
text-align: center;
font-size: 12px;
color: #888;
} |