osheina commited on
Commit
9b60062
·
verified ·
1 Parent(s): 225e1c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -9
app.py CHANGED
@@ -14,16 +14,16 @@ st.set_page_config(
14
  st.markdown("""
15
  <style>
16
  body {
17
- background-image: url('https://images.unsplash.com/photo-1633113210877-2dbb0fd770f5?auto=format&fit=crop&w=1920&q=80');
18
  background-size: cover;
19
  background-attachment: fixed;
20
  background-position: center;
21
  font-family: 'Segoe UI', sans-serif;
22
- color: #333;
23
  animation: fade-in 2s ease-out;
24
  }
25
  .sidebar .sidebar-content {
26
- background-color: rgba(255, 255, 255, 0.75);
27
  padding: 1rem;
28
  border-radius: 16px;
29
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
@@ -32,7 +32,7 @@ body {
32
  .hero {
33
  text-align: center;
34
  padding: 5rem 2rem;
35
- background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(70,70,70,0.7));
36
  border-radius: 24px;
37
  color: white;
38
  margin-bottom: 3rem;
@@ -62,7 +62,7 @@ body {
62
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
63
  }
64
  .section {
65
- background: rgba(255, 255, 255, 0.85);
66
  border-radius: 20px;
67
  padding: 2.5rem;
68
  margin-bottom: 2.5rem;
@@ -72,18 +72,19 @@ body {
72
  }
73
  h3 {
74
  font-size: 1.8rem;
75
- color: #333;
76
  margin-bottom: 1rem;
77
  }
78
  ul, ol {
79
  font-size: 1.1em;
80
  line-height: 1.6;
 
81
  }
82
  .contact-block {
83
  text-align: center;
84
  padding: 3rem;
85
  border-radius: 20px;
86
- background: linear-gradient(to right, #00c6ff, #0072ff);
87
  color: white;
88
  margin-top: 3rem;
89
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
@@ -110,8 +111,8 @@ ul, ol {
110
  100% { transform: translateY(0); opacity: 1; }
111
  }
112
  @keyframes glow-text {
113
- from { text-shadow: 0 0 5px #fff, 0 0 10px #92faff, 0 0 20px #00ffe5; }
114
- to { text-shadow: 0 0 10px #fff, 0 0 20px #00f2ff, 0 0 30px #00f2ff; }
115
  }
116
  </style>
117
  """, unsafe_allow_html=True)
@@ -160,3 +161,4 @@ st.markdown("""
160
  """, unsafe_allow_html=True)
161
 
162
 
 
 
14
  st.markdown("""
15
  <style>
16
  body {
17
+ background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1920&q=80');
18
  background-size: cover;
19
  background-attachment: fixed;
20
  background-position: center;
21
  font-family: 'Segoe UI', sans-serif;
22
+ color: #222;
23
  animation: fade-in 2s ease-out;
24
  }
25
  .sidebar .sidebar-content {
26
+ background-color: rgba(255, 255, 255, 0.8);
27
  padding: 1rem;
28
  border-radius: 16px;
29
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
 
32
  .hero {
33
  text-align: center;
34
  padding: 5rem 2rem;
35
+ background: linear-gradient(135deg, #8e2de2, #4a00e0);
36
  border-radius: 24px;
37
  color: white;
38
  margin-bottom: 3rem;
 
62
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
63
  }
64
  .section {
65
+ background: rgba(255, 255, 255, 0.95);
66
  border-radius: 20px;
67
  padding: 2.5rem;
68
  margin-bottom: 2.5rem;
 
72
  }
73
  h3 {
74
  font-size: 1.8rem;
75
+ color: #2e2e2e;
76
  margin-bottom: 1rem;
77
  }
78
  ul, ol {
79
  font-size: 1.1em;
80
  line-height: 1.6;
81
+ color: #444;
82
  }
83
  .contact-block {
84
  text-align: center;
85
  padding: 3rem;
86
  border-radius: 20px;
87
+ background: linear-gradient(to right, #ff6a00, #ee0979);
88
  color: white;
89
  margin-top: 3rem;
90
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 
111
  100% { transform: translateY(0); opacity: 1; }
112
  }
113
  @keyframes glow-text {
114
+ from { text-shadow: 0 0 5px #fff, 0 0 10px #bca7ff, 0 0 20px #7e57ff; }
115
+ to { text-shadow: 0 0 10px #fff, 0 0 20px #b388ff, 0 0 30px #7e57ff; }
116
  }
117
  </style>
118
  """, unsafe_allow_html=True)
 
161
  """, unsafe_allow_html=True)
162
 
163
 
164
+