Repository navigation
Expand file tree
/
Copy pathposter.html
More file actions
153 lines (153 loc) · 3.3 KB
/
Copy pathposter.html
File metadata and controls
153 lines (153 loc) · 3.3 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
@font-face {
font-family: space-grotesk;
src: url(/fonts/SpaceGrotesk-VariableFont_wght.ttf);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: space-grotesk;
}
body {
background: linear-gradient(135deg, #111827, #0b0b12);
margin: 50px 80px 40px;
}
h1 {
font-size: 87px;
color: #f4f4f5;
}
.cards {
margin-top: 130px;
display: flex;
gap: 20px;
}
.card {
width: 630px;
height: 360px;
display: flex;
gap: 71px;
background: #111827;
border-radius: 50px;
overflow: hidden;
}
img {
display: block;
width: 253px;
height: 360px;
}
.texts {
display: flex;
flex-direction: column;
justify-content: center;
color: #f4f4f5;
padding-left: 20px;
}
h2 {
font-size: 30px;
font-weight: 300;
}
h3 {
font-size: 30px;
font-weight: 300;
padding-top: 50px;
}
.texts > p {
font-size: 16px;
font-weight: 200;
padding-left: 15px;
}
header {
display: flex;
justify-content: space-between;
}
button {
width: 100px;
height: 64px;
border-radius: 30px;
border: none;
background: #38bdf8;
font-size: 24px;
cursor: pointer;
}
button:hover {
box-shadow: #22d3ee 0 0 20px;
}
a:link,
a:visited {
color: #0b0b12;
text-decoration: none;
}
@media screen and (max-width: 1024px) {
.cards {
flex-direction: column;
align-items: center;
margin-top: 70px;
}
}
@media screen and (max-width: 767px) {
body {
margin: 30px 40px;
}
.card {
gap: 30px;
width: 320px;
height: 182px;
border-radius: 25px;
}
img {
width: 128px;
height: 182px;
}
h1 {
font-size: 46px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 18px;
padding-top: 20px;
}
button {
width: 60px;
height: 30px;
border-radius: 12px;
font-size: 12px;
}
}
</style>
</head>
<body>
<header>
<h1>Poster Designs</h1>
<button>
<a href="/index.html#Offer">Back</a>
</button>
</header>
<div class="cards">
<div class="card">
<img src="/images/poster mft.png" alt="" />
<div class="texts">
<h2>Course Poster For MFT</h2>
<h3>Tools Used:</h3>
<p>Photoshop, Illustrator</p>
</div>
</div>
<div class="card">
<img src="/images/event poster.png" alt="" />
<div class="texts">
<h2>Event Poster For Ledora</h2>
<h3>Tools Used:</h3>
<p>Photoshop, Illustrator</p>
</div>
</div>
</div>
</body>
</html>