-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhousing.css
163 lines (161 loc) · 2.64 KB
/
housing.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
160
161
162
163
.image-border{
padding-top: 50px;
}
.image-border img{
height: 530px;
width: 100%;
}
.image-text{
margin-top: 250px;
width: 450px;
text-align: right;
}
/*when screen>1350px move text*/
@media (min-width:1350px){
#move{
position: absolute;
}
.image-text{
position: relative;
}
}
.image-text h1{
font-size: 60px;
font-style: italic;
}
.image-text h2{ /*Subtitle*/
font-size: 21px;
}
.img1{
margin-top: 120px;
}
.img1 img{
height:300px;
width:400px;
}
/*Definition and the text below*/
.first-text-border h1{
font-size: 40px;
}
.first-text-border{
margin-top: 70px;
font-size: 20px;
}
.img2{
margin-top: 70px;
}
.img2 img{
height:300px;
width:430px;
}
.second-text-border{
margin-top: 30px;
font-size: 20px;
padding-left: 90px;
}
.second-text-border h1{
font-size: 40px;
}
.img3{
margin-top: 100px;
}
.img3 img{
height:300px;
width:430px;
}
.third-text-border{
margin-top: 70px;
font-size: 20px;
}
.third-text-border h1{
font-size: 40px;
}
.img4{
margin-top: 70px;
}
.img4 img{
height:300px;
width:430px;
}
.fourth-text-border{
margin-top: 70px;
font-size: 20px;
padding-left: 90px;
}
.fourth-text-border h1{
font-size: 40px;
}
hr{
border-top: 1px solid black;
}
@media (min-width:992px) {
.second-text-border,.fourth-text-border{
padding-left: 150px;
}
.first-text-border,.third-text-border{
width:50%;
}
.img1 img,.img3 img{
width:480px;
}
}
@media (max-width:991px){
.second-text-border,.fourth-text-border{
padding-left: 15px;
}
.img1 img{
width:430px;
}
}
@media (min-width:400px) and (max-width:460px){
.image-text{
width: 300px;
text-align: left;
}
.image-border img{
height: 330px ;
}
.img1 img,.img2 img,.img3 img,.img4 img{
width: 300px;
height: 200px;
}
}
@media (min-width:300px) and (max-width:400px){
.image-text{
width: 250px;
text-align: left;
}
.image-text h1{
font-size: 40px;
}
.image-text h2{
font-size: 15px;
}
.image-border img{
height: 250px ;
}
.img1 img,.img2 img,.img3 img,.img4 img{
width: 250px;
height: 200px;
}
}
@media (min-width:1350px){
.image-text{
width: 430px;
}
}
@media (max-width:1350px){
.image-text{
margin-top: 50px;
}
}
@media (min-width:746px) and (max-width:1330px){
.image-text , .image-border{
margin-left: 100px;
}
}
@media (min-width:1800px){
.container{
width: 1400px;
}
}