-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
71 lines (64 loc) · 1.51 KB
/
index.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
html{
font-size: 10px;
}
.p{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
aspect-ratio: 1/1;
width: 20%;
padding: 1.5rem;
background-color:#225a9b67;
text-align: center;
border-radius: 0.5rem;
margin: 1.5rem;
box-shadow: 0 15px 35px rgba(0,0,0,0.2),0 5px 15px rgba(0,0,0,0.19);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p p{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: bold;
}
.p:hover{
transform: scale(1.01);
box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(0, 0, 0, 0.26);
}
.main{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
button {
display: inline-block;
padding: 1rem 2rem;
background: linear-gradient(to bottom, #2980b9, #45a049);
border: 1px solid #357934;
color: #fff;
text-align: center;
text-decoration: none;
border-radius: 0.5rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: background 0.3s, transform 0.2s;
}
button:hover {
background: linear-gradient(to bottom, #45a049, #2980b9);
transform: scale(1.05);
}
@media screen and (max-width: 768px) {
html{
font-size: 5px;
}
.p #info{
display: none;
}
h1{
font-size: 10px;
}
.p{
overflow: hidden;
}
}