-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (79 loc) · 1.79 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
font-family: 'Roboto', Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100vh;
background-color: #e0f7fa;
animation: backgroundAnimation 10s infinite alternate;
color: #333; /* Improved text color for readability */
}
@keyframes backgroundAnimation {
0% { background-color: #e0f7fa; }
100% { background-color: #b3e5fc; }
}
header {
background-color: #0288d1;
color: #fff;
width: 100%;
padding: 1rem;
text-align: center;
animation: headerAnimation 5s infinite alternate;
}
@keyframes headerAnimation {
0% { background-color: #0288d1; }
100% { background-color: #0277bd; }
}
main {
text-align: center;
margin-top: 2rem;
}
footer {
background-color: #0288d1;
color: #fff;
width: 100%;
padding: 1rem;
text-align: center;
}
a {
color: #fff; /* Changed link color to white for better contrast */
text-decoration: none;
margin: 0 1rem;
transition: color 0.3s;
}
a:hover {
color: #fff; /* Keep the same color on hover */
text-decoration: none; /* Remove underline on hover */
}
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
margin-top: 1rem;
background-color: #0288d1;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #0277bd;
}
/* Media Queries for Mobile Responsiveness */
@media (max-width: 600px) {
body {
padding: 1rem;
}
header, footer {
padding: 0.5rem;
}
main {
margin-top: 1rem;
}
a {
margin: 0 0.5rem;
}
}