Initial commit, basic pages and sessions.

This commit is contained in:
2023-05-29 00:54:17 +02:00
commit bc9fec207b
57 changed files with 15967 additions and 0 deletions

48
assets/css/forms.css Normal file
View File

@@ -0,0 +1,48 @@
.form {
width: 100%;
max-width: 30rem;
display: flex;
flex-direction: column;
}
.form-section {
margin-bottom: 1rem;
}
.form-row {
display: flex;
flex-wrap: wrap;
margin-bottom: .5rem;
.input {
flex-grow: 1;
}
}
.form-column {
display: flex;
flex-grow: 1;
flex-direction: column;
min-width: 10rem;
}
.form-actions {
display: flex;
margin-bottom: .5rem;
justify-content: flex-end;
margin-top: .5rem;
}
.form-heading {
color: var(--primary-light-10);
margin: 0 0 .75rem 0;
}
.form-error {
background: var(--error);
color: var(--text-light);
padding: 1rem;
border-radius: .25rem;
text-align: center;
font-weight: bold;
}

44
assets/css/inputs.css Normal file
View File

@@ -0,0 +1,44 @@
.input {
padding: .5rem .75rem;
font-size: 1rem;
flex-basis: 0;
border: solid 1px var(--grey-light-30);
border-radius: .25rem;
font: inherit;
&:focus {
outline: none;
border-color: var(--primary-light-30);
}
}
.button {
padding: .5rem 1rem;
border: none;
border-radius: .25rem;
background: var(--grey-light-30);
font-size: 1rem;
font-weight: bold;
&:focus {
outline: none;
}
}
.button-submit {
background: var(--primary-light-30);
color: var(--text-light);
&:hover:not(:disabled) {
background: var(--primary);
cursor: pointer;
}
&:disabled {
background: var(--shadow-weak-10);
}
}
.radio {
margin: 0 .5rem 0 0;
}

21
assets/css/markdown.css Normal file
View File

@@ -0,0 +1,21 @@
.markdown-body {
margin: 0 auto;
max-width: 50rem;
flex-grow: 1;
padding: 1rem;
line-height: 1.5;
text-align: justify;
& h1 {
margin: 0;
}
& h2 {
color: var(--primary);
margin: 1rem 0 0 0;
}
& p {
margin: 0;
}
}

36
assets/css/states.css Executable file
View File

@@ -0,0 +1,36 @@
.noselect {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-tap-highlight-color: transparent;
}
.nolist {
list-style: none;
padding: 0;
margin: 0;
li {
display: inline-block;
padding: 0;
margin: 0;
}
}
.nolink {
display: inline-block;
color: inherit;
text-decoration: none;
}
.nobar {
scrollbar-width: none;
-mis-overflow-style: none;
&::-webkit-scrollbar {
background: transparent;
width: 0px;
height: 0px;
}
}

31
assets/css/style.css Normal file
View File

@@ -0,0 +1,31 @@
@import 'theme';
@import 'states';
@import 'inputs';
@import 'forms';
@import 'markdown';
html,
body,
#app {
height: 100%;
}
body {
margin: 0;
color: var(--text);
font-family: sans-serif;
}
.link {
color: var(--link);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.heading {
margin: 0 0 1rem 0;
color: var(--primary-light-20);
}

34
assets/css/theme.css Normal file
View File

@@ -0,0 +1,34 @@
:root {
--primary: hsl(300, 100%, 30%);
--primary-light-10: hsl(300, 50%, 40%);
--primary-light-20: hsl(300, 50%, 50%);
--primary-light-30: hsl(300, 50%, 60%);
--grey-dark-40: #222;
--grey-dark-30: #444;
--grey-dark-20: #666;
--grey-dark-10: #888;
--grey: #aaa;
--grey-light-10: #bbb;
--grey-light-20: #ccc;
--grey-light-30: #ddd;
--grey-light-40: #eee;
--background-dark-20: #eee;
--background-dark-10: #f8f8f8;
--background: #fff;
--shadow-weak-30: rgba(0, 0, 0, .1);
--shadow-weak-20: rgba(0, 0, 0, .2);
--shadow-weak-10: rgba(0, 0, 0, .35);
--shadow: rgba(0, 0, 0, .5);
--shadow-strong-10: rgba(0, 0, 0, .6);
--shadow-strong-20: rgba(0, 0, 0, .75);
--shadow-strong-30: rgba(0, 0, 0, .9);
--text: #222;
--text-light: #fff;
--link: #48f;
--error: #f66;
}