# HG changeset patch # User Laurens Holst # Date 1545521336 -3600 # Sun Dec 23 00:28:56 2018 +0100 # Node ID c89ae8d591e3cff7824d3d72626736e10e0d29c1 # Parent 3053949bc6d909e58d20f96736b662a435096cf7 css: Formatting. diff --git a/css/map.css b/css/map.css --- a/css/map.css +++ b/css/map.css @@ -1,5 +1,7 @@ @media print { - #menu { display: none !important; } + #menu { + display: none !important; + } .toc a:link, .toc a:active, .toc a:visited, .toc a:hover { color: black; @@ -17,6 +19,8 @@ padding: 0; } + + /* Header layout */ #head { @@ -32,6 +36,8 @@ margin: 0; } + + /* Menu layout */ #menu ul { @@ -70,16 +76,17 @@ - /* Body layout */ #content { padding: .75em; } + #content a { color: #D50; text-decoration: none; } + #content a:hover { color: #F70; text-decoration: underline; @@ -104,6 +111,7 @@ color: #444; text-decoration: none; } + #foot a:hover { color: #D50; } @@ -115,6 +123,7 @@ h1, h2, h3 { margin-top: 1.2em; } + h1, h1 + h2, h2 + h3 { margin-top: 0.8em; } @@ -131,6 +140,7 @@ h2 { font-size: 22px; } + h3 { font-size: 18px; } @@ -156,6 +166,7 @@ dt { font-weight: bold; /* render definitions bold */ } + table { empty-cells: show; /* don't hide empty cells */ border-color: #EEF; /* show seperators */ @@ -172,9 +183,11 @@ border-style: solid; border-color: #EEF; /* ensure enough space between cells */ } + th { background: #DDF; /* give headers nice background color */ } + blockquote { margin-left: 0; border-left: 1em solid #DDF; @@ -186,12 +199,15 @@ q::before { /* nice quotation marks... */ content: '“'; } + q::after { content: '”'; } + q:lang(ja)::before { content: '『'; } + q:lang(ja)::after { content: '』'; } @@ -221,6 +237,7 @@ .signed { /* Use for the author at the end of an introduction */ margin-top: 3em; } + .signed::before { content: "\2014\A0" } @@ -253,10 +270,12 @@ font-size: larger; margin-top: 1em; } + .index dd { display: block; margin-left: 2em; } + .indexpage { float: right; } @@ -269,6 +288,7 @@ border-collapse: collapse; empty-cells: show; } + .matrix th, .matrix td { text-align: center; @@ -282,6 +302,7 @@ } + /* show non-html link file types */ a[hreflang]:after {