forked from sarahdoi/Oun-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomepageP.css
162 lines (136 loc) · 2.46 KB
/
HomepageP.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
html
body{
text-align: center;
}
/*
.mytitle{
margin-top: 4%;
text-align: center;
color: rgb(41, 33, 78);
}
*/
.card{
display: flex;
justify-content: center;
align-items: center;
min-height: 480px;
background-color:white;
border-radius: 12px;
display:inline-block;
overflow: hidden;
display: inline-block;
position: relative;
overflow: hidden;
text-align: center;
height:360px;
width:300px;
margin-top:100px ;
box-shadow:0 12px 13px rgba(0,0,0,0.16), 0 12px 13px rgba(0,0,0,0.16);
margin-right: 100px;
}
.card img {
border-radius:100%;
margin-top:60px;
width:132px;
height:128px;
}
.name{
color:#404040;
}
.reviews , .title{
font-size:16px;
color: white;
}
.desc{
font-size:14px;
margin-left:65px;
margin-right:65px;
margin-top:16px;
color:#404040;
}
.desc .btn{
outline:none;
background :rgb(41,33,78);
/* 20px */
margin-top:5px;
border:none;
height:40px;
width:35%;
color:aliceblue;
font-size:16px;
/* 30px */
border-radius:12px;
}
.card .desc
{
font-size: 19px;
}
.card .desc .info {
padding: 0 0 1rem;
display: flex;
}
.card .desc .info h2 {
text-align: center;
width: 50%;
margin: 0;
box-sizing: border-box;
}
.card .desc .info h2 a {
text-decoration: none;
padding: 0.8rem;
display: flex;
flex-direction: column;
border-radius: 0.8rem;
transition: background-color 100ms ease-in-out;
}
.card .desc .info h2 a span {
color:#404040;;
font-weight: bold;
transform-origin: bottom;
transform: scaleY(1.3);
transition: color 100ms ease-in-out;
}
.card .desc .info h2 a small {
color: #afafaf;
font-size: 0.95rem;
font-weight: normal;
}
.btn1
{
outline:none;
background : rgb(152, 33, 33);
/* 20px */
margin-top:5px;
border:none;
height:40px;
width:60%;
color:white;
font-size:16px;
/* 30px */
border-radius:12px;
left: 40px;
margin-left: 0px;
}
.btn2
{
outline:none;
background :rgb(62, 66, 64);
/* 20px */
margin-top:5px;
border:none;
height:40px;
width:60%;
font-size:16px;
color:white;
/* 30px */
border-radius:12px;
margin-left: 0px;
}
.btn1:hover
{
color: rgb(133, 56, 56);
}
.btn2:hover
{
background-color:#2d302e;
}