Skip to content

Commit 0899659

Browse files
authored
📦 Updated
1 parent d6236b0 commit 0899659

File tree

2 files changed

+52
-9
lines changed

2 files changed

+52
-9
lines changed

‎assets/css/styles/global.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
--color-4: #7f4d96;
4747

4848
--text-shadow-color: #7159c1; /* header */
49+
--progress-bar-background-color: #767676;
4950

5051
--font-1: Roboto Mono;
5152
--font-2: Roboto;

‎assets/css/styles/sections.css‎

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,21 +113,63 @@
113113
gap: 1em;
114114
}
115115

116-
.skillsProgress::-moz-progress-bar {
117-
background: var(--color-4);
118-
color: var(--color-4);
116+
.skillsProgress {
117+
box-sizing: content-box;
118+
width: 200px;
119+
height: 20px;
120+
position: relative;
121+
background-color: var(--progress-bar-background-color);
122+
border-radius: 25px;
123+
box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
119124
}
120125

121-
.skillsProgress::-webkit-progress-value {
122-
background: var(--color-4);
123-
color: var(--color-4);
126+
.skillsProgress > span {
127+
display: block;
128+
height: 100%;
129+
border-radius: 20px;
130+
background-color: var(--color-4);
131+
background-image: linear-gradient(center bottom, rgb(43, 194, 83) 37%, rgb(84, 240, 84) 69%);
132+
box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
133+
position: relative;
134+
overflow: hidden;
124135
}
125136

126-
.skillsProgress {
127-
background: var(--color-4);
128-
color: var(--color-4);
137+
.skillsProgress > span:after, .animate > span > span {
138+
content: "";
139+
position: absolute;
140+
top: 0;
141+
left: 0;
142+
bottom: 0;
143+
right: 0;
144+
background-image: linear-gradient(
145+
-45deg,
146+
rgba(255, 255, 255, 0.2) 25%,
147+
transparent 25%,
148+
transparent 50%,
149+
rgba(255, 255, 255, 0.2) 50%,
150+
rgba(255, 255, 255, 0.2) 75%,
151+
transparent 75%,
152+
transparent
153+
);
154+
z-index: 1;
155+
background-size: 50px 50px;
156+
animation: move 2s linear infinite;
157+
border-top-right-radius: 8px;
158+
border-bottom-right-radius: 8px;
159+
border-top-left-radius: 20px;
160+
border-bottom-left-radius: 20px;
161+
overflow: hidden;
129162
}
130163

164+
165+
166+
167+
168+
169+
170+
171+
172+
131173
#projectsSubContainer {
132174
display: flex;
133175
align-items: center;

0 commit comments

Comments
 (0)