Namespace everything
This commit is contained in:
parent
d65d885804
commit
3ff29b39bf
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 987 B |
|
@ -17,3 +17,6 @@
|
|||
.marker .content .categories .category.inventory { border-color: hsl(278, 32%, 26%); background: hsl(278, 32%, 26%); }
|
||||
.marker .content .categories .category.font { border-color: hsl(161, 4%, 26%); background: hsl(161, 4%, 26%); }
|
||||
.marker .content .categories .category.mathematics { border-color: hsl(308, 4%, 26%); background: hsl(308, 4%, 26%); }
|
||||
.category.inventory { border: 1px solid hsl(111, 79%, 26%); background: hsl(111, 79%, 26%); }
|
||||
.category.hardware { border: 1px solid hsl(284, 94%, 26%); background: hsl(284, 94%, 26%); }
|
||||
.category.math { border: 1px solid hsl(185, 74%, 26%); background: hsl(185, 74%, 26%); }
|
|
@ -71,12 +71,12 @@ typedef struct
|
|||
// TODO(matt): Parse this stuff out of a config file
|
||||
char *Credentials[ ][5] =
|
||||
{
|
||||
{ "Miblo", "Matt Mascarenhas", "http://miblodelcarpio.co.uk", "patreon_logo.png", "https://patreon.com/miblo"},
|
||||
{ "miotatsu", "Mio Iwakura", "http://riscy.tv/", "patreon_logo.png", "https://patreon.com/miotatsu"},
|
||||
{ "Miblo", "Matt Mascarenhas", "http://miblodelcarpio.co.uk", "cinera_icon_patreon.png", "https://patreon.com/miblo"},
|
||||
{ "miotatsu", "Mio Iwakura", "http://riscy.tv/", "cinera_icon_patreon.png", "https://patreon.com/miotatsu"},
|
||||
{ "nothings", "Sean Barrett", "https://nothings.org/", "", ""},
|
||||
{ "cmuratori", "Casey Muratori", "https://handmadehero.org", "patreon_logo.png", "https://patreon.com/cmuratori"},
|
||||
{ "cmuratori", "Casey Muratori", "https://handmadehero.org", "cinera_icon_patreon.png", "https://patreon.com/cmuratori"},
|
||||
{ "fierydrake", "Mike Tunnicliffe", "", "", ""},
|
||||
{ "abnercoimbre", "Abner Coimbre", "https://handmade.network/m/abnercoimbre", "patreon_logo.png", "https://patreon.com/handmade_dev"},
|
||||
{ "abnercoimbre", "Abner Coimbre", "https://handmade.network/m/abnercoimbre", "cinera_icon_patreon.png", "https://patreon.com/handmade_dev"},
|
||||
};
|
||||
|
||||
#define EDITION EDITION_SINGLE
|
||||
|
@ -854,7 +854,7 @@ GenerateTopicColours(buffer *Colour, char *Topic)
|
|||
FILE *TopicsFile;
|
||||
char *TopicsBuffer;
|
||||
// TODO(matt): Consider (optionally) pulling this path from the config
|
||||
if((TopicsFile = fopen("topics.css", "a+")))
|
||||
if((TopicsFile = fopen("cinera_topics.css", "a+")))
|
||||
{
|
||||
fseek(TopicsFile, 0, SEEK_END);
|
||||
int TopicsLength = ftell(TopicsFile);
|
||||
|
@ -1863,7 +1863,7 @@ ReferencesArray[i].Identifier[j].Timecode);
|
|||
|
||||
CopyStringToBuffer(&FilterMenu,
|
||||
" <div class=\"menu filter\">\n"
|
||||
" <span><img src=\"hues_HCL.png\"></span>\n"
|
||||
" <span><img src=\"cinera_icon_filter.png\"></span>\n"
|
||||
" <div class=\"filter_container\">\n"
|
||||
" <div class=\"filter_mode inclusive\">Filter mode: </div>\n"
|
||||
" <div class=\"filters\">\n");
|
||||
|
@ -2185,10 +2185,10 @@ CategoryMedium[j][2]
|
|||
CopyStringToBuffer(&Header, "</title>\n" // TODO(matt): Add the full name of the project, parsed from a config
|
||||
"\n"
|
||||
" <!-- Load the player -->\n"
|
||||
" <script type=\"text/javascript\" src=\"player.js\"></script>\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"%s.css\">\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"topics.css\">",
|
||||
" <script type=\"text/javascript\" src=\"cinera.js\"></script>\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"cinera.css\">\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"cinera__%s.css\">\n"
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"cinera_topics.css\">",
|
||||
HMML.metadata.project);
|
||||
|
||||
CopyStringToBuffer(&Script,
|
||||
|
|
Loading…
Reference in New Issue