30 lines
623 B
C++
30 lines
623 B
C++
|
#include "routes.h"
|
||
|
|
||
|
void css_route(const httplib::Request& req, httplib::Response& res) {
|
||
|
res.set_content(R"EOF(
|
||
|
|
||
|
:root {
|
||
|
--background-color: black;
|
||
|
--text-color: white;
|
||
|
--accent-color: #962AC3;
|
||
|
--dark-accent-color: #7D3F7D;
|
||
|
--bright-accent-color: #DE6DE6;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background-color: var(--background-color);
|
||
|
color: var(--text-color);
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: var(--accent-color);
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
a:hover {
|
||
|
color: var(--bright-accent-color);
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
)EOF", "text/css");
|
||
|
}
|