forked from suryanshsk/Python-Voice-Assistant-Suryanshsk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
141 lines (123 loc) · 2.58 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
body {
background: linear-gradient(to right, #ffafbd, #ffc3a0);
color: #333;
}
/* Navigation Bar */
.nave ul {
background-color: #6200ea;
display: flex;
list-style: none;
justify-content: flex-end;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.nave a {
color: white;
padding: 10px 20px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
transition: color 0.3s, background-color 0.3s;
}
.nave a:hover {
background-color: #bb86fc;
color: #6200ea;
border-radius: 5px;
}
.logo {
font-size: 1.5rem;
margin-right: auto;
color: #ffeb3b;
font-family: 'Poppins', sans-serif;
letter-spacing: 1.5px;
}
/* Notice Section */
.A {
margin: 20px auto;
padding: 20px;
max-width: 80%;
border-radius: 15px;
background-color: #f9f871;
text-align: center;
border: 2px solid #ffd700;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.A h3 {
font-size: 1.4rem;
color: #333;
}
/* Content Section */
.B {
margin: 20px auto;
padding: 30px;
max-width: 80%;
background-color: #ffdfd3;
border: 2px solid #ff6f61;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
}
.B p {
font-size: 1.2rem;
color: #333;
}
/* Assistant Section */
#assistant {
background-color: #f0f4c3;
padding: 20px;
border: 2px solid #cddc39;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#animation {
width: 60px;
height: 60px;
background: radial-gradient(circle, #6200ea 10%, #bb86fc 40%, #03dac6 80%);
border-radius: 50%;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.3);
}
100% {
transform: scale(1);
}
}
#start-button {
margin-top: 20px;
padding: 10px 20px;
background-color: #6200ea;
color: white;
border: none;
border-radius: 10px;
font-size: 1.1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
#start-button:hover {
background-color: #3700b3;
}
/* Responsiveness */
@media (max-width: 768px) {
.A, .B {
margin: 10px;
padding: 20px;
}
#start-button {
font-size: 1rem;
}
}