aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-30 19:25:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-30 19:36:57 +0200
commit945656131123ee6418de919c60b82e491c5b61da (patch)
tree4df18557869cedfec5b09ced326057afda834171
parent733398a3516896b95251cefc473ea93a694dbd55 (diff)
Adjust web pages style
-rw-r--r--brep/page.cxx16
-rw-r--r--web/xhtml1
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;
}
diff --git a/web/xhtml b/web/xhtml
index 1b9ae9b..d1d2044 100644
--- a/web/xhtml
+++ b/web/xhtml
@@ -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");