forked from perscolas-rtt-se/Space_Battle_starter_code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (81 loc) · 1.74 KB
/
Copy pathstyle.css
File metadata and controls
97 lines (81 loc) · 1.74 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.bodyContainer{
display: flex;
justify-content: space-between;
height: 100vh;
width: 100vw;
margin: 0 auto;
font-family: 'Share Tech Mono', monospace;
background-size: 100%;
background-color: black;
color: white;
}
*{
margin: 0;
padding: 0;
}
.mainCharacterView{
width: 50%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.left{
}
.right{
}
.nameBox{
border: 1px solid black;
width: 25vw;
height: 10vh;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 2em;
box-shadow: 0px 0px 20px 10px white;
}
.playerImage{
border: 1px solidblack;
width: 30vw;
height: 40vh;
background-image: url("/images/space_hero.gif");
background-size: cover ;
background-position: center;
background-repeat: no-repeat;
box-shadow: 0px 0px 20px 10px white;
}
.playerStats{
display: flex;
justify-content: center;
align-items: center;
border: 1px solidblack;
width: 15vw;
height: 15vh;
text-align: center;
font-size: 1.5em;
box-shadow: 0px 0px 20px 10px white;
border-radius: 2%;
}
.enemyImage{
border: 1px solidblack;
width: 30vw;
height: 35vh;
background-image: url("/images/enemy.gif");
background-size: cover ;
background-position: center;
background-repeat: no-repeat;
box-shadow: 0px 0px 20px 10px white;
}
.enemyStats{
display: flex;
justify-content: center;
align-items: center;
border: 1px solidblack;
width: 15vw;
height: 15vh;
text-align: center;
font-family: 'Share Tech Mono', monospace;
font-size: 1.5em;
box-shadow: 0px 0px 20px 10px white;
}