This commit is contained in:
Marc Beninca 2023-07-01 03:24:45 +02:00
parent d5bdefcf96
commit a3785525ec

View file

@ -160,7 +160,9 @@ color: rgb(160,160,160);
}} }}
header {{ header {{
// background-image: url("../img/debian.jpeg"); background-image: url("../img/debian.jpeg");
background-position: center;
background-size: cover;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
}} }}
@ -196,6 +198,7 @@ border-color: rgb(128,128,128);
border-radius: .5em; border-radius: .5em;
border-style: solid; border-style: solid;
border-width: 1px 1px 0 1px; border-width: 1px 1px 0 1px;
font-weight: bold;
margin: 0; margin: 0;
padding: .5em 1.5em; padding: .5em 1.5em;
}} }}
@ -205,8 +208,15 @@ padding: 1em 0 0 0;
}} }}
a {{ a {{
color: rgb(0,192,192);
text-decoration: none; text-decoration: none;
}} }}
a:hover {{
color: rgb(192,0,0);
}}
a:visited {{
color: rgb(0,160,160);
}}
img {{ img {{
border: 1px solid; border: 1px solid;
@ -215,6 +225,26 @@ border-radius: 1em;
height: 8em; 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 {{ .cards {{
display: flex; display: flex;
}} }}
@ -230,10 +260,6 @@ height: 4em;
/******************************************************************************* /*******************************************************************************
header {{ background: #800000; }}
nav {{ background: #008000; }}
section {{ background: #000080; }}
* {{ * {{
box-sizing: border-box; box-sizing: border-box;
//margin: 0; //margin: 0;
@ -241,70 +267,14 @@ box-sizing: border-box;
}} }}
body {{ body {{
font-family: sans;
font-size: 1.25em; 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 {{ nav a {{
#color: rgb(128,128,0); #color: rgb(128,128,0);
font-weight: bold;
padding: .25em .5em; padding: .25em .5em;
//transition: all .5s; //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_file = os.path.join(js, 'index.js')
js_text = f'''\ js_text = f'''\