diff --git a/hmml_to_html/hmml_to_html.c b/hmml_to_html/hmml_to_html.c index f1ef54a..2182972 100644 --- a/hmml_to_html/hmml_to_html.c +++ b/hmml_to_html/hmml_to_html.c @@ -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; diff --git a/hmml_to_html/reference.html b/hmml_to_html/reference.html new file mode 100644 index 0000000..f8b09de --- /dev/null +++ b/hmml_to_html/reference.html @@ -0,0 +1,191 @@ + + + + + + + + + +
+ Coloured Nicks +
+ Quotes ▼ +
+
+ + +
#1 • 2016-11-16
+
Stay RISCY, everyone
+
+
+ [a]2:56 +
+
+ + +
#2 • 2016-12-02
+
I dream of nice things
+
+
+ [b]5:12 +
+
+
+
+
+ References ▼ +
+ +
+ Annotator: Miblo +
+
+
+
+
+
1:00insofaras Some text referring to Zilarrezko about this thing1 regarding triangle intersections he saw in the milton forums2
+
+
1:00insofaras Some text referring to Zilarrezko about this thing1 regarding triangle intersections he saw in the milton forums2
+
+
+
1:00insofaras Some text referring to Zilarrezko about this thing1 regarding triangle intersections he saw in the milton forums2
+
+
+
+
2:56"Stay RISCY, everyone"a
+
+
2:56"Stay RISCY, everyone"a
+
+
+
2:56"Stay RISCY, everyone"a
+
+
+
+
5:12Matrix multiplicationb
+
+
5:12Matrix multiplicationb
+
+
+
5:12Matrix multiplicationb
+
+
+
+
10:24More stuff referring to the milton forum post3
+
+
10:24More stuff referring to the milton forum post3
+
+
+
10:24More stuff referring to the milton forum post3
+
+
+
+
10:42Some text. Simples!
+
+
10:24Some text. Simples!
+
+
+
10:24Some text. Simples!
+
+
+
+
+ + + diff --git a/hmml_to_html/style.css b/hmml_to_html/style.css index 84cffe4..f987a99 100644 --- a/hmml_to_html/style.css +++ b/hmml_to_html/style.css @@ -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; } -.category.memory { +.marker .content .categories .category.hardware { + border-color: #FF3333; + background: #FF3333; +} + +.marker .content .categories .category.mathematics { + border-color: #5E0595; + background: #5E0595; +} + +.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%;