This commit is contained in:
zyqunix 2025-06-12 10:53:21 +02:00
parent 4332e78411
commit 22ad8f2cdb
2 changed files with 8 additions and 11 deletions

View file

@ -8,7 +8,7 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="card shadow">
<div class="cards shadow">
<h1>Binary Translator</h1>
<textarea id="textInput" placeholder="Enter text..." rows="5"></textarea>
<button id="translate-to-binary">Translate to Binary</button>

View file

@ -1,10 +1,7 @@
@import url(/global.css);
.container {
.cards {
text-align: center;
padding: 20px;
border-radius: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}
textarea, input, button {
@ -13,21 +10,21 @@ textarea, input, button {
padding: 10px;
border-radius: 10px;
border: none;
background-color: #333;
color: #f0f0f0;
background-color: var(--surface1);
color: var(--text);
}
textarea {
resize: none;
margin-right: 10px;
}
button {
cursor: pointer;
background-color: #444;
background-color: var(--surface1);
margin-bottom: 20px;
}
button:hover {
background-color: #555;
background-color: var(--surface2);
}