<![endif]-->
</head>
<body onload="prettyPrint()">
- <div id="page">
+ <div id="page" class="<t:getAsString name="contentclass"/>">
<header id="header">
<a href="/" title="Home" id="logo">juplo</a>
<span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
<a class="hide" href="#navigation">Jump to navigation</a>
<div class="b"></div>
</div>
- <div class="fc <t:getAsString name="contentclass"/>">
- <div class="content cf">
- <section id="content" class="main">
- <h1><t:getAsString name="title"/></h1>
- <t:insertAttribute name="maincontent"/>
- </section>
- <div class="marginal">
- <nav id="nav">
- <hr />
- <a id="navigation"></a>
- <t:insertAttribute name="navigation"/>
- <hr />
- </nav>
- <t:insertAttribute name="marginalcontent" ignore="true"/>
- </div>
+ <div class="content cf">
+ <section id="content" class="main">
+ <h1><t:getAsString name="title"/></h1>
+ <t:insertAttribute name="maincontent"/>
+ </section>
+ <div class="marginal">
+ <nav id="nav">
+ <hr />
+ <a id="navigation"></a>
+ <t:insertAttribute name="navigation"/>
+ <hr />
+ </nav>
+ <t:insertAttribute name="marginalcontent" ignore="true"/>
</div>
</div>
<footer id="footer">
padding: 1em 3em 1em 5em;
}
-.fc.cols_2
-{
- border-right: 24.375em solid @heller;
-}
.content
{
position: relative;
.cols_2 > .content
{
padding: 0 27em 0 0;
- margin: 0 -24.375em 0 0;
+ margin-right: -24.375em;
}
.cols_2 > .content > .main
{
/** Center content, when screen is bigger than 1240 */
#page
{
+ max-width: 62.375em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
position: relative;
- max-width: 1000px;
margin: 0 auto;
}
+
+/** Faux-Column-Hack-Eigengewächs */
+#page.cols_2
+{
+ max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
+ border-right: 24.375em solid @heller;
+}
+.cols_2 > #header
+{
+ margin-right: -24.375em;
+ background-color: @hintergrund;
+}
+.cols_2 > #breadcrumb
+{
+ right: -24.375em; /** Weil der Breadcrumb sonst an der Faux-Column umbricht! */
+}
+.cols_2 > #footer
+{
+ margin-right: -24.375em;
+ background-color: @hintergrund;
+}