[latex3-commits] [git/LaTeX3-latex3-babel] docs: Menu. (9509a0e)
Javier
email at dante.de
Thu Jun 10 15:45:20 CEST 2021
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/9509a0ef313a01aae66691a3ab5e9dc81a6a643a
>---------------------------------------------------------------
commit 9509a0ef313a01aae66691a3ab5e9dc81a6a643a
Author: Javier <email at localhost>
Date: Thu Jun 10 15:45:20 2021 +0200
Menu.
>---------------------------------------------------------------
9509a0ef313a01aae66691a3ab5e9dc81a6a643a
docs/_includes/menu.html | 61 +++++++++++++++++++++++++++++++++-
docs/_layouts/default.html | 2 +-
docs/assets/css/style.css | 82 +++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 142 insertions(+), 3 deletions(-)
diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index bf679de..c6c2b2e 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -1 +1,60 @@
-<!-- menu here -->
\ No newline at end of file
+<!-- Menu -->
+<div id="container">
+ <nav class="top">
+ <ul>
+ <li><a id="mainlink" href="index.html">⌂</a></li>
+ <!-- -->
+ <li><a href="#">News</a>
+ <ul>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.60.html">3.60</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.59.html">3.59</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.58.html">3.58</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.57.html">3.57</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.56.html">3.56</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.55.html">3.55</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.54.html">3.54</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.53.html">3.53</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.52.html">3.52</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.51.html">3.51</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.50.html">3.50</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.49.html">3.49</a></li>
+ <!--
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.48.html">3.48</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.47.html">3.47</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.46.html">3.46</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.45.html">3.45</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.44.html">3.44</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.43.html">3.43</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.42.html">3.42</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.41.html">3.41</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.40.html">3.40</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.39.html">3.39</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.38.html">3.38</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.37.html">3.37</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.36.html">3.36</a></li>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.35.html">3.35</a></li>
+ -->
+ </ul></li>
+ <!-- -->
+ <li><a href="#">Guides</a>
+ <ul>
+ <li><a href="https://latex3.github.io/babel/guides/which-method-for-which-language.html">Which method for which language</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/non-standard-hyphenation-with-luatex.html">Non-standard hyphenation with luatex</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/using-babelprovide-to-modify-or-extend-locales.html">Using \babelprovide to modify or extend locales</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/useful-links-to-tex.stackexchange.html">Useful links to tex.strackexchange</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/keys-in-ini-files.html">Keys in ini files</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/old-and-deprecated-functions.html">Old and deprecated functions</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/list-of-locale-templates.html">List of locale templates</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/using-babel-with-plain.html">Using babel with plain</a></li>
+ </ul>
+ </li>
+ <!--
+ <li><a href="#">Languages</a>
+ <ul>
+ <li><a href=""></a></li>
+ </ul>
+ </li>
+ -->
+ </ul>
+ </nav>
+</div>
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 8243dad..cb826f9 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -39,8 +39,8 @@
</section>
</div>
- <!-- FOOTER -->
{% include menu.html %}
+ <!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
diff --git a/docs/assets/css/style.css b/docs/assets/css/style.css
index 491a5ca..b771d92 100644
--- a/docs/assets/css/style.css
+++ b/docs/assets/css/style.css
@@ -639,7 +639,7 @@ form {
}
#header_wrap .inner {
- padding: 50px 10px 30px 10px
+ /* padding: 50px 10px 30px 10px */
}
#project_title {
@@ -798,3 +798,83 @@ form {
font-size: 11px
}
}
+
+nav.top {
+ margin: 130px 0;
+ background-color: #007070;
+ position: absolute;
+ top: 6mm;
+ padding-left: 15px;
+ right: 0;
+ left: 0;
+}
+
+nav.top ul {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+ position: relative;
+ }
+
+nav.top ul li {
+ display:inline-block;
+ background-color: #007070;
+ }
+
+nav.top a {
+ display:block;
+ padding:0 10px;
+ color:#fff;
+ font-size:18px;
+ line-height: 40px;
+ text-decoration:none;
+}
+
+nav.top ul ul a {
+ display:block;
+ padding:0 16px;
+ color:#fff;
+ font-size:18px;
+ line-height: 40px;
+ text-decoration:none;
+}
+
+nav.top a:hover {
+ background-color: #687;
+}
+
+nav.top ul ul {
+ display: none;
+ position: absolute;
+ top: 39px; /* the height of the main nav.top */
+}
+
+ at media (max-width:700px){
+ nav.top{top:15pt}
+ nav.top a {padding:0 7px; font-size:16px; line-height: 35px;}
+ nav.top ul ul{top: 34px;}
+ a#mainlink, a#contactlink{display:none}
+ nav.top ul li {display:inline-block;}
+}
+
+/* Display Dropdowns on Hover */
+nav.top ul li:hover > ul {
+ display:inherit;
+}
+
+nav.top ul ul li {
+ min-width:200px;
+ float:none;
+ display:list-item;
+ position: relative;
+}
+
+nav.top ul ul ul li {
+ position: relative;
+ top:-60px;
+ left:200px;
+}
+
+/* nav.top li > a:after { content: ' ▾'; } */
+nav.top li ul li > a:after { content: ' ▸'; }
+nav.top li > a:only-child:after { content: ''; }
\ No newline at end of file
More information about the latex3-commits
mailing list.