annapurnapadmaprema-ji commited on
Commit
f53cc0e
·
verified ·
1 Parent(s): cde2b69

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +13 -2
style.css CHANGED
@@ -1,8 +1,19 @@
1
  .stApp {
2
- background: linear-gradient(to right, green, red);
3
  background-size: cover;
4
- background-position: center;
5
  height: 100vh;
6
  margin: 0;
7
  font-family: Arial, sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
 
1
  .stApp {
2
+ background: linear-gradient(to right, green, red); /* Gradient from green to red */
3
  background-size: cover;
 
4
  height: 100vh;
5
  margin: 0;
6
  font-family: Arial, sans-serif;
7
+ position: relative; /* To position the overlay */
8
+ }
9
+
10
+ .stApp::after {
11
+ content: "";
12
+ position: absolute;
13
+ top: 0;
14
+ left: 0;
15
+ width: 100%;
16
+ height: 100%;
17
+ background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
18
+ z-index: -1; /* Place the overlay behind the content */
19
  }