Sourudra commited on
Commit
e17d945
·
verified ·
1 Parent(s): 5d041c5

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +120 -0
style.css ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Basic Reset */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ /* Body and overall background */
9
+ body {
10
+ background: url('https://your-image-url.jpg') no-repeat center center fixed;
11
+ background-size: cover;
12
+ font-family: 'Georgia', serif;
13
+ color: #ffffff;
14
+ padding: 20px;
15
+ display: flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ height: 100vh;
19
+ }
20
+
21
+ /* Glassmorphism effect */
22
+ .glass {
23
+ background: rgba(255, 255, 255, 0.1); /* Transparent white background */
24
+ border-radius: 15px;
25
+ padding: 20px;
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
+ /* Styling headers */
32
+ h1 {
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
+ /* For smaller headings */
40
+ h2, h3 {
41
+ font-size: 1.5rem;
42
+ color: #ffffff;
43
+ text-align: center;
44
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
45
+ }
46
+
47
+ /* Paragraph styling */
48
+ p {
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
+ /* Button Styling for Detect License Plate */
56
+ .stButton > button {
57
+ background: linear-gradient(135deg, #8B5E3C, #B8860B); /* Warm vintage gold-brown gradient */
58
+ border: none;
59
+ color: white;
60
+ padding: 12px 24px;
61
+ text-align: center;
62
+ text-decoration: none;
63
+ display: inline-block;
64
+ font-size: 16px;
65
+ margin: 10px 5px;
66
+ cursor: pointer;
67
+ border-radius: 12px; /* Rounded corners for a soft vintage touch */
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 > button:hover {
74
+ background: linear-gradient(135deg, #704214, #B8860B); /* Slightly darker gold-brown */
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
+ /* Center the content on the page */
80
+ .stApp {
81
+ width: 100%;
82
+ max-width: 1200px;
83
+ margin: 0 auto;
84
+ }
85
+
86
+ /* Style the file uploader */
87
+ .stFileUploader {
88
+ background-color: rgba(255, 255, 255, 0.3);
89
+ border: 2px dashed rgba(255, 255, 255, 0.7);
90
+ padding: 20px;
91
+ border-radius: 12px;
92
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
93
+ margin: 20px 0;
94
+ }
95
+
96
+ /* Custom input fields and image container */
97
+ .stImage {
98
+ width: 100%;
99
+ max-width: 1000px;
100
+ display: block;
101
+ margin: 20px auto;
102
+ border-radius: 12px;
103
+ }
104
+
105
+ .stTextInput {
106
+ background: rgba(255, 255, 255, 0.1);
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
+ .stTextInput input {
115
+ background: transparent;
116
+ color: #ffffff;
117
+ border: none;
118
+ outline: none;
119
+ font-size: 16px;
120
+ }