66 lines
1018 B
CSS
66 lines
1018 B
CSS
body {
|
|
margin: 0;
|
|
background: transparent;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.keyboard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.key {
|
|
height: 45px;
|
|
background: #222;
|
|
border: 2px solid #555;
|
|
border-radius: 6px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.active {
|
|
background: #00ff88;
|
|
box-shadow: 0 0 12px #00ff88;
|
|
}
|
|
|
|
.w1 { width: 45px; }
|
|
.w1_25 { width: 57px; }
|
|
.w1_5 { width: 69px; }
|
|
.w1_75 { width: 81px; }
|
|
.w2 { width: 93px; }
|
|
.w2_25 { width: 105px; }
|
|
.w2_75 { width: 129px; }
|
|
.w6_25 { width: 289px; }
|
|
|
|
.base {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 6px;
|
|
font-size: 11px;
|
|
color: white;
|
|
}
|
|
|
|
.shift {
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 6px;
|
|
font-size: 10px;
|
|
color: #bbb;
|
|
}
|
|
|
|
.tux-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
position: absolute;
|
|
} |