ayush2917 commited on
Commit
7596470
·
verified ·
1 Parent(s): 750ba83

Update static/css/home.css

Browse files
Files changed (1) hide show
  1. static/css/home.css +25 -67
static/css/home.css CHANGED
@@ -1,76 +1,34 @@
1
- .hero {
2
- text-align: center;
3
- padding: var(--space-xl) 0;
4
- background: linear-gradient(135deg, var(--krishna-purple), var(--krishna-blue));
5
- color: white;
6
- border-radius: var(--radius-lg);
7
- margin-bottom: var(--space-lg);
8
- position: relative;
9
- overflow: hidden;
10
  }
11
 
12
- .hero::before {
13
- content: '';
14
- position: absolute;
15
- top: 0;
16
- left: 0;
17
- width: 100%;
18
- height: 100%;
19
- background: url('../assets/krishna-pattern.png') center/cover;
20
- opacity: 0.1;
21
  }
22
 
23
- .hero h1 {
24
- font-size: 2.5rem;
25
- margin-bottom: var(--space-sm);
26
- position: relative;
27
- }
28
-
29
- .hero p {
30
- font-size: 1.2rem;
31
- max-width: 800px;
32
- margin: 0 auto var(--space-md);
33
- position: relative;
34
- }
35
-
36
- .features {
37
- display: grid;
38
- gap: var(--space-md);
39
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
40
- }
41
-
42
- .feature-card {
43
- background-color: var(--card-bg);
44
- border-radius: var(--radius-lg);
45
- padding: var(--space-md);
46
- transition: transform 0.3s ease;
47
- border: 1px solid rgba(0, 0, 0, 0.05);
48
- }
49
-
50
- .feature-card:hover {
51
- transform: translateY(-5px);
52
- box-shadow: var(--shadow-lg);
53
- }
54
-
55
- .feature-icon {
56
- font-size: 2.5rem;
57
- color: var(--krishna-yellow);
58
- margin-bottom: var(--space-sm);
59
  }
60
 
61
- .countdown {
62
- font-size: 1.5rem;
63
- font-weight: bold;
64
- color: var(--krishna-blue);
65
- text-align: center;
66
- margin: var(--space-lg) 0;
67
  }
68
 
69
- .countdown span {
70
- display: inline-block;
71
- padding: var(--space-xs) var(--space-sm);
72
- background-color: var(--krishna-yellow);
73
- color: var(--krishna-dark);
74
- border-radius: var(--radius-md);
75
- margin: 0 var(--space-xs);
76
  }
 
1
+ /* Cute styles for home page */
2
+ .home-container {
3
+ background: rgba(255, 255, 255, 0.8);
4
+ border-radius: 20px;
5
+ padding: 30px;
6
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
7
+ text-align: center;
 
 
8
  }
9
 
10
+ .daily-message, .daily-blessing, .daily-horoscope {
11
+ background: linear-gradient(to right, #FFD700, #FF69B4);
12
+ border: 2px dashed #1E90FF;
13
+ border-radius: 15px;
14
+ padding: 20px;
15
+ margin: 20px 0;
16
+ animation: fadeIn 1s ease-in;
 
 
17
  }
18
 
19
+ .countdown {
20
+ font-size: 2rem;
21
+ color: #FF8C00;
22
+ animation: bounce 2s infinite;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  }
24
 
25
+ @keyframes fadeIn {
26
+ from { opacity: 0; transform: translateY(20px); }
27
+ to { opacity: 1; transform: translateY(0); }
 
 
 
28
  }
29
 
30
+ @keyframes bounce {
31
+ 0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
32
+ 40% { transform: translateY(-10px); }
33
+ 60% { transform: translateY(-5px); }
 
 
 
34
  }