diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-30 19:25:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-30 19:36:57 +0200 |
commit | 945656131123ee6418de919c60b82e491c5b61da (patch) | |
tree | 4df18557869cedfec5b09ced326057afda834171 | |
parent | 733398a3516896b95251cefc473ea93a694dbd55 (diff) |
Adjust web pages style
-rw-r--r-- | brep/page.cxx | 16 | ||||
-rw-r--r-- | web/xhtml | 1 |
2 files changed, 13 insertions, 4 deletions
diff --git a/brep/page.cxx b/brep/page.cxx index 755ed77..322efbd 100644 --- a/brep/page.cxx +++ b/brep/page.cxx @@ -37,6 +37,8 @@ namespace brep s << *LINK(REL="stylesheet", TYPE="text/css", HREF=root_ / css / path ("common.css")) + << *LINK(REL="stylesheet", TYPE="text/css", + HREF=root_ / css / path ("brep-common.css")) << *LINK(REL="stylesheet", TYPE="text/css", HREF=root_ / css / path_); } @@ -45,10 +47,16 @@ namespace brep void DIV_HEADER:: operator() (serializer& s) const { - s << DIV(ID="header") - << DIV(ID="header-menu") - << A(HREF=root_) << "packages" << ~A - << A(HREF=root_.string () + "?about") << "about" << ~A + s << DIV(ID="header-bar") + << DIV(ID="header") + << DIV(ID="header-logo") + << ~DIV + << DIV(ID="header-menu") + << DIV(ID="header-menu-body") + << A(HREF=root_) << "Packages" << ~A + << A(HREF=root_.string () + "?about") << "About" << ~A + << ~DIV + << ~DIV << ~DIV << ~DIV; } @@ -324,6 +324,7 @@ namespace web static const inline_element A ("a"); static const inline_element B ("b"); static const inline_element BR ("br"); + static const inline_element CODE ("code"); static const inline_element EM ("em"); static const inline_element I ("i"); static const inline_element INPUT ("input"); |