Stylistic changes
This commit is contained in:
parent
358527f59e
commit
70c941cf0e
2 changed files with 23 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
||||||
--red: #cb0b0b;
|
--red: #cb0b0b;
|
||||||
--blue: #2081c3;
|
--blue: #2081c3;
|
||||||
--transparent-black: #0008;
|
--transparent-black: #0008;
|
||||||
|
--xl: 4em;
|
||||||
--large: 2em;
|
--large: 2em;
|
||||||
--medium: 1em;
|
--medium: 1em;
|
||||||
}
|
}
|
||||||
|
@ -53,6 +54,10 @@ abbr[title] {
|
||||||
text-decoration-color: var(--blue);
|
text-decoration-color: var(--blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-start {
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-vcenter {
|
.flex-vcenter {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -79,6 +84,11 @@ abbr[title] {
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-column-reverse {
|
.flex-column-reverse {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
|
@ -91,6 +101,10 @@ abbr[title] {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wfit-content {
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
.half-width {
|
.half-width {
|
||||||
min-width: 50%;
|
min-width: 50%;
|
||||||
}
|
}
|
||||||
|
@ -143,4 +157,8 @@ abbr[title] {
|
||||||
.inlineIcon {
|
.inlineIcon {
|
||||||
height: var(--medium);
|
height: var(--medium);
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttonPanel>* {
|
||||||
|
margin-top: min(var(--xl), 6vh);
|
||||||
}
|
}
|
|
@ -23,16 +23,17 @@
|
||||||
<img src="/static/nekomata_small.png" alt="Nekomata Logo" class="logo" />
|
<img src="/static/nekomata_small.png" alt="Nekomata Logo" class="logo" />
|
||||||
</header>
|
</header>
|
||||||
<div class="flex-row">
|
<div class="flex-row">
|
||||||
<div class="half-width">
|
<center class="half-width">
|
||||||
<form id="instanceSelectForm"></form>
|
<form id="instanceSelectForm" class="align-start wfit-content"></form>
|
||||||
<br>
|
<br>
|
||||||
<button onclick="showAddInstanceDialog()">Add an instance</button>
|
<button onclick="showAddInstanceDialog()">Add an instance</button>
|
||||||
</div>
|
</center>
|
||||||
<div class="half-width">
|
<div class="half-width">
|
||||||
<div class="flex-hcenter">
|
<div class="flex-hcenter">
|
||||||
<div class="flex-vevenly">
|
<div class="flex-column buttonPanel">
|
||||||
<button id="redirect">Redirect</button>
|
<button id="redirect">Redirect</button>
|
||||||
<button id="redirectAlways">Redirect always</button>
|
<button id="redirectAlways">Redirect always</button>
|
||||||
|
<a href="/">Manage instances</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue