Outline durch Korrektur des semantischen Markup weiter verbessert
authorKai Moritz <km@feder-software.de>
Mon, 23 Dec 2013 22:12:01 +0000 (23:12 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000 (17:45 +0100)
src/main/webapp/WEB-INF/templates/html5page.jsp
src/main/webapp/less/base/head.less

index 2512e07..de699e2 100644 (file)
@@ -14,7 +14,7 @@
   <body onload="prettyPrint()">
     <div id="page" class="<t:getAsString name="contentclass"/> cf">
       <header id="header">
   <body onload="prettyPrint()">
     <div id="page" class="<t:getAsString name="contentclass"/> cf">
       <header id="header">
-        <a href="${base}index.html" title="Home" id="logo">juplo</a>
+        <h1 id="logo"><a href="${base}index.html" title="Home" class="l">juplo</a></h1>
         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
         <hr class="h" />
       </header>
         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
         <hr class="h" />
       </header>
@@ -26,7 +26,7 @@
         <a class="hide" href="#navigation">Jump to navigation</a>
         <div class="b"></div>
       </div>
         <a class="hide" href="#navigation">Jump to navigation</a>
         <div class="b"></div>
       </div>
-      <div class="content cf">
+      <main class="content cf">
         <article id="content" class="main">
           <header><h1><t:getAsString name="title"/></h1></header>
           <t:insertAttribute name="maincontent"/>
         <article id="content" class="main">
           <header><h1><t:getAsString name="title"/></h1></header>
           <t:insertAttribute name="maincontent"/>
@@ -40,7 +40,7 @@
           </nav>
           <t:insertAttribute name="marginalcontent" ignore="true"/>
         </div>
           </nav>
           <t:insertAttribute name="marginalcontent" ignore="true"/>
         </div>
-      </div>
+      </main>
       <footer id="footer">
         <hr />
         <ul id="footerlinks">
       <footer id="footer">
         <hr />
         <ul id="footerlinks">
index b1368ef..6c9da2d 100644 (file)
@@ -6,17 +6,20 @@
 }
 #logo
 {
 }
 #logo
 {
+  display: inline;
   font-size: 400%;
   line-height: 1.2em;
   font-size: 400%;
   line-height: 1.2em;
+  margin: 0;
   padding: 0 0 0 .230769231em; /* 30px */
   color: @normal;
   border: none;
   position: relative;
   left: -.3em;
 }
   padding: 0 0 0 .230769231em; /* 30px */
   color: @normal;
   border: none;
   position: relative;
   left: -.3em;
 }
-#logo:hover
+#logo a.l:hover
 {
   color: @dunkler;
 {
   color: @dunkler;
+  border-style: none;
 }
 #slogan
 {
 }
 #slogan
 {