2024-08-15 19:41:13 -04:00

84 lines
1.7 KiB
CSS

@font-face { font-family: CipherFontA; src: url('fonts/CipherFontA.ttf'); }
@font-face { font-family: CipherFontB; src: url('fonts/CipherFontB.ttf'); }
@font-face { font-family: SECRETCODE; src: url('fonts/SECRETCODE.otf'); }
@font-face { font-family: Strange Runes; src: url('fonts/Strange Runes.ttf'); }
@font-face { font-family: Theraprism; src: url('fonts/Theraprism.otf'); }
body {
font-family: 'Arial', 'Times New Roman', 'Verdana', local('CipherFontA'), local('fonts/CipherFontB'), local('SECRETCODE'), local('Strange Runes'), local('Theraprism');
display: flex;
flex-direction: column;
align-items: center;
}
#keyboard {
display: grid;
grid-template-columns: repeat(10, 1fr);
gap: 5px;
padding: 10px;
background-color: #eee;
border-radius: 5px;
}
.key {
width: 100%;
height: 50px;
border: 1px solid black;
border-radius: 5px;
background-color: white;
font-size: 40px;
text-align: center;
line-height: 50px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
#output {
width: 300px;
height: 100px;
margin: 40px;
padding: 10px;
border: 1px solid black;
border-radius: 5px;
font-size: 20px;
font-family: 'Times New Roman', Times, serif !important;
}
.font-name-tab {
font-weight: bold;
background-color: #eee;
border: 1px solid #ccc;
padding: 5px;
margin: 5px;
}
@media screen and (max-width: 768px) {
#keyboard {
grid-template-columns: repeat(5, 1fr);
}
}
#clear-output {
margin: 20px;
padding: 10px;
border: 1px solid black;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
}
#font-name-tabs {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#keyboard {
margin-top: 20px;
}