Skip to content

Commit dacde82

Browse files
committed
add janky triangles
1 parent f0f9cf9 commit dacde82

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

assets/strftime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@
153153
return hour;
154154
}
155155

156-
}());
156+
}());

assets/style.css

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,43 @@ div.project-title {
136136
height: 30px;
137137
}
138138

139-
.project-description {}
139+
.project-description {
140+
141+
}
142+
143+
.project {
144+
position: relative;
145+
}
146+
147+
.project::after {
148+
content: '';
149+
position: absolute;
150+
right: 0;
151+
top: 0;
152+
153+
width: 0;
154+
height: 0;
155+
border-bottom: 50px solid transparent;
156+
border-left: 50px solid transparent;
157+
border-right: 50px solid red;
158+
}
159+
160+
.project.JavaScript::after {
161+
border-right-color: #0080B0;
162+
}
163+
164+
.project.Scala::after {
165+
border-right-color: #7AC9DE;
166+
}
167+
168+
.project.Ruby::after {
169+
border-right-color: #B60202;
170+
}
171+
172+
.project.Java::after {
173+
border-right-color: brown;
174+
}
175+
176+
.project.Python::after {
177+
border-right-color: #6AAD2D;
178+
}

0 commit comments

Comments
 (0)