Skip to content

Commit

Permalink
1 file added, 1 file edited
Browse files Browse the repository at this point in the history
  • Loading branch information
Croc-Prog-github committed Feb 9, 2024
1 parent b626555 commit 35aabec
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
10 changes: 10 additions & 0 deletions cons/console.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.name_console {
user-select: none;
outline-style: none;
/* border-top-right-radius: 7px; */
/* border-top-left-radius: 7px; */
border-style: none;
background: black;
color: white;
white-space: nowrap;
}
29 changes: 19 additions & 10 deletions cons/console.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,28 @@
<html>
<head>
<title>Console</title>
<link rel="stylesheet" href="console.css">
<script>document.addEventListener("contextmenu", function (e) {e.preventDefault();});</script>
</head>
<body style="background: black; color: white; font-family: monospace; cursor: url(/cons/mouse.svg), default; display: flex; flex-direction: column; justify-content: flex-end;">
<div id="out" style="width: 99%; height: 360px; overflow: auto;">
The Bocchette 2 Console
<br>
Digita: --help per consultare la guida
<br>

<body style="background: rgb(50, 50, 50);color: white;font-family: monospace;display: flex;flex-direction: column;margin: 0;align-items: flex-start;overflow: hidden;">

<div style="display: flex; flex-direction: row; justify-content: flex-start; width: 100%; overflow: auto;">
<button class="name_console">Main Console</button>
</div>

<div style="display: flex; flex-direction: row; justify-content: space-between;">
<input type="text" id="inp" placeholder="digita: @, / per iniziare..." autocomplete="off" spellcheck="false" style="width: 94.3%; height: 1.5em; background: black; color: white; border: solid 1px white; font-family: monospace;" />
<button style="font-family: cursive;" title="Invia" onclick="Enter()">&lt;┘</button>
<div name="Main_console" style="background-color: black; width: 100%;">
<div id="out" style="width: 100%; height: 358px; overflow: auto;">
The Bocchette 2 Console
<br>
Digita: --help per consultare la guida
<br>

</div>

<div style="display: flex; flex-direction: row; justify-content: space-between;">
<input type="text" id="inp" placeholder="digita: @, / per iniziare..." autocomplete="off" spellcheck="false" style="width: 94.3%; height: 1.5em; background: black; color: white; border: solid 1px white; font-family: monospace;">
<button style="font-family: cursive;" title="Enter" onclick="Enter()">&lt;┘</button>
</div>
</div>
</body>
</html>
Expand Down

0 comments on commit 35aabec

Please sign in to comment.