193 lines
3.7 KiB
CSS
193 lines
3.7 KiB
CSS
@font-face { font-family: Author; src: url('fonts/CipherFontA.ttf'); }
|
|
@font-face { font-family: Bills_Symbols; src: url('fonts/CipherFontB.ttf'); }
|
|
@font-face { font-family: SECRETCODE; src: url('fonts/SECRETCODE.otf'); }
|
|
@font-face { font-family: Runes; src: url('fonts/Strange Runes.ttf'); }
|
|
@font-face { font-family: Theraprism; src: url('fonts/Theraprism.otf'); }
|
|
@font-face { font-family: Alchemic; src: url('fonts/alchemic.otf'); }
|
|
@font-face { font-family: Combined; src: url('fonts/journal3.otf'); }
|
|
|
|
|
|
body {
|
|
/* font-family: 'Arial', 'Times New Roman', 'Verdana', local('CipherFontA'), local('fonts/CipherFontB'), local('SECRETCODE'), local('Strange Runes'), local('Theraprism'); */
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: #c9c6c6;
|
|
background-color: #222;
|
|
padding: 20px;
|
|
/* animation: crt-flicker 2s infinite; */
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#keyboard {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
padding: 20px;
|
|
background-color: #333;
|
|
border-radius: 10px;
|
|
width: 30%;
|
|
/* min-width: ; */
|
|
/* height: 300px; */
|
|
margin: auto;
|
|
}
|
|
|
|
.key {
|
|
padding: 10px;
|
|
font-size: 2.5rem;
|
|
text-align: center;
|
|
background-color: #444;
|
|
/* background-image: linear-gradient(to bottom, transparent 70%, #00c3e6 70%); */
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
width: 50px;
|
|
user-select: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-drag: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
}
|
|
.key:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
#output {
|
|
padding: 10px;
|
|
font-size: 1.5rem;
|
|
text-wrap: wrap;
|
|
overflow: scroll;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
background-color: #333;
|
|
max-width: 80%;
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif !important;
|
|
}
|
|
|
|
#clear-output {
|
|
padding: 10px;
|
|
font-size: 2rem;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
background-color: #444;
|
|
color: #fff;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#clear-output:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
#font-name-tabs {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
font-size: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tab {
|
|
padding: 5px 10px;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.tab:hover {
|
|
background-color: #555;
|
|
color: white;
|
|
}
|
|
|
|
.active {
|
|
background-color: #444;
|
|
}
|
|
|
|
#undo-button{
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif !important;
|
|
/* width: 100px; */
|
|
flex-grow: 1.2;
|
|
min-width: fit-content;
|
|
}
|
|
|
|
#spacebar{
|
|
/* display:flex;
|
|
justify-self: center;
|
|
margin-bottom: 20px; */
|
|
/* color: white; */
|
|
min-width: fit-content;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-grow: 2;
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif !important;
|
|
}
|
|
|
|
.active {
|
|
background-color: #444;
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
|
|
#output-container {
|
|
/* text-wrap: wrap; */
|
|
padding: 10px;
|
|
font-size: 1.5rem;
|
|
max-width: 80%;
|
|
overflow: scroll;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
background-color: #333;
|
|
/* font-family: inherit; */
|
|
}
|
|
|
|
.Author{
|
|
font-family: Author;
|
|
}
|
|
.Bills_Symbols{
|
|
font-family: Bills_Symbols;
|
|
}
|
|
.SECRETCODE{
|
|
font-family: SECRETCODE;
|
|
}
|
|
.Runes{
|
|
font-family: Runes;
|
|
}
|
|
.Theraprism{
|
|
font-family: Theraprism;
|
|
}
|
|
.Alchemic{
|
|
font-family: Alchemic;
|
|
}
|
|
.Combined{
|
|
font-family: Combined;
|
|
}
|
|
.Veranda{
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
}
|
|
|
|
@media screen and (max-width: 2000px) {
|
|
#keyboard {
|
|
/* max-width: 100%; */
|
|
min-width: 320px;
|
|
height: auto;
|
|
}
|
|
|
|
.key {
|
|
width: 30px;
|
|
}
|
|
} |