mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 14:00:31 +02:00
binary
This commit is contained in:
parent
4332e78411
commit
22ad8f2cdb
2 changed files with 8 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
@import url(/global.css);
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
|
||||
.cards {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue