smon/static/less/theme.less

107 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-04-29 08:36:13 +02:00
@bg1: #282828;
@bg2: #202020;
@bg3: #333;
@text1: #d5c4a1;
@text2: #f7edd7;
@error: #fb4934;
@color1: #fb4934;
2024-04-30 08:04:16 +02:00
@color2: #fabd2f;
@color3: #b8bb26;
@color4: #3f9da1;
@color5: #fe8019;
@bold: 500;
2024-04-29 08:36:13 +02:00
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: "Roboto", sans-serif;
2024-04-30 08:04:16 +02:00
font-weight: 300;
2024-04-29 08:36:13 +02:00
color: @text1;
font-size: 11pt;
}
h1, h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1 {
font-size: 1.5em;
color: @color1;
}
h2 {
font-size: 1.25em;
}
2024-04-30 08:04:16 +02:00
a {
color: @color4;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
b {
font-weight: @bold;
}
2024-04-29 08:36:13 +02:00
.roboto-light {
font-family: "Roboto", sans-serif;
font-weight: 300;
font-style: normal;
}
.roboto-medium {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
}
2024-04-30 08:04:16 +02:00
input[type="text"], textarea, select {
2024-04-29 08:36:13 +02:00
font-family: "Roboto Mono", monospace;
background: @bg2;
color: @text1;
padding: 4px 8px;
border: none;
font-size: 1em;
}
button {
background: @bg2;
color: @text1;
padding: 8px 32px;
border: 1px solid lighten(@bg2, 10%);
font-size: 1em;
height: 3em;
2024-04-30 08:04:16 +02:00
&:focus {
background: @bg3;
}
2024-04-29 08:36:13 +02:00
}