Skip to content

Commit 25877cd

Browse files
author
James Harris
committed
skills
1 parent 0077b46 commit 25877cd

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

assets/css/app.css

+38-1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,42 @@ main .role {
200200
margin-top: 3em;
201201
}
202202

203+
main section.skills ul {
204+
counter-reset: index;
205+
padding: 0;
206+
}
207+
208+
/* List element */
209+
main section.skills ul li {
210+
counter-increment: index;
211+
display: flex;
212+
align-items: center;
213+
padding: 12px 0;
214+
box-sizing: border-box;
215+
}
216+
217+
/* Element counter */
218+
main section.skills ul li::before {
219+
content: counters(index, ".", decimal-leading-zero);
220+
font-size: 1.5rem;
221+
text-align: right;
222+
font-weight: bold;
223+
min-width: 50px;
224+
padding-right: 12px;
225+
font-variant-numeric: tabular-nums;
226+
align-self: flex-start;
227+
background-image: linear-gradient(to bottom, var(--colors-body-font), var(--colors-pink));
228+
background-attachment: fixed;
229+
-webkit-background-clip: text;
230+
-webkit-text-fill-color: transparent;
231+
}
232+
233+
/* Element separation */
234+
main section.skills ul li + li {
235+
border-top: 1px solid rgba(50,50,50,0.2);
236+
}
237+
238+
203239
main section.skills .chart-container {
204240
height: 0; /* collapse the container's height */
205241
width: 100%; /* specify any width you want (a percentage value, basically) */
@@ -258,13 +294,14 @@ main header .head-container {
258294
z-index: 0;
259295
opacity: 0.3;
260296

261-
animation: animate-video 23s ease-in-out infinite;
297+
animation: animate-video 25s ease-in-out infinite;
262298
}
263299

264300
@keyframes animate-video {
265301
0% {opacity: 0;}
266302
10% {opacity: 0.1;}
267303
20% {opacity: 0.5;}
304+
30% {opacity: 0.3;}
268305
60% {opacity: 0.3;}
269306
80% {opacity: 0.1;}
270307
100% {opacity: 0.01;}

assets/video/water.mp4

16 MB
Binary file not shown.

index.ejs

+7-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<main>
124124
<header>
125125
<video id="video-bg" muted autoplay loop>
126-
<source src="/assets/video/video-bg.mp4" type="video/mp4">
126+
<source src="/assets/video/water.mp4" type="video/mp4">
127127
</video>
128128
<div class="head-container">
129129
<img src="/assets/svg/logo.svg" alt="JH" width="100">
@@ -282,6 +282,12 @@
282282
<section class="skills">
283283
<h3>CORE TECH STACK</h3>
284284

285+
<ul>
286+
<li>HTML</li>
287+
<li>CSS</li>
288+
<li>JavaScript</li>
289+
</ul>
290+
285291
<div class="chart-container">
286292
<svg version="1.1" id="wp-chart" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 650 650" class="skills-chart">
287293
</svg>

0 commit comments

Comments
 (0)