You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ds...@apache.org on 2021/07/22 21:32:02 UTC
svn commit: r1891741 - in /subversion/site/staging: site-nav.html
style/site.css
Author: dsahlberg
Date: Thu Jul 22 21:32:02 2021
New Revision: 1891741
URL: http://svn.apache.org/viewvc?rev=1891741&view=rev
Log:
In site/staging:
More mobilefriendlyness fixes.
* style/site.css
Remove redundant coloring of <a> in the menu.
To get a reasonably looking menu a padding-left was introduced on all <a>.
This also affected links that didn't need padding, eg the Subversion book
and the ASF/ALv2 links. Add a new class that removes the padding ...
* site-nav.html
... and use the new nopadding class on these links.
Modified:
subversion/site/staging/site-nav.html
subversion/site/staging/style/site.css
Modified: subversion/site/staging/site-nav.html
URL: http://svn.apache.org/viewvc/subversion/site/staging/site-nav.html?rev=1891741&r1=1891740&r2=1891741&view=diff
==============================================================================
--- subversion/site/staging/site-nav.html (original)
+++ subversion/site/staging/site-nav.html Thu Jul 22 21:32:02 2021
@@ -68,16 +68,16 @@
<p id="site-svnbook-block">
<p>Read the official Subversion
- documentation <a href="https://svnbook.red-bean.com/" class="linkaway">online</a>!</p>
+ documentation <a href="https://svnbook.red-bean.com/" class="linkaway nopadding">online</a>!</p>
<p><a href="https://svnbook.red-bean.com/"
><img src="/images/svnbook-cover.jpg"
alt="Version Control With Subversion"/></a></p>
</p> <!-- #site-svnbook-block -->
<p id="copyright">
-<p>Copyright © 2018 <a href="https://www.apache.org/">The Apache
+<p>Copyright © 2018 <a href="https://www.apache.org/" class="nopadding">The Apache
Software Foundation</a>, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" >Apache
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" class="nopadding">Apache
License, Version 2.0</a>. Apache, Apache Subversion, and
the Apache feather logo are trademarks of The Apache Software
Foundation. Subversion and the Apache Subversion logo are
Modified: subversion/site/staging/style/site.css
URL: http://svn.apache.org/viewvc/subversion/site/staging/style/site.css?rev=1891741&r1=1891740&r2=1891741&view=diff
==============================================================================
--- subversion/site/staging/style/site.css (original)
+++ subversion/site/staging/style/site.css Thu Jul 22 21:32:02 2021
@@ -91,14 +91,16 @@ pre {
}
#site-nav-menu a {
padding-left: 10px;
- color: white;
+ color: blue;
+ }
+
+ /* Used for some links in site-nav.html that shouldn't be padded, eg the Subversion book */
+ #site-nav-menu a.nopadding {
+ padding-left: 0px;
}
#site-nav label, #hamburger { display: none; }
- #site-nav-menu a {
- color: blue;
- }
#site-search {
padding: 0.5em;
}