From f7091c040b327acd30476b08b5471333b49229d5 Mon Sep 17 00:00:00 2001 From: ESmink Date: Fri, 22 Dec 2017 14:06:20 +0100 Subject: [PATCH] updated doctable css --- build.py | 4 ++-- src/noprocess/import/style.css | 32 +++++++++++++++++++++++++------- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/build.py b/build.py index 7928cce..9d6bbd7 100755 --- a/build.py +++ b/build.py @@ -58,12 +58,12 @@ def combinePaths(one, two): fl.append(ET.fromstring('' + out + '/doc/' + (title.attrib['name'] + '/' + fl.attrib['name']).replace(' ', '_') + '.html')) # create doctable -docT = '
' +docT = '
' for title in root: docT += '\n\t' for fl in title: docT += '\n\t' -docT = docT.replace('/index.html', '/') + '\n
' + title.attrib['name'] + '
' + fl.attrib['name'] + '
\n' +docT = docT.replace('/index.html', '/') + '\n\n' #register site markdown md = '' diff --git a/src/noprocess/import/style.css b/src/noprocess/import/style.css index 461bbf9..0cfeb12 100755 --- a/src/noprocess/import/style.css +++ b/src/noprocess/import/style.css @@ -206,10 +206,35 @@ a { #docTable { float: left; + border-collapse: collapse; + margin-top: 10px; + position: fixed; + width: 180px; + text-overflow: ellipsis; +} + +#docTable tr { + color: #FFFFFF; + background-color: #2cb9ec; +} + +#docTable tr:nth-child(even) { + background-color: #239dd0; +} + +#docTable a { + color: #FFFFFF; + display: inline-block; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + width: 175px; } #docContent { display: table-cell; + padding-left: 195px; + padding-right: 10px; } #foot { @@ -244,13 +269,6 @@ a { margin-top: -80px; } -#footText { - color: white; - font-size: 12px; - background: #2CB9EC; - padding: 4px; -} - @media screen and (max-width: 1140px) { #APbig{display:none} #APsmall{display:block}