diff --git a/build.py b/build.py index ce442db..ea26256 100755 --- a/build.py +++ b/build.py @@ -78,20 +78,20 @@ def main():
-
@@ -108,6 +108,55 @@ def main(): ''' css_file = os.path.join(css, 'index.css') css_text = f'''\ +body {{ +background: rgb(255,255,255); +color: rgb(0,0,0); +margin: .5em; +}} +body.dark {{ +background: rgb(0,0,0); +color: rgb(160,160,160); +}} + +header {{ +// background-image: url("../img/debian.jpeg"); +}} + +.tabs {{ +display: flex; +flex-wrap: wrap; +}} +.tabs > input {{ +display: none; +}} +.tabs > input:checked + label + div {{ +display: block; +}} +.tabs > label {{ +order: 1; +}} +.tabs > div {{ +display: none; +flex-basis: 100%; +order: 2; +}} + +.tabs {{ +border: 1px solid; +margin: 1em 0; +}} +.tabs > input:checked + label {{ +background-color: gray; +}} +.tabs > label {{ +padding: 10px; +}} +.tabs > div {{ +padding: 10px; +}} + +/******************************************************************************* + @media screen and (max-width: 1200px) {{ html {{ @@ -116,13 +165,10 @@ font-size: 2em; }} -/* * {{ border: 1px solid; }} -/* header {{ background: #800000; }} nav {{ background: #008000; }} section {{ background: #000080; }} -/**/ * {{ box-sizing: border-box; @@ -131,20 +177,13 @@ box-sizing: border-box; }} body {{ -background: rgb(255,255,255); -color: rgb(0,0,0); font-family: sans; font-size: 1.25em; margin: 0 auto; position: relative; }} -body.dark {{ -background: rgb(0,0,0); -color: rgb(160,160,160); -}} header {{ -background-image: url("../img/debian.jpeg"); background-position: center; background-size: cover; padding: 1vh 1vw 0 1vw; @@ -237,40 +276,6 @@ text-align: center; border: none; height: 4em; }} - -/**/ - -.tabs {{ -display: flex; -flex-wrap: wrap; -}} -.tabs > input {{ -display: none; -}} -.tabs > input:checked + label + div {{ -display: block; -}} -.tabs > label {{ -order: 1; -}} -.tabs > div {{ -display: none; -flex-basis: 100%; -order: 2; -}} - -.tabs {{ -border: 1px solid; -}} -.tabs > input:checked + label {{ -background-color: gray; -}} -.tabs > label {{ -padding: 10px; -}} -.tabs > div {{ -padding: 10px; -}} ''' js_file = os.path.join(js, 'index.js') js_text = f'''\