summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/ui/hud-styles.rcss
blob: 61f41471d4d231678df2af926bf92597dda516d0 (plain) (blame)
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
55
56
.body-hud {
    
}

.dbg-hud {
    background-color: #00000055;
    border-color: black;
    border-width: 2dp;
    font-size: 20dp;
    color: white;
    padding: 3dp;
    text-align: left;
    margin: 3dp auto auto 3dp;
    position: fixed;
}

p {
    display: block;
}

span {
    display: inline-block;
}

.status-hud {
    background-color: #00000055;
    border-color: black;
    border-width: 2dp;
    font-size: 20dp;
    color: white;
    padding: 2dp;
    margin: 10dp;
    text-align: center;
    bottom: 0;
    position: fixed;
}

#status-hp-bar {
    background-color: maroon;
    border-color: black;
    margin-left: 5dp;
    width: 200dp;
    height: 10dp;
}

#status-hp-bar fill {
    background-color: red;
}

.crosshair-hud {
    display: table-cell;
    color: white;
    font-size: 50dp;
    text-align: center;
    vertical-align: middle;
}