-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (91 loc) · 2 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #3482d6;
color: #ecf0f1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
position: relative;
}
h1 {
font-size: 3em;
margin-bottom: 20px;
color: #263647;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
text-align: center;
}
button {
background-color: #06aeb7;
color: white;
border: none;
padding: 15px 30px;
font-size: 1.2em;
border-radius: 50px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
button:hover {
background-color: #02747a;
transform: scale(1.05);
}
img {
max-width: 100%;
height: auto;
border: 5px solid #34495e;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-top: 20px;
width: 300px;
display: block;
transition: transform 0.2s ease, box-shadow 0.3s ease;
}
img:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
footer {
font-size: 0.9em;
color: #ecf0f1;
padding: 10px 0;
width: 100%;
text-align: center;
background-color: #2c3e50;
position: absolute;
bottom: 0;
}
a {
font-size: 0.9em;
color: #ecf0f1;
padding: 10px 0;
width: 100%;
text-align: center;
background-color: #2c3e50;
position: absolute;
bottom: 0;
}
head {
overflow: hidden; /* Ensure the roundness is applied */
}
@media (max-width: 768px) {
h1 {
font-size: 2em;
}
button {
padding: 10px 20px;
font-size: 1em;
}
img {
width: 100%;
}
footer {
font-size: 0.8em;
}
}