Author: rwesten
Date: Tue Jun 26 14:35:23 2012
New Revision: 1354033
URL: http://svn.apache.org/viewvc?rev=1354033&view=rev
Log:
STANBOL-647: enable scrolling for the navigation menue
Modified:
incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
incubator/stanbol/site/trunk/templates/skeleton.html
Modified: incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css?rev=1354033&r1=1354032&r2=1354033&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css (original)
+++ incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css Tue Jun 26
14:35:23 2012
@@ -24,6 +24,9 @@ h1,h2,h3,h4,h5,h6 {
padding: 0 30px 40px;
background-color: #fff;
}
+ #logo {
+ padding: 20px 3px 3px 15px;
+ }
#navigation {
font-size: 85%;
color: #333;
@@ -31,6 +34,7 @@ h1,h2,h3,h4,h5,h6 {
padding: 20px 3px 3px 15px;
position: fixed;
top: 10px;
+ overflow-y: auto;
}
}
@media print
@@ -38,6 +42,9 @@ h1,h2,h3,h4,h5,h6 {
#content {
background-color: #fff;
}
+ #logo {
+ display: none;
+ }
#navigation {
display: none;
}
Modified: incubator/stanbol/site/trunk/templates/skeleton.html
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/templates/skeleton.html?rev=1354033&r1=1354032&r2=1354033&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/templates/skeleton.html (original)
+++ incubator/stanbol/site/trunk/templates/skeleton.html Tue Jun 26 14:35:23
2012
@@ -38,8 +38,9 @@
</head>
<body>
- <div id="navigation">
- <a href="/stanbol/index.html"><img alt="Apache Stanbol" width="220"
height="101" border="0"
src="/stanbol/images/stanbol-logo/stanbol-2010-12-14.png"/></a>
+ <div id="logo"> <!-- do not scroll the logo -->
+ <a href="/stanbol/index.html"><img alt="Apache Stanbol" width="220"
height="101" border="0"
src="/stanbol/images/stanbol-logo/stanbol-2010-12-14.png"/></a></div>
+ <div id="navigation"> <!-- but auto scroll the menue -->
{% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
</div>