File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ class Index extends React.Component {
103
103
) ;
104
104
105
105
const Example = ( ) => (
106
- < div class = "code-example" >
107
- < MarkdownBlock class = "code-example" >
108
- { `\`\`\`cpp
106
+ < div className = "code-example" >
107
+ < MarkdownBlock >
108
+ { `\`\`\`cpp
109
109
#include <celerity.h>
110
110
using namespace celerity;
111
111
@@ -136,8 +136,8 @@ int main() {
136
136
});
137
137
}
138
138
\`\`\`` }
139
- </ MarkdownBlock >
140
- < div class = "code-title" >
139
+ </ MarkdownBlock >
140
+ < div className = "code-title" >
141
141
Complete Celerity Code Sample for Distributed Multi-GPU Matrix-vector Multiplication
142
142
</ div >
143
143
</ div >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function formatDOI(doi) {
12
12
13
13
function formatVid ( vid ) {
14
14
if ( vid == null ) return "" ;
15
- return ` \n**[Video](vid)**` ;
15
+ return ` \n**[Video](${ vid } )**` ;
16
16
}
17
17
18
18
const publications = [
Original file line number Diff line number Diff line change @@ -77,9 +77,10 @@ hr.separator {
77
77
78
78
.code-title {
79
79
position : absolute;
80
- bottom : -1 em ;
80
+ bottom : -20 px ;
81
81
width : 100% ;
82
82
padding : 3px ;
83
+ border-radius : 3px ;
83
84
text-align : center;
84
85
color : white;
85
86
background : linear-gradient (
@@ -88,7 +89,6 @@ hr.separator {
88
89
rgb (200 , 110 , 132 ) 35% ,
89
90
rgb (74 , 102 , 176 ) 100%
90
91
);
91
- border-radius : 3px ;
92
92
}
93
93
94
94
@media (max-width : 768px ) {
You can’t perform that action at this time.
0 commit comments