-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathownersInfo.css
119 lines (109 loc) · 2.24 KB
/
ownersInfo.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.ownersInfoSection{
width: 100%;
height: 100%;
}
.ownersInfoCon>h1{
text-transform: uppercase;
font-size: 2rem;
padding-bottom: 1rem;
}
.ownersItems{
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 3rem;
max-width: 80vw;
width: fit-content;
}
.ownersInfoCon{
margin: 4rem auto;
width: fit-content;
}
.ownerInfoItemCon{
width: 500px;
background-color: var(--white-color);
border-radius: 15px;
overflow: hidden;
box-shadow: 0 14px 24px rgba(0,0,0,.20);
padding: 1rem auto;
transition: 0.1s;
}
.ownerInfoItem{
display: flex;
justify-content: center;
align-items: center;
}
.ownerInfoItem img{
width: 100%;
}
.ownerInfoItemCon .detail{
padding: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.ownerInfoItem a{
display: flex;
align-items: center;
gap: 10px;
width: fit-content;
}
.ownerInfoItemCon:hover{
transform: scale(1.02);
}
.ownerInfoItem a:hover{
color: var(--secondary-color);
}
body{
background-color: #eef8f5;
}
@media screen and (max-width:768px){
.ownersInfoCon {
margin: 2rem auto;
width: fit-content;
margin-bottom: 4rem;
}
.ownersItems {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 3rem;
max-width: 90vw;
width: fit-content;
}
.ownerInfoItemCon {
width: auto;
}
.ownersInfoCon>h1 {
font-size: 2.5rem;
text-align: center;
padding-bottom: 1.5rem;
padding-top: 1rem;
}
}
@media screen and (max-width:450px) {
.ownersItems {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 3rem;
max-width: 95vw;
width: fit-content;
justify-content: center;
}
.ownerInfoItemCon {
width: auto;
background-color: var(--white-color);
}
.ownersInfoCon {
margin: 0rem;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 4rem;
width: 100%;
}
.ownersInfoCon>h1 {
text-transform: uppercase;
font-size: 2rem;
padding: 2rem 0 1rem 0;
text-align: center;
}
}