-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (68 loc) · 1.6 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
body {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background: url('./Negary.png');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
color:rgb(252, 215, 167);
}
header {
color:rgb(252, 215, 167);
}
main {
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(3,1fr);
}
.box {
min-width: 145px;
min-height: 145px;
border: 0.1rem solid rgb(235, 0, 0);
display: grid;
place-items: center;
font-size: 3rem;
background-color: rgba(250, 235, 215, 0.486);
transition: background-color 0.5s;
}
.box:hover {
background-color: rgba(248, 224, 192, 0.637);
}
.para {
text-align: center;
font-weight: bold;
font-size: 1.1rem;
}
.retry {
width: 100%;
height: auto;
background-color: red;
padding: 0.5rem;
border: 1% solid black;
border-radius: 8%;
box-shadow: 1% 1% black;
font-size: 1.1rem;
transition: 0.5s transform ease-in-out 0.1s,
0.5s box-shadow ease-in-out 0.1s,
0.5s background-color ease-in-out 0.1s,
0.5s color ease-in-out 0.1s
/* transition: box-shadow 0.5s; */
}
.retry:hover {
color: red;
background-color: black;
box-shadow: none;
transform: translate(1%, 1%);
}
@media only screen and (max-width: 600px) {
.box {
min-width: 110px;
min-height: 110px;
}
}
footer {
margin-top: auto;
}