style: Update top bar
Style the topbar to make it more useful in the future. Style the login element to make the form vertical and properly aligned, in order for it to fit well on both desktop and mobile. Small adjustment to the truth editor style to space it out a little bit.
This commit is contained in:
parent
fb115e1bba
commit
d79375365d
1 changed files with 33 additions and 0 deletions
|
@ -2,9 +2,21 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top_bar_side {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top_bar_side > * {
|
||||||
|
padding: 0 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.truth_page_body {
|
.truth_page_body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -41,6 +53,10 @@
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.truth_edit_form {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.graph {
|
.graph {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -85,6 +101,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login > * {
|
||||||
|
padding-bottom: 0.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login > label {
|
||||||
|
align-self: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login > b {
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
/* Global styling */
|
/* Global styling */
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
Loading…
Add table
Reference in a new issue