-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (69 loc) · 1.11 KB
/
Copy pathstyle.css
File metadata and controls
83 lines (69 loc) · 1.11 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
:root {
--main-bg-color: #1e90ff;
}
body {
background-color: var(--main-bg-color);
display: flex;
flex-wrap: wrap;
}
header {
width: 100%;
font-size: 5em;
text-align: center;
}
nav {
width: 15%;
margin: 20px;
}
main {
margin: 20px;
}
#p1bar {
background-color: green;
width: 100px;
height: 1em;
}
#enemybar {
background-color: green;
width: 100px;
height: 1em;
}
#closebtn, #menu {
display: none;
}
@media (max-width:1000px) and (min-width:601px ) {
body {
display: block
}
ul {
display: flex;
justify-content: space-evenly;
}
li {
list-style-type: none;
display: inline;
}
nav {
width: auto;
}
}
@media (max-width:600px) {
body {
display: block
}
nav {
overflow-x: hidden;
background-color: darkblue;
z-index: 1;
color: white;
transition: .5s;
margin: 0px;
padding: 0px;
height: 0px;
width: auto;
}
#closebtn, #menu {
display: block;
transition: .5s;
}
}