-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (78 loc) · 1.96 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
/* Import the Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
color: #212529;
display: flex;
flex-direction: column;
min-height: 100vh;
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
header {
background-color: #222831;
color: #f8f9fa;
text-align: center;
padding: 1.5rem 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
letter-spacing: 0.05rem;
animation: fadeIn 1s ease-in-out;
}
main {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.container {
text-align: center;
background: linear-gradient(145deg, #ffffff, #e6e6e6);
padding: 2.5rem;
border-radius: 1rem;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
animation: fadeInUp 1s ease-in-out;
}
.container:hover {
transform: translateY(-5px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.1);
}
#ip-address {
font-size: 1.5rem;
color: #007bff; /* Blue color for IP address */
margin: 1.5rem 0;
font-weight: 500;
animation: fadeIn 1s ease-in-out;
}
footer {
background-color: #222831;
color: #f8f9fa;
text-align: center;
padding: 1rem 0;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
animation: fadeIn 1s ease-in-out;
}
footer p {
margin: 0;
font-size: 1rem;
font-weight: 500;
}
/* Animations */
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fadeInUp {
0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }
}