-
Notifications
You must be signed in to change notification settings - Fork 0
/
8-places.css
100 lines (87 loc) · 1.69 KB
/
8-places.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
@charset "UTF-8";
/** Holberton Practice Styles
* ------ Places
*/
.container .places {
width: 100%;
position: relative;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
align-items: stretch;
z-index: 1;
}
.container .places article {
width: 390px;
padding: 20px 20px;
margin: 20px 20px;
border: 1px solid #FF5A5F;
border-radius: 4px;
position: relative;
display: flex;
flex-direction: column;
}
/**
* ------ HEADERS
*/
.container .places h1 {
width: 100%;
font-size: 30px;
margin: 30px 0 0 10px;
}
.container .places .title {
display: flex;
flex-direction: row;
}
.container .places h2 {
font-size: 30px;
flex-grow: 1;
margin: 10px 0 30px 0;
text-align: center;
}
.container .places .price_by_night {
color: #FF5A5F;
border: 4px solid #FF5A5F;
border-radius: 50%;
min-width: 60px;
height: 60px;
font-size: 30px;
text-align: center;
line-height: 60px;
}
.container .places .information {
height: 80px;
border-top: 1px solid #DDDDDD;
border-bottom: 1px solid #DDDDDD;
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.container .places .information .max_guest,
.container .places .information .number_rooms,
.container .places .information .number_bathrooms {
width: 100px;
padding: 10px 0 0 0;
background-repeat: no-repeat;
background-position: center 5px;
text-align: center;
line-height: 25px;
}
.container .places .user {
margin: 20px 0 5px 0;
}
@media screen and (max-width: 600px) {
.container .places .information {
height: auto;
}
.container .places .price_by_night {
border: 2px solid #FF5A5F;
min-width: 40px;
height: 40px;
font-size: 20px;
top: 3px;
right: 3px;
text-align: center;
line-height: 42px;
}
}