Skip to content

Commit 9fbcb1e

Browse files
committed
update styles html-document-start & changed classname gradient__background
1 parent 7987166 commit 9fbcb1e

File tree

3 files changed

+32
-20
lines changed

3 files changed

+32
-20
lines changed

export-samples/html/cv-x-wing-squadron.html

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
h1 {
7575
display: flex;
7676
flex-direction: column;
77-
width: min-content;
77+
min-width: min-content;
7878
text-transform: capitalize;
7979
font-family: 'Source Serif Pro', sans-serif;
8080
font-size: 75px;
@@ -86,6 +86,15 @@
8686
-webkit-text-fill-color: transparent;
8787
}
8888

89+
.gradient__background {
90+
display: flex;
91+
flex-grow: 1;
92+
background: var(--manfred-gradient);
93+
background-clip: text;
94+
-webkit-background-clip: text;
95+
-webkit-text-fill-color: transparent;
96+
color: transparent;
97+
}
8998
@media (min-width: 728px) {
9099
h1 {
91100
font-size: 82px;
@@ -145,9 +154,13 @@
145154

146155
header > img {
147156
align-self: center;
148-
width: 225px;
149-
height: 225px;
150157
border-radius: 225px;
158+
min-width: 225px;
159+
min-height: 225px;
160+
max-width: 350px;
161+
max-height: 350px;
162+
object-fit: cover;
163+
background: var(--manfred-gradient);
151164
}
152165

153166
.header__content {
@@ -162,6 +175,10 @@
162175
padding: var(--spacing_16) 0px;
163176
}
164177

178+
.header__content__name > * {
179+
padding-left: var(--spacing_8);
180+
}
181+
165182
.job-title {
166183
color: var(--manfred-dark);
167184
font-family: 'Source Serif Pro', sans-serif;
@@ -175,6 +192,7 @@
175192
display: flex;
176193
align-items: center;
177194
gap: var(--spacing_8);
195+
padding-left: var(--spacing_8);
178196
}
179197

180198
.header__content__address > p {
@@ -187,9 +205,10 @@
187205
display: flex;
188206
align-items: center;
189207
gap: var(--spacing_32);
208+
padding-left: var(--spacing_8);
190209
}
191210

192-
@media (min-width: 1024px) {
211+
@media (min-width: 728px) {
193212
.header__content__address > p {
194213
font-size: 16px;
195214
}
@@ -201,12 +220,7 @@
201220
justify-content: flex-start;
202221
align-items: center;
203222
flex-direction: row;
204-
gap: var(--spacing_64);
205-
}
206-
207-
header > img {
208-
width: 350px;
209-
height: 350px;
223+
gap: var(--spacing_48);
210224
}
211225

212226
.header__content {
@@ -387,7 +401,9 @@
387401
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="10" viewBox="0 0 64 10" fill="none">
388402
<path d="M1.10269e-06 5L64 5" stroke="#3BA0B7" stroke-width="9" />
389403
</svg>
390-
<h1>david</h1>
404+
<div class="gradient__background">
405+
<h1>david</h1>
406+
</div>
391407
<h2 class="surname">bonilla fuertes</h2>
392408
<p class="job-title">Fundador en Manfred / C-Level Executive</p>
393409
</div>

packages/manfred2html/src/engine/cv-x-wing-squadron/html-parts/html-document-start/html-document-start.ejs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
-webkit-background-clip: text;
8686
-webkit-text-fill-color: transparent;
8787
}
88-
89-
.gradient-background {
88+
89+
.gradient__background {
9090
display: flex;
9191
flex-grow: 1;
9292
background: var(--manfred-gradient);
@@ -155,9 +155,10 @@
155155
header > img {
156156
align-self: center;
157157
border-radius: 225px;
158-
height: 225px;
159158
min-width: 225px;
159+
min-height: 225px;
160160
max-width: 350px;
161+
max-height: 350px;
161162
object-fit: cover;
162163
background: var(--manfred-gradient);
163164
}
@@ -222,11 +223,6 @@
222223
gap: var(--spacing_48);
223224
}
224225
225-
header > img {
226-
min-width: 350px;
227-
height: 350px;
228-
}
229-
230226
.header__content {
231227
justify-content: space-between;
232228
}

packages/manfred2html/src/engine/cv-x-wing-squadron/html-parts/userInfo-section/userInfo-section.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="10" viewBox="0 0 64 10" fill="none">
44
<path d="M1.10269e-06 5L64 5" stroke="#3BA0B7" stroke-width="9" />
55
</svg>
6-
<div class="gradient-background">
6+
<div class="gradient__background">
77
<h1><%= profile.name %> </h1>
88
</div>
99
<h2 class="surname"><%= profile?.surnames %></h2>

0 commit comments

Comments
 (0)