144 lines
1.7 KiB
Plaintext
144 lines
1.7 KiB
Plaintext
@bg1: #282828;
|
|
@bg2: #202020;
|
|
@bg3: #333;
|
|
|
|
@text1: #d5c4a1;
|
|
@text2: #f7edd7;
|
|
|
|
@error: #fb4934;
|
|
@color1: #fb4934;
|
|
@color2: #fabd2f;
|
|
@color3: #b8bb26;
|
|
@color4: #3f9da1;
|
|
@color5: #fe8019;
|
|
|
|
@bold: 800;
|
|
|
|
.lighterOrDarker(@color, @amount) {
|
|
@result: lighten(@color, @amount);
|
|
}
|
|
|
|
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
|
|
[onClick] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background: @bg1;
|
|
font-family: sans-serif;
|
|
font-weight: 300;
|
|
color: @text1;
|
|
font-size: 11pt;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin-bottom: 4px;
|
|
&:first-child {
|
|
margin-top: 0px;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5em;
|
|
color: @color1;
|
|
font-weight: @bold;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.25em;
|
|
color: @color3;
|
|
font-weight: @bold;
|
|
}
|
|
|
|
a {
|
|
color: @color4;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
b {
|
|
font-weight: @bold;
|
|
}
|
|
|
|
input[type="text"],
|
|
textarea,
|
|
select {
|
|
font-family: monospace;
|
|
background: @bg2;
|
|
color: @text1;
|
|
padding: 4px 8px;
|
|
border: none;
|
|
font-size: 1em;
|
|
line-height: 1.5em; // fix for chrome hiding underscores
|
|
}
|
|
|
|
button {
|
|
background: @bg2;
|
|
color: @text1;
|
|
padding: 8px 32px;
|
|
border: 1px solid lighten(@bg2, 20%);
|
|
font-size: 1em;
|
|
height: 3em;
|
|
|
|
&:focus {
|
|
background: @bg3;
|
|
}
|
|
}
|
|
|
|
.line {
|
|
grid-column: 1 / -1;
|
|
border-bottom: 1px solid .lighterOrDarker(@bg1, 15%)[@result];
|
|
}
|
|
|
|
span.date {
|
|
color: @text1;
|
|
font-weight: @bold;
|
|
}
|
|
|
|
span.time {
|
|
font-size: 0.9em;
|
|
color: @text1;
|
|
}
|
|
|
|
span.seconds {
|
|
display: none;
|
|
}
|
|
|
|
label {
|
|
user-select: none;
|
|
}
|
|
|
|
.description {
|
|
border: 1px solid .lighterOrDarker(@bg3, 25%)[@result];
|
|
color: @color4;
|
|
background: @bg2;
|
|
padding: 4px 8px;
|
|
margin-top: 8px;
|
|
white-space: nowrap;
|
|
width: min-content;
|
|
border-radius: 8px;
|
|
}
|