change theme for header and use grid
This commit is contained in:
parent
28d093ab45
commit
d02bdccc9b
8 changed files with 206 additions and 200 deletions
|
@ -1,12 +1,5 @@
|
|||
.tableau {
|
||||
margin: 4em;
|
||||
margin-bottom: 2em;
|
||||
margin-top: -2em;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid black;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
|
@ -17,3 +10,7 @@ thead {
|
|||
tr:nth-child(even) {
|
||||
background-color: rgb(228, 240, 245);
|
||||
}
|
||||
|
||||
td {
|
||||
border-left: 1px dotted black;
|
||||
}
|
|
@ -1,8 +1,10 @@
|
|||
body {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/*display: flex;
|
||||
flex-direction: column;*/
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
}
|
||||
|
||||
header {
|
||||
|
@ -10,36 +12,43 @@ header {
|
|||
margin-left: 3em;
|
||||
}
|
||||
|
||||
#header-links {
|
||||
margin-top: 2em;
|
||||
header a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
header a {
|
||||
#header-links {
|
||||
margin: 2em 0 2em 3em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
#header-links a {
|
||||
color: black;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
header a:hover {
|
||||
#header-links a:hover {
|
||||
color: white;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
#main {
|
||||
margin: auto;
|
||||
margin-top: 5em;
|
||||
margin-bottom: 5em;
|
||||
width: 50%;
|
||||
flex: 1;
|
||||
margin: 2em 3em 5em 3em;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #304B99;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
grid-column: 1/3;
|
||||
}
|
||||
|
||||
#buttons {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#fsf {
|
||||
justify-self: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#footer-main {
|
||||
|
@ -51,6 +60,7 @@ footer {
|
|||
justify-self: center;
|
||||
margin: 0;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#footer-text a, #footer-text span {
|
||||
|
@ -66,3 +76,7 @@ footer {
|
|||
color: black;
|
||||
text-decoration: underline dotted;
|
||||
}
|
||||
|
||||
#buttons {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue