Skip to content

Commit e86705c

Browse files
committed
Small website fixes
1 parent de24cc1 commit e86705c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

website/pages/en/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ class Index extends React.Component {
103103
);
104104

105105
const Example = () => (
106-
<div class="code-example">
107-
<MarkdownBlock class="code-example">
108-
{`\`\`\`cpp
106+
<div className="code-example">
107+
<MarkdownBlock>
108+
{`\`\`\`cpp
109109
#include <celerity.h>
110110
using namespace celerity;
111111
@@ -136,8 +136,8 @@ int main() {
136136
});
137137
}
138138
\`\`\``}
139-
</MarkdownBlock>
140-
<div class="code-title">
139+
</MarkdownBlock>
140+
<div className="code-title">
141141
Complete Celerity Code Sample for Distributed Multi-GPU Matrix-vector Multiplication
142142
</div>
143143
</div>

website/pages/en/research.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function formatDOI(doi) {
1212

1313
function formatVid(vid) {
1414
if (vid == null) return "";
15-
return ` \n**[Video](vid)**`;
15+
return ` \n**[Video](${vid})**`;
1616
}
1717

1818
const publications = [

website/static/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ hr.separator {
7777

7878
.code-title {
7979
position: absolute;
80-
bottom: -1em;
80+
bottom: -20px;
8181
width: 100%;
8282
padding: 3px;
83+
border-radius: 3px;
8384
text-align: center;
8485
color: white;
8586
background: linear-gradient(
@@ -88,7 +89,6 @@ hr.separator {
8889
rgb(200, 110, 132) 35%,
8990
rgb(74, 102, 176) 100%
9091
);
91-
border-radius: 3px;
9292
}
9393

9494
@media (max-width: 768px) {

0 commit comments

Comments
 (0)