ayush2917 commited on
Commit
da76de2
·
verified ·
1 Parent(s): 19714b2

Update static/css/styles.css

Browse files
Files changed (1) hide show
  1. static/css/styles.css +13 -37
static/css/styles.css CHANGED
@@ -2,7 +2,7 @@
2
  body {
3
  margin: 0;
4
  font-family: 'Comic Sans MS', 'Chalkduster', cursive;
5
- background: linear-gradient(135deg, #00CED1 0%, #FFD700 50%, #FF69B4 100%); /* Vibrant gradient */
6
  color: #333;
7
  overflow-x: hidden;
8
  position: relative;
@@ -20,40 +20,39 @@ body {
20
  .welcome {
21
  font-size: 3em;
22
  color: #FF4500; /* Bright orange for the welcome text */
23
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px #FFD700; /* Glowing effect */
24
- animation: glow 2s ease-in-out infinite alternate;
25
  }
26
 
27
- @keyframes glow {
28
- from {
29
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px #FFD700;
30
- }
31
- to {
32
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px #FF69B4;
33
- }
34
  }
35
 
36
  h2 {
37
  font-size: 1.5em;
38
  color: #FF1493; /* Deep pink */
39
- text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
 
40
  }
41
 
42
  .countdown, .daily-message, .daily-blessing, .daily-horoscope {
43
- background: rgba(255, 255, 255, 0.8);
44
  padding: 15px;
45
  margin: 10px 0;
46
  border-radius: 10px;
47
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 
48
  }
49
 
50
  .countdown p, .daily-message p, .daily-blessing p, .daily-horoscope p {
51
  margin: 0;
52
  font-size: 1.2em;
 
53
  }
54
 
55
  .special {
56
- background: rgba(255, 215, 0, 0.3); /* Gold tint for special messages */
57
  }
58
 
59
  .verse {
@@ -81,27 +80,4 @@ nav a {
81
 
82
  nav a:hover {
83
  color: #FF69B4; /* Pink on hover */
84
- }
85
-
86
- /* Particle container */
87
- #particles-js {
88
- position: fixed;
89
- top: 0;
90
- left: 0;
91
- width: 100%;
92
- height: 100%;
93
- z-index: 0;
94
- }
95
-
96
- /* Background image with flowers and hills */
97
- body::before {
98
- content: '';
99
- position: fixed;
100
- top: 0;
101
- left: 0;
102
- width: 100%;
103
- height: 100%;
104
- background: url('/static/assets/vrindavan-bg.jpg') no-repeat center center/cover;
105
- opacity: 0.3; /* Slight transparency to blend with gradient */
106
- z-index: -1;
107
  }
 
2
  body {
3
  margin: 0;
4
  font-family: 'Comic Sans MS', 'Chalkduster', cursive;
5
+ background: url('/static/assets/vrindavan-bg.jpg') no-repeat center center/cover; /* Use the edited image as background */
6
  color: #333;
7
  overflow-x: hidden;
8
  position: relative;
 
20
  .welcome {
21
  font-size: 3em;
22
  color: #FF4500; /* Bright orange for the welcome text */
23
+ text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8); /* White shadow for readability */
24
+ animation: fadeIn 2s ease-in-out;
25
  }
26
 
27
+ @keyframes fadeIn {
28
+ 0% { opacity: 0; transform: translateY(-20px); }
29
+ 100% { opacity: 1; transform: translateY(0); }
 
 
 
 
30
  }
31
 
32
  h2 {
33
  font-size: 1.5em;
34
  color: #FF1493; /* Deep pink */
35
+ text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
36
+ animation: fadeIn 2s ease-in-out 0.5s;
37
  }
38
 
39
  .countdown, .daily-message, .daily-blessing, .daily-horoscope {
40
+ background: rgba(255, 255, 255, 0.9); /* Slightly more opaque for readability */
41
  padding: 15px;
42
  margin: 10px 0;
43
  border-radius: 10px;
44
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
45
+ animation: fadeIn 2s ease-in-out 1s;
46
  }
47
 
48
  .countdown p, .daily-message p, .daily-blessing p, .daily-horoscope p {
49
  margin: 0;
50
  font-size: 1.2em;
51
+ color: #333;
52
  }
53
 
54
  .special {
55
+ background: rgba(255, 215, 0, 0.5); /* Gold tint for special messages */
56
  }
57
 
58
  .verse {
 
80
 
81
  nav a:hover {
82
  color: #FF69B4; /* Pink on hover */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  }