Emotion-detect / static /css /style.css
ShamsKhan404's picture
Update static/css/style.css
9118deb verified
raw
history blame
1.69 kB
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: Arial, sans-serif;
background-color: #f4f7f6;
color: #333;
text-align: center;
}
/* Navbar Styling */
.navbar {
background-color: #2c3e50;
padding: 10px;
}
.nav-links a {
color: white;
text-decoration: none;
font-size: 16px;
}
.nav-links a:hover {
text-decoration: underline;
}
/* Main Form Container */
.form-result-container {
max-width: 600px;
margin: 50px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2rem;
color: #2c3e50;
margin-bottom: 20px;
}
/* Input Field and Button */
.input-field {
margin: 20px 0;
text-align: left;
}
label {
font-size: 16px;
font-weight: bold;
color: #2c3e50;
}
input[type="file"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
}
button {
background-color: #3498db;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
/* Result Section */
.result-container {
margin-top: 30px;
}
.image-box {
margin-bottom: 20px;
}
.result-image {
width: 100%;
max-width: 400px;
height: auto;
border-radius: 8px;
}
h2 {
font-size: 1.5rem;
color: #2c3e50;
font-weight: normal;
}
.positive {
color: green;
font-weight: bold;
}
.negative {
color: red;
font-weight: bold;
}