Faux-Column-Hack gekürzt: der Zentrierungs-DIV kan mitverwendet werden
[website] / src / main / webapp / WEB-INF / templates / html5page.jsp
index 46f581e..3617d67 100644 (file)
     <base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/" />
     <link rel="stylesheet" type="text/css" href="css/base.css" />
     <style type="text/css">
-      @import 'css/screen.css' screen and (min-width: 960px)
+      @import 'css/screen.css' screen and (min-width: 960px);
+      @import 'css/phone.css' screen and (max-width: 599px);
+      @import 'css/tiny.css' screen and (max-width: 399px);
     </style>
+    <script src="js/base.js"></script>
     <!--[if IE 8]>
       <script src="js/ie8.js"></script>
     <![endif]-->
@@ -22,8 +25,8 @@
       <script src="js/ie6.js"></script>
     <![endif]-->
   </head>
-  <body>
-    <div id="page">
+  <body onload="prettyPrint()">
+    <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>
@@ -37,7 +40,7 @@
         <a class="hide" href="#navigation">Jump to navigation</a>
         <div class="b"></div>
       </div>
-      <div class="content <t:getAsString name="contentclass"/> cf">
+      <div class="content cf">
         <section id="content" class="main">
           <h1><t:getAsString name="title"/></h1>
           <t:insertAttribute name="maincontent"/>