mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
Added Player, Server, Terminal, and engine javascript files. Implemented basic terminal UI. Implemented main menu tabs (only added Character and Terminal for now
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
/** This removes all padding and margins as well as
|
||||
setting a default font size and family for the page **/
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
font-family: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Times New Roman';
|
||||
background-color: #252527;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #66ff33;
|
||||
}
|
||||
|
||||
.mainmenu {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 10%;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
|
||||
border: 0;
|
||||
border-bottom: 1px solid #000000;
|
||||
border-radius: 0;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
.mainmenu>li a {
|
||||
display: block;
|
||||
color: #e6e6e6;
|
||||
background-color: #333;
|
||||
padding: 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mainmenu>li a.active {
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.mainmenu>li a:hover:not(.active) {
|
||||
background-color: #555;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#character-container {
|
||||
position: fixed;
|
||||
padding-top: 10px;
|
||||
padding-left: 10px;
|
||||
margin-left: 10%;
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
/* Style all the buttons */
|
||||
input[type=button] {
|
||||
width: 100px;
|
||||
height: 32px;
|
||||
|
||||
background-color: #f4f4f4;
|
||||
border: 1px solid #333333;
|
||||
|
||||
/* Makes cursor a pointer when you put mouse over button */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type=button]:hover {
|
||||
/* When mouse is over the item, the background color becomes orange */
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/** add the same margin to the save button **/
|
||||
#save {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
/** add the same margin to the left of the status box
|
||||
but also make the text purple to make it stand out
|
||||
a little bit **/
|
||||
#status {
|
||||
margin-left: 8px;
|
||||
color: red;
|
||||
|
||||
/* text-shadow: px_from_left px_from_top px_blur color */
|
||||
text-shadow: 2px 2px 8px #222
|
||||
}
|
||||
Reference in New Issue
Block a user