Styling: let's not over-abuse the external-link icon

This commit is contained in:
Yorhel 2024-01-10 17:13:31 +01:00
parent 4fd2373576
commit 19fd103246
2 changed files with 29 additions and 27 deletions

View file

@ -20,7 +20,9 @@ header li li { margin-top: 6px; margin-bottom: 0 }
header li li a { width: 100% } header li li a { width: 100% }
header li a.tiny { font-size: 11px } header li a.tiny { font-size: 11px }
header li a.small { font-size: 10px } header li a.small { font-size: 10px }
header li a.special:after { content: url(/img/external.gif) } header li a.external:after { content: url(/img/external.gif) }
header li a.fwd:after { content: ' »' }
header li a.back:before { content: '« ' }
header p { margin: 50px 0 0 0; text-align: center } header p { margin: 50px 0 0 0; text-align: center }
header p, header p * { font-size: 9px; text-decoration: none; line-height: 1.8em } header p, header p * { font-size: 9px; text-decoration: none; line-height: 1.8em }
header p a:hover { text-decoration: underline } header p a:hover { text-decoration: underline }

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" href="/style.css" type="text/css" media="all" /> <link rel="stylesheet" href="/style.css?2" type="text/css" media="all" />
<link rel="alternate" type="application/atom+xml" href="/feed.atom" title="Site updates" /> <link rel="alternate" type="application/atom+xml" href="/feed.atom" title="Site updates" />
<style type="text/css"> <style type="text/css">
header .item1-$path1$, header .item2-$path2$, header .item3-$path3$ { color: #03a } header .item1-$path1$, header .item2-$path2$, header .item3-$path3$ { color: #03a }
@ -19,17 +19,17 @@
$if(menu-main)$ $if(menu-main)$
<ul> <ul>
<li><a href="/" class="item1-index">Home</a></li> <li><a href="/" class="item1-index">Home</a></li>
<li><a href="/ncdu" class="special">Ncdu </a></li> <li><a href="/ncdu" class="fwd">Ncdu </a></li>
<li><a href="/ncdc" class="special">Ncdc </a></li> <li><a href="/ncdc" class="fwd">Ncdc </a></li>
<li><a href="/tuwf" class="special">Tuwf </a></li> <li><a href="/tuwf" class="fwd">Tuwf </a></li>
<li><a href="/yxml" class="special">Yxml </a></li> <li><a href="/yxml" class="fwd">Yxml </a></li>
<li><a href="/nginx-confgen" class="special">Nginx-cfg </a></li> <li><a href="/nginx-confgen" class="fwd">Nginx-cfg </a></li>
<li><a href="/sqlbin" class="special">SQLBin </a></li> <li><a href="/sqlbin" class="fwd">SQLBin </a></li>
<li><a href="/torreas" class="special">Torreas </a></li> <li><a href="/torreas" class="fwd">Torreas </a></li>
<li><a href="/ylib" class="item1-ylib">Ylib</a></li> <li><a href="/ylib" class="item1-ylib">Ylib</a></li>
<li><a href="/doc" class="item1-doc">Writing</a></li> <li><a href="/doc" class="item1-doc">Writing</a></li>
<li><a href="/dump" class="item1-dump">Code dump</a></li> <li><a href="/dump" class="item1-dump">Code dump</a></li>
<li><a href="/globster" class="special">Globster </a></li> <li><a href="/globster" class="fwd">Globster </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-globster)$ $if(menu-globster)$
@ -44,7 +44,7 @@
</ul> </ul>
</li> </li>
<li><a href="/globster/api" class="item2-globster-api">API Doc</a> <li><a href="/globster/api" class="item2-globster-api">API Doc</a>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-ncdc)$ $if(menu-ncdc)$
@ -56,8 +56,8 @@
<li><a href="/ncdc/man" class="item2-ncdc-man">Manual</a></li> <li><a href="/ncdc/man" class="item2-ncdc-man">Manual</a></li>
<li><a href="/ncdc/changes" class="item2-ncdc-changes">Changelog</a></li> <li><a href="/ncdc/changes" class="item2-ncdc-changes">Changelog</a></li>
<li><a href="/ncdc/scr" class="item2-ncdc-scr">Screenshots</a></li> <li><a href="/ncdc/scr" class="item2-ncdc-scr">Screenshots</a></li>
<li><a href="https://code.blicky.net/yorhel/ncdc/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/ncdc/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-ncdu)$ $if(menu-ncdu)$
@ -72,8 +72,8 @@
<li><a href="/ncdu/changes2" class="item2-ncdu-changes2">Changes (2.x)</a></li> <li><a href="/ncdu/changes2" class="item2-ncdu-changes2">Changes (2.x)</a></li>
<li><a href="/ncdu/changes" class="item2-ncdu-changes">Changes (1.x)</a></li> <li><a href="/ncdu/changes" class="item2-ncdu-changes">Changes (1.x)</a></li>
<li><a href="/ncdu/scr" class="item2-ncdu-scr">Screenshots</a></li> <li><a href="/ncdu/scr" class="item2-ncdu-scr">Screenshots</a></li>
<li><a href="https://code.blicky.net/yorhel/ncdu/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/ncdu/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-nginx-confgen)$ $if(menu-nginx-confgen)$
@ -82,8 +82,8 @@
<li><a href="/nginx-confgen" class="item2-nginx-confgen">Info</a></li> <li><a href="/nginx-confgen" class="item2-nginx-confgen">Info</a></li>
<li><a href="/nginx-confgen/man" class="item2-nginx-confgen-man">Manual</a></li> <li><a href="/nginx-confgen/man" class="item2-nginx-confgen-man">Manual</a></li>
<li><a href="/nginx-confgen/changes" class="item2-nginx-confgen-changes">Changelog</a></li> <li><a href="/nginx-confgen/changes" class="item2-nginx-confgen-changes">Changelog</a></li>
<li><a href="https://code.blicky.net/yorhel/nginx-confgen/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/nginx-confgen/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-tuwf)$ $if(menu-tuwf)$
@ -103,8 +103,8 @@
</ul> </ul>
</li> </li>
<li><a href="/tuwf/changes" class="item2-tuwf-changes">Changelog</a></li> <li><a href="/tuwf/changes" class="item2-tuwf-changes">Changelog</a></li>
<li><a href="https://code.blicky.net/yorhel/tuwf/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/tuwf/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-yxml)$ $if(menu-yxml)$
@ -112,8 +112,8 @@
<ul> <ul>
<li><a href="/yxml" class="item2-yxml">Info</a></li> <li><a href="/yxml" class="item2-yxml">Info</a></li>
<li><a href="/yxml/man" class="item2-yxml-man">Manual</a></li> <li><a href="/yxml/man" class="item2-yxml-man">Manual</a></li>
<li><a href="https://code.blicky.net/yorhel/yxml/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/yxml/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-torreas)$ $if(menu-torreas)$
@ -122,8 +122,8 @@
<li><a href="/torreas" class="item2-torreas">Info</a></li> <li><a href="/torreas" class="item2-torreas">Info</a></li>
<li><a href="/torreas/man" class="item2-torreas-man">Manual</a></li> <li><a href="/torreas/man" class="item2-torreas-man">Manual</a></li>
<li><a href="/torreas/changes" class="item2-torreas-changes">Changelog</a></li> <li><a href="/torreas/changes" class="item2-torreas-changes">Changelog</a></li>
<li><a href="https://code.blicky.net/yorhel/torreas/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/torreas/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
$if(menu-sqlbin)$ $if(menu-sqlbin)$
@ -131,10 +131,10 @@
<ul> <ul>
<li><a href="/sqlbin" class="item2-sqlbin">Info</a></li> <li><a href="/sqlbin" class="item2-sqlbin">Info</a></li>
<li><a href="/sqlbin/manual" class="item2-sqlbin-manual">Manual</a></li> <li><a href="/sqlbin/manual" class="item2-sqlbin-manual">Manual</a></li>
<li><a href="https://sqlbin.vndb.org/" class="special">Live demo </a></li> <li><a href="https://sqlbin.vndb.org/" class="external">Live demo </a></li>
<li><a href="https://code.blicky.net/yorhel/sqlbin" class="special">Code </a></li> <li><a href="https://code.blicky.net/yorhel/sqlbin" class="external">Code </a></li>
<li><a href="https://code.blicky.net/yorhel/sqlbin/issues" class="special">Issues </a></li> <li><a href="https://code.blicky.net/yorhel/sqlbin/issues" class="external">Issues </a></li>
<li><a href="/" class="small special">Projects home </a></li> <li><a href="/" class="small back">Projects home </a></li>
</ul> </ul>
$endif$ $endif$
<ul> <ul>