-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (78 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
80
81
82
83
84
85
86
87
88
89
90
91
92
body{
text-align: center;
background-color: #F7F2F7;
}
.page{
display: flex;
justify-content: start;
align-items: center;
flex-direction: row;
}
.info-section{
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.info-section h1{
color: #5B3758;
font-weight: bolder;
font-size: 3rem;
}
.btn{
background-color: #5B3758;
transform: scale(1.5);
border-radius: 10px;
color: white;
outline: none;
border: none;
}
.btn:hover{
background-color: rgba(91, 55, 88,.8);
border: none;
outline: none;
}
.result{
color: #C65B7C;
font-weight: bolder;
font-size: 1.7rem;
}
.grid{
display: grid;
grid-template-columns: repeat(3,200px);
margin: 4rem auto;
max-width: 500px;
min-height: 500px;
}
.grid-item{
width: 200px;
height: 170px;
font-weight: bold;
color: #5B3758;
font-size: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.grid-item:nth-child(5){
border: 2px solid #5B3758;
}
.grid-item:nth-child(2){
border-left: 2px solid #5B3758;
border-right: 2px solid #5B3758;
}
.grid-item:nth-child(4){
border-top: 2px solid #5B3758;
border-bottom: 2px solid #5B3758;
}
.grid-item:nth-child(6){
border-top: 2px solid #5B3758;
border-bottom: 2px solid #5B3758;
}
.grid-item:nth-child(8){
border-right: 2px solid #5B3758;
border-left: 2px solid #5B3758;
}
.grid-item:hover{
background-color: rgba(198, 91, 124,.5);
}