diff --git a/build.py b/build.py index baf80e7..4f8f8d3 100755 --- a/build.py +++ b/build.py @@ -160,7 +160,9 @@ color: rgb(160,160,160); }} header {{ -// background-image: url("../img/debian.jpeg"); +background-image: url("../img/debian.jpeg"); +background-position: center; +background-size: cover; display: flex; flex-wrap: wrap; }} @@ -196,6 +198,7 @@ border-color: rgb(128,128,128); border-radius: .5em; border-style: solid; border-width: 1px 1px 0 1px; +font-weight: bold; margin: 0; padding: .5em 1.5em; }} @@ -205,8 +208,15 @@ padding: 1em 0 0 0; }} a {{ +color: rgb(0,192,192); text-decoration: none; }} +a:hover {{ +color: rgb(192,0,0); +}} +a:visited {{ +color: rgb(0,160,160); +}} img {{ border: 1px solid; @@ -215,6 +225,26 @@ border-radius: 1em; height: 8em; }} +table {{ +empty-cells: hide; +}} +th,td {{ +border-radius: .2em; +}} +th:hover,td:hover {{ +background: rgb(48,0,0); +}} +th {{ +background: rgb(64,64,64); +color: rgb(128,128,0); +}} +td {{ +background: rgb(48,48,48); +border: 1px solid; +border-color: rgb(192,192,192); +text-align: center; +}} + .cards {{ display: flex; }} @@ -230,10 +260,6 @@ height: 4em; /******************************************************************************* -header {{ background: #800000; }} -nav {{ background: #008000; }} -section {{ background: #000080; }} - * {{ box-sizing: border-box; //margin: 0; @@ -241,70 +267,14 @@ box-sizing: border-box; }} body {{ -font-family: sans; font-size: 1.25em; -margin: 0 auto; -position: relative; -}} - -header {{ -background-position: center; -background-size: cover; -width: 100%; -}} - -section {{ -min-height: 100vh; -padding: 7em 1vw 1vh 1vw; -position: absolute; -top: 0; -width: 100%; -}} -section:not(:target) {{ -display: none; -}} -section:target {{ -display: block; -}} - -nav {{ -display: flex; -flex-wrap: wrap; }} nav a {{ #color: rgb(128,128,0); -font-weight: bold; padding: .25em .5em; //transition: all .5s; }} - -a {{ -color: rgb(0,192,192); -}} -a:hover {{ -color: rgb(192,0,0); -}} -a:visited {{ -color: rgb(0,160,160); -}} - -table {{ -empty-cells: hide; -}} -th,td {{ -border-radius: .2em; -}} -th {{ -background: rgb(64,64,64); -color: rgb(128,128,0); -}} -td {{ -background: rgb(48,48,48); -border: 1px solid; -border-color: rgb(192,192,192); -text-align: center; -}} ''' js_file = os.path.join(js, 'index.js') js_text = f'''\