vail/static/vail.css

142 lines
1.8 KiB
CSS
Raw Normal View History

2020-04-20 22:12:30 -06:00
.flex {
2020-04-10 10:23:40 -06:00
display: flex;
flex-wrap: wrap;
2020-04-20 22:12:30 -06:00
align-items: flex-start;
justify-content: space-around;
}
2020-04-26 15:46:37 -06:00
.mdl-card {
margin: 0.5em;
}
2020-04-20 22:12:30 -06:00
.key {
width: 100%;
height: 6em;
2020-04-10 08:27:35 -06:00
}
2020-04-26 21:43:55 -06:00
.center {
text-align: center;
}
.maximize {
position: absolute;
bottom: 0;
right: 0;
}
.maximized .key {
height: 90vh;
}
.maximized {
width: 90vw;
}
2020-04-26 21:43:55 -06:00
.wide {
width: 100%;
}
.hidden {
visibility: none;
}
2020-05-01 15:07:09 -06:00
#errors {
color: rgba(127, 0, 0, .54);
max-height: 5em;
overflow-y: scroll;
}
@keyframes yellow-fade {
0% {background: yellow;}
100% {background: none;}
}
#errors p {
margin: 0;
animation: yellow-fade 2s ease-in 1;
}
kbd {
background-color: #eee;
border: 1px solid #bbb;
border-radius: 3px;
font-size: 9pt;
padding: .1em .6em;
2021-04-25 22:16:06 -06:00
cursor: default;
vertical-align: top;
2020-05-19 08:21:33 -06:00
}
2021-04-25 22:16:06 -06:00
kbd.gamepad {
2020-05-19 08:21:33 -06:00
color: white;
font-weight: bold;
background-color: #444;
border-radius: 50%;
height: 10px;
width: 10px;
}
2021-04-25 22:16:06 -06:00
img.gamepad {
height: 1.5em;
vertical-align: baseline;
2020-05-01 15:07:09 -06:00
}
2020-04-10 08:27:35 -06:00
code {
background-color: #333;
color: #fff;
padding: 0.1em;
}
2020-04-10 10:23:40 -06:00
img {
max-width: 20em;
}
2020-05-01 15:07:09 -06:00
.mdl-card__supporting-text {
max-height: 20em;
overflow-y: scroll;
}
2020-05-17 12:52:25 -06:00
.mdl-card__supporting-text.long {
max-height: inherit;
}
#recv {
2021-04-27 12:42:06 -06:00
width: 2em;
height: 1em;
line-height: 1em;
position: absolute;
2021-04-27 12:42:06 -06:00
top: 0.5em;
right: 1em;
2021-04-27 12:42:06 -06:00
border-radius: 0.3em;
text-align: center;
vertical-align: middle;
}
#recv.rx {
background-color: orange;
}
.input-methods td {
text-align: left;
}
2020-05-17 12:52:25 -06:00
2020-05-17 16:58:07 -06:00
#morse-tree table {
2020-05-17 12:52:25 -06:00
width: 100%;
}
2020-05-17 16:58:07 -06:00
#morse-tree tr {
2020-05-17 12:52:25 -06:00
height: 1.4em;
text-align: center;
font-family: monospace;
}
2020-05-17 16:58:07 -06:00
#morse-tree tr,
#morse-tree td:nth-child(n+2) {
2020-05-17 12:52:25 -06:00
background: #eee;
}
2020-05-21 20:32:36 -06:00
#morse-tree tr:nth-child(n+2),
#morse-tree td.dah {
2020-05-17 12:52:25 -06:00
background: #ddd;
2020-05-17 16:58:07 -06:00
}
#morse-list span {
font-family: monospace;
2020-05-17 16:58:07 -06:00
display: inline-block;
background: #eee;
margin: 1px;
padding: 0.4em;
min-width: 4em;
}