-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (99 loc) · 1.9 KB
/
Copy pathstyle.css
File metadata and controls
101 lines (99 loc) · 1.9 KB
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
:root {
--bg-header: #F55A5A;
--bg-main: hsl(0, 0%, 95%);
--text-primary: #2B283A;
--text-secondary: #918E9B;
}
* {
margin: 0;
}
body {
font-family: Montserrat, sans-serif;
max-height: 100vh;
color: var(--text-primary);
}
/* ------------------- HEADER -------------------- */
.container {
display: flex;
flex-direction: column;
align-items: center;
}
.header {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
max-height: 70px;
height: 55px;
width: 100%;
background-color: var(--bg-header);
color: var(--bg-main);
}
img {
width: 24px;
}
h2 {
font-size: 0.9rem;
}
/* ------------------- DESTINATION (location) -------------------- */
.destination {
display: flex;
gap: 1rem;
max-width: 551px;
max-height: 704px;
padding: 1rem;
margin: 1rem;
}
.destination .destination-pic {
max-height: 300px;
height: 220px;
width: 170px;
margin: .5rem;
border: none;
border-radius: 8px;
}
.destination .infos {
display: flex;
flex-direction: column;
justify-content: center;
gap: .5rem;
}
.destination .infos .location {
display: flex;
align-items: center;
}
.destination .infos .location img {
width: 20px
}
.destination .infos .location .country {
font-size: 20px;
}
.destination .infos .location .address {
color: var(--text-secondary);
margin-left: 1rem;
text-decoration: none;
border-bottom: 1px solid var(--text-secondary);
}
/* ------------------- DESTINATION (details) -------------------- */
.details {
}
.details .title {
margin-bottom: 2rem;
}
.details .date {
font-weight: bold;
margin-bottom: 1rem;
}
@media (max-width:540px) {
.header {
}
.destination {
flex-direction: column;
}
.destination .destination-pic {
width: 100%;
}
.destination .infos {
padding: 1rem;
}
}