Update style.css
Browse files
style.css
CHANGED
@@ -1,120 +1,113 @@
|
|
1 |
-
/*
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
-
box-sizing: border-box;
|
6 |
}
|
7 |
|
8 |
-
/*
|
9 |
-
|
10 |
-
background:
|
11 |
-
|
12 |
-
font-family: 'Georgia', serif;
|
13 |
-
color: #ffffff;
|
14 |
padding: 20px;
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
height: 100vh;
|
19 |
}
|
20 |
|
21 |
-
/*
|
22 |
-
.
|
23 |
-
background:
|
24 |
-
|
25 |
-
|
26 |
-
backdrop-filter: blur(10px); /* Blur effect for glassmorphism */
|
27 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
|
28 |
-
border: 1px solid rgba(255, 255, 255, 0.2); /* Slight white border */
|
29 |
}
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
font-size: 3rem;
|
34 |
-
text-align: center;
|
35 |
-
color: #ffffff;
|
36 |
-
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
|
37 |
}
|
38 |
|
39 |
-
/*
|
40 |
-
|
41 |
-
|
42 |
-
color: #ffffff;
|
43 |
text-align: center;
|
44 |
-
|
|
|
|
|
45 |
}
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
font-size: 1.2rem;
|
50 |
-
color: #ffffff;
|
51 |
-
text-align: center;
|
52 |
-
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
|
53 |
}
|
54 |
|
55 |
-
/*
|
56 |
-
.
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
color: white;
|
60 |
-
padding:
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
font-size: 16px;
|
65 |
-
margin: 10px 5px;
|
66 |
cursor: pointer;
|
67 |
-
|
68 |
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Soft, deep shadow for antique feel */
|
69 |
-
font-family: 'Georgia', serif; /* Classic serif font for the button */
|
70 |
-
text-transform: uppercase; /* Uppercase text for a formal touch */
|
71 |
}
|
72 |
|
73 |
-
.stButton
|
74 |
-
background:
|
75 |
-
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow for depth on hover */
|
76 |
-
transform: translateY(-2px); /* Lift effect */
|
77 |
}
|
78 |
|
79 |
-
/*
|
80 |
-
.
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
84 |
}
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
93 |
-
margin: 20px 0;
|
94 |
}
|
95 |
|
96 |
-
/*
|
97 |
-
.
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
}
|
104 |
|
105 |
-
.
|
106 |
-
|
107 |
-
padding: 10px;
|
108 |
-
border-radius: 10px;
|
109 |
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
110 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
111 |
-
color: #fff;
|
112 |
}
|
113 |
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
120 |
}
|
|
|
1 |
+
/* General Styling */
|
2 |
+
body {
|
3 |
+
background: url('https://i.postimg.cc/zBX9cDZy/bmw-german-luxury-cars-brands-black-shiny-fast-car-in-a-misty-fog-01-11-2024-1730444676-hd-wallpaper.jpg
|
4 |
+
') no-repeat center center fixed; /* Set background image */
|
5 |
+
background-size: cover; /* Ensure the image covers the entire page */
|
6 |
+
font-family: 'Arial', sans-serif; /* Font for the entire app */
|
7 |
+
color: #333; /* Text color */
|
8 |
margin: 0;
|
9 |
padding: 0;
|
|
|
10 |
}
|
11 |
|
12 |
+
/* Title Section */
|
13 |
+
.stApp .stTitle {
|
14 |
+
background-color: rgba(76, 175, 80, 0.7); /* Semi-transparent background for the title */
|
15 |
+
color: white; /* White text color */
|
|
|
|
|
16 |
padding: 20px;
|
17 |
+
text-align: center;
|
18 |
+
font-size: 2.5rem;
|
19 |
+
border-bottom: 2px solid #ddd;
|
|
|
20 |
}
|
21 |
|
22 |
+
/* Sidebar Styling */
|
23 |
+
.stSidebar {
|
24 |
+
background-color: #ffffff; /* White background for the sidebar */
|
25 |
+
padding: 10px;
|
26 |
+
border-right: 1px solid #ddd; /* Border for separation */
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
+
.stSidebar .stSlider {
|
30 |
+
background-color: #fafafa;
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
+
/* File Upload Section */
|
34 |
+
.stFileUploader {
|
35 |
+
margin: 20px;
|
|
|
36 |
text-align: center;
|
37 |
+
padding: 20px;
|
38 |
+
background-color: rgba(244, 244, 244, 0.8); /* Slightly transparent background */
|
39 |
+
border: 2px dashed #ddd; /* Dashed border for the file upload section */
|
40 |
}
|
41 |
|
42 |
+
.stFileUploader input[type="file"] {
|
43 |
+
margin-top: 10px;
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
+
/* Image and Video Display */
|
47 |
+
.stImage, .stVideo {
|
48 |
+
display: block;
|
49 |
+
margin: 20px auto;
|
50 |
+
max-width: 100%;
|
51 |
+
border: 2px solid #ddd; /* Border around the displayed images/videos */
|
52 |
+
border-radius: 10px;
|
53 |
+
}
|
54 |
+
|
55 |
+
.stImage img, .stVideo video {
|
56 |
+
max-width: 100%;
|
57 |
+
height: auto;
|
58 |
+
}
|
59 |
+
|
60 |
+
/* Buttons */
|
61 |
+
.stButton, .stDownloadButton {
|
62 |
+
background-color: #4CAF50; /* Green background for buttons */
|
63 |
color: white;
|
64 |
+
padding: 10px 20px;
|
65 |
+
font-size: 1rem;
|
66 |
+
border-radius: 5px;
|
67 |
+
border: none;
|
|
|
|
|
68 |
cursor: pointer;
|
69 |
+
transition: background-color 0.3s ease;
|
|
|
|
|
|
|
70 |
}
|
71 |
|
72 |
+
.stButton:hover, .stDownloadButton:hover {
|
73 |
+
background-color: #45a049; /* Darker green on hover */
|
|
|
|
|
74 |
}
|
75 |
|
76 |
+
/* Success and Info Messages */
|
77 |
+
.stInfo {
|
78 |
+
background-color: #2196F3; /* Blue background for info messages */
|
79 |
+
color: white;
|
80 |
+
padding: 10px;
|
81 |
+
border-radius: 5px;
|
82 |
+
margin-top: 20px;
|
83 |
}
|
84 |
|
85 |
+
.stWarning {
|
86 |
+
background-color: #ff9800; /* Orange background for warnings */
|
87 |
+
color: white;
|
88 |
+
padding: 10px;
|
89 |
+
border-radius: 5px;
|
90 |
+
margin-top: 20px;
|
|
|
|
|
91 |
}
|
92 |
|
93 |
+
/* Styling the download button with an icon */
|
94 |
+
.stDownloadButton {
|
95 |
+
display: inline-flex;
|
96 |
+
align-items: center;
|
97 |
+
justify-content: center;
|
98 |
+
font-size: 1rem;
|
99 |
+
padding: 10px 20px;
|
100 |
}
|
101 |
|
102 |
+
.stDownloadButton svg {
|
103 |
+
margin-right: 10px;
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
|
106 |
+
/* Styling for the Footer */
|
107 |
+
footer {
|
108 |
+
text-align: center;
|
109 |
+
padding: 10px;
|
110 |
+
background-color: #4CAF50;
|
111 |
+
color: white;
|
112 |
+
font-size: 1rem;
|
113 |
}
|