From 669fd99724492f9c8983f414b43e7dfb7bec0dd0 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Tue, 21 Feb 2017 00:50:09 +0100 Subject: Add theme_overrrides.css Move WhatIs* to About. Move About, Contributing and Copying to doc. Rename Copying to License. Append CC-BY-SA-4.0 legalcode to COPYING.md Chapter Introduction ready for review. Starting to rewrite Building --- doc/_static/theme_overrides.css | 65 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 doc/_static/theme_overrides.css (limited to 'doc/_static') diff --git a/doc/_static/theme_overrides.css b/doc/_static/theme_overrides.css new file mode 100644 index 000000000..cb4555384 --- /dev/null +++ b/doc/_static/theme_overrides.css @@ -0,0 +1,65 @@ +/* Change font sizes*/ +html,body{font-size:98%;} +p{font-size:95%} +.wy-breadcrumbs li.wy-breadcrumbs-aside{font-size:95%} +.rst-versions{font-size:50%} +.rst-versions .rst-current-version {font-size: 165%} +.rst-versions dd{font-size:175%} +footer {font-size: 75%;} +.rst-footer-buttons {font-size: 140%;} + +/*Header and footer margins*/ +footer p {margin-bottom: 0px} +footer hr {margin-bottom: 10px} +[role=navigation] hr {margin-top: 5px} + +/*Do not center main content and allow wider display*/ +.wy-nav-content{margin: auto; max-width: 1020px} + +/*Shrink left nav to 260px*/ +.wy-nav-side,.rst-versions,.wy-side-nav-search,.wy-menu-vertical{width: 260px} +.wy-nav-content-wrap{margin-left:260px;background:#fcfcfc;min-height:100%} +@media screen and (max-width: 768px){ + .wy-nav-top i {padding-top:7px} + .wy-nav-content-wrap{margin-left:0px} + .wy-nav-content-wrap.shift{margin-left:265px;position: static;} + .wy-nav-side.shift{width:265px;padding-bottom: 40px;} + .rst-versions{width:265px} + .wy-side-scroll{width:260px;} +} + +/*Fix shields in small screens*/ +@media screen and (max-width: 768px){img{width: auto}} +/*Fix shield sizes in WhoUsesGHDL*/ +.whouses>.wy-table-responsive img {width:auto;height:20px !important;;display:inline} +.whouses>.wy-table-responsive td {text-align:center} +.whouses>.wy-table-responsive>table>thead th{min-width:130px !important} +.whouses>.wy-table-responsive td:last-child{text-align: left} + +/*Remove 1 indentation space in the sidemenu items*/ +.wy-menu-vertical li.current a, .wy-menu-vertical li.toctree-l2.current > a{padding:0.4045em 1.618em} +.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a{padding: 0.4045em 1.8em} + +/*Remove empty add*/ +div.wy-menu.rst-pro{display: none !important;max-width: 260px} + +/*Simplify 'versions' tab*/ +.rst-versions dt{display:none} +.rst-versions dd a[href$='.rst'] {display: none} +.rst-versions dd a[href$='/downloads/'] {display: none} +.rst-versions .wy-form{display:none !important;} +.rst-versions .rst-other-versions dd a{padding: 3px} +.rst-versions .rst-other-versions strong dd a{color: #27AE60} +.rst-versions .rst-other-versions hr{margin: 5px 0; margin-top: -14px} + +.rst-versions {border-top: none} + +/*Last doc build date*/ +.lastdocbuilddate {position:fixed;padding-top:30px;font-size:70%;color:#999} + +/*Reduce space between footnotes*/ +.footnotes > .wy-table-responsive {margin-top:-12px;margin-bottom:12px} + +/* Set text justification in paragraphs and list items to fully justified [borrowed from PoC-Library]*/ +.section p {text-align:justify;} +.simple li {text-align:justify;} \ No newline at end of file -- cgit v1.2.3