Browse Source

[httpproxy] add viewport and update styles on error

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1634/head
R4SAS 4 years ago
parent
commit
01df1647bc
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      libi2pd_client/HTTPProxy.cpp

4
libi2pd_client/HTTPProxy.cpp

@ -39,10 +39,12 @@ namespace proxy { @@ -39,10 +39,12 @@ namespace proxy {
static const char *pageHead =
"<head>\r\n"
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n"
" <title>I2Pd HTTP proxy</title>\r\n"
" <style type=\"text/css\">\r\n"
" body { font: 100%/1.5em sans-serif; margin: 0; padding: 1.5em; background: #FAFAFA; color: #103456; }\r\n"
" .header { font-size: 2.5em; text-align: center; margin: 1.5em 0; color: #894C84; }\r\n"
" h1 { font-size: 1.7em; color: #894C84; }\r\n"
" @media screen and (max-width: 980px) { h1 { font-size: 1.7em; text-align: center; color: #894C84; }}\r\n"
" </style>\r\n"
"</head>\r\n"
;

Loading…
Cancel
Save