50projects50days/event-keycodes/dark-style.css

45 lines
777 B
CSS
Raw Normal View History

2020-10-12 14:41:22 +00:00
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
* {
box-sizing: border-box;
2020-10-12 14:41:22 +00:00
}
body {
background-color: #383838;
2020-10-12 14:41:22 +00:00
font-family: 'Muli', sans-serif;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
overflow: hidden;
margin: 0;
}
.key {
border: 1px solid #999999;
background-color: #2B2B2B;
2020-10-12 14:41:22 +00:00
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
display: inline-flex;
align-items: center;
font-size: 20px;
font-weight: bold;
padding: 20px;
flex-direction: column;
margin: 10px;
min-width: 150px;
color: white;
2020-10-12 14:41:22 +00:00
position: relative;
}
.key small {
position: absolute;
top: -24px;
left: 0;
text-align: center;
width: 100%;
color: #c4c4c4;
2020-10-12 14:41:22 +00:00
font-size: 14px;
}