-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo-section.css
More file actions
134 lines (123 loc) · 2.26 KB
/
info-section.css
File metadata and controls
134 lines (123 loc) · 2.26 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
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
.container {
width: 80%;
margin-left: auto;
margin-right: auto;
}
.info-section {
display: flex;
justify-content: space-around;
align-items: flex-end;
margin-top: 15vh;
margin-bottom: 15vh;
}
.info-img-container > img {
width: 650px;
}
.info-text-container {
margin-left: -7rem;
background-color: white;
padding: 20px 30px;
height: max-content;
width: max-content;
}
.info-text-container > h1 {
color: black;
font-size: 50px;
font-weight: 300;
line-height: 1;
padding-bottom: 15px;
}
.info-text-container > p {
color: hsl(0, 0%, 41%);
}
.creations {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10vh;
}
.creations > h1 {
font-size: 60px;
font-weight: 300;
color: black;
}
.creations > button {
background: white;
border: 2px solid black;
outline: none;
padding: 15px 30px;
cursor: pointer;
font-weight: 400;
}
/* Styles for responsiveness */
.info-img-container-mobile {
display: none;
}
.creation-btn-mobile {
display: none;
}
/* Media queries for responsiveness */
@media only screen and (max-width: 768px) {
.container {
width: 80%;
overflow-x: hidden;
}
.info-section {
display: block;
margin: 10px auto;
}
.info-img-container {
display: none;
}
.info-img-container-mobile {
display: block;
margin: 80px auto 40px auto;
}
.info-img-container-mobile > img {
width: 100%;
}
.info-text-container {
display: block;
margin-left: 0;
margin-right: 0;
}
.info-text-container > h1 {
font-size: 35px;
/* text-align: center; */
}
.info-text-container > p {
width: 250px;
text-align: center;
font-size: 0.8rem;
color: grey;
font-weight: 500;
line-height: 1.8;
margin-bottom: 40px;
}
.creations {
display: block;
}
.creations > h1 {
font-size: 40px;
text-align: center;
}
.creations > button {
display: none;
}
.creation-btn-mobile {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 80px;
}
.creation-btn-mobile > button {
background: white;
border: 2px solid black;
outline: none;
padding: 15px 30px;
cursor: pointer;
font-weight: 600;
letter-spacing: 3px;
font-size: 1.2rem;
}
}