-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (87 loc) · 1.45 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
93
94
95
96
97
98
99
100
101
html {
height: 100%;
width: 100%;
}
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
height: 100%;
width: 100%;
}
.city-title {
color: #1B1D1F;
font-size: 44px;
font-style: normal;
font-weight: 600;
line-height: 48px;
margin-bottom: 36px;
margin-top: 0;
}
.city-descr {
color: #1B1D1F;
font-size: 16px;
font-weight: 400;
line-height: 24px;
}
.city-page {
background: url("img/background.jpg");
background-size: cover;
background-attachment: fixed;
width: 100%;
height: 100%;
}
.wrapper {
width: 1170px;
height: 100%;
margin: auto;
display: flex;
align-items: center;
position: relative;
}
.logo {
position: absolute;
left: 0;
top: 32px;
}
.city-text-container {
border-radius: 40px;
background: #FFF;
padding-left: 60px;
padding-top: 60px;
padding-bottom: 60px;
padding-right: 60px;
box-sizing: border-box;
width: 573px;
}
.city-gallery {
padding-top: 100px;
padding-bottom: 100px;
text-align: center;
box-sizing: border-box;
}
.city-gallery-title {
color: #1B1D1F;
font-size: 44px;
font-weight: 600;
line-height: 48px;
margin-bottom: 80px;
margin-top: 0;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.gallery-button {
width: calc(25% - 24px * 3 / 4);
margin-bottom: 24px;
border: none;
background: none;
cursor: pointer;
border-radius: 48px;
padding: 0;
}
.gallery-image {
width: 100%;
border-radius: 48px;
}