forked from mumud1/MiningBots-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
54 lines (45 loc) · 906 Bytes
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
body {
margin: 0;
font-family: Arial, sans-serif;
}
.sidebar-container {
width: auto;
position: relative;
right: 0;
}
.h4 {
font-size: 0.8vw;
}
.sidebar {
/* This allows the bot-info DIVs to be aligned horizontally */
display: block;
/* flex-wrap: nowrap; */
/* flex-direction: row; */
/* In theory, the automatic width would adapt based on the size of the game canvas */
/* And auto height should help with > 1 player -> hopefully evenly distributed height */
width: auto;
height: 20%;
background-color: #f1f1f1;
padding: 0.1vw;
overflow-x: auto;
overflow-y:hidden;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}
.bot-info {
margin: 2px;
padding: 2px;
border: 1px solid #ccc;
background-color: #fff;
}
.bot-info h4 {
margin: 0;
padding: 0;
font-size: 0.55vw;
}
.bot-info p {
margin: 5px 0;
font-size: 0.55vw;
}
.navbar {
padding-left: 1%;
}