Commit af9f5a59 authored by Matt Mascarenhas's avatar Matt Mascarenhas

hmml_to_html.c: Mock-up reference.html

Also adapt onRefChanged() to support multiple sourceMenus
parent 678dc869
......@@ -116,12 +116,8 @@ CopyStringToBuffer(char *Src, buffer *Dest)
int
StringsDiffer(char *A, char *B)
{
while(*A && *B)
while(*A && *B && *A == *B)
{
if(*A != *B)
{
return *A - *B;
}
++A, ++B;
}
return *A - *B;
......
This diff is collapsed.
......@@ -85,24 +85,41 @@
}
.marker .content .categories {
display: inline-block;
display: inline-flex;
margin: 4px;
}
.marker .content .categories .category {
border: 1px;
border: 1px solid;
border-radius: 50%;
height: 6px;
width: 6px;
height: 8px;
margin-left: 2px;
width: 8px;
}
.marker .content .categories .category.hardware {
border-color: #FF3333;
background: #FF3333;
}
.marker .content .categories .category.mathematics {
border-color: #5E0595;
background: #5E0595;
}
.category.memory {
.marker .content .categories .category.memory {
border-color: #3399FF;
background: #3399FF;
}
.category.hardware {
border-color: #FF3333;
background: #FF3333;
.marker .content .categories .category.rendering {
border-color: #60B60A;
background: #60B60A;
}
.marker .content .categories .category.research {
border-color: #5851EB;
background: #5851EB;
}
/* MANDATORY */
......@@ -201,10 +218,6 @@ body {
right: 0;
}
.title .refs_container:hover .mouse_catcher {
width: 300px;
}
.title .refs_container .refs {
position: absolute;
top: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment