forked from a-a-garcia/World-of-Codecraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (107 loc) · 1.77 KB
/
style.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
* {
font-family: 'MedievalSharp', cursive;
}
html {
background-color: #121e26;
color: aliceblue;
}
#gameBoard {
display: flex;
}
h1 {
text-align: center;
font-size: 80px;
}
.playerBoard {
width: 50%;
text-align: center;
}
.weaponList {
border: 1px solid silver;
margin: 20px;
background-image: url('./images/sword2.png');
background-size: cover;
}
ul {
text-align: center;
list-style-position: inside;
}
#youDied {
width: 90%;
display: none;
}
#player1_name{
background-color: darkblue;
color: red ;
}
#player2_name{
background-color: darkblue;
color: yellow;
}
/*Player Inventory*/
.equip_buttons {
background-color: black;
font-size: 18px;
color: white;
padding: 2% 2%;
margin-left: 2%;
}
.equip_buttons:active {
background-color: white;
color: red;
}
.weapons_inventory{
margin: 2.5%;
}
.weapon_in_use {
font-size: 24px;
}
#player1_equipped {
font-size: 48px;
font-weight: bolder;
font-style: italic;
color: white;
}
.health {
margin-top: 5%;
font-size: 48px;
color: red;
}
.wrap {
display: flex;
flex-direction: column;
Height: 200px;
justify-content: space-between;
background-color: grey;
}
.A {
display: flex;
flex-direction: column;
flex: 1, 1, auto;
}
.B {
display: flex;
flex-direction: column;
flex: 0, 0, auto;
}
.A1 {
background-color: black;
flex: 0, 0, auto;
font-size: 20px;
}
.B1 {
background-image: url('./images/sword2.png');
background-size: cover;
flex: 0, 0, auto;
overflow: auto;
height: 200px;
}
.turn {
background-color: blueviolet;
flex: 0, 0, auto;
}
.turn_warning {
background-color: black;
flex: 0, 0, auto;
height: 100px;
}