averageandyyy commited on
Commit
54afa56
·
1 Parent(s): 73b67b8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +22 -22
style.css CHANGED
@@ -9,6 +9,7 @@
9
  }
10
 
11
  body {
 
12
  background-color: #2b5b84;
13
  color: #ffd343;
14
  font-family: 'Open Sans', Arial, sans-serif;
@@ -20,28 +21,6 @@ main {
20
  padding: 20px;
21
  }
22
 
23
- @media (max-width: 815px) {
24
- #main-doc {
25
- position: relative;
26
- margin-left: 0px;
27
- margin-top: 270px;
28
- z-index: 0;
29
- }
30
- }
31
-
32
- @media (max-width: 815px) {
33
- #navbar {
34
- position: absolute;
35
- top: 0;
36
- padding: 0;
37
- margin: 0;
38
- width: 100%;
39
- max-height: 275px;
40
- border: none;
41
- z-index: 1;
42
- }
43
- }
44
-
45
 
46
  #navbar {
47
  position: fixed;
@@ -53,6 +32,7 @@ main {
53
  border-right: solid;
54
  }
55
 
 
56
  #navbar header {
57
  text-align: center;
58
  margin: 15px;
@@ -98,3 +78,23 @@ a:hover {
98
  color: rgb(0,255,0);
99
  }
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
  body {
12
+ min-width: 290px;
13
  background-color: #2b5b84;
14
  color: #ffd343;
15
  font-family: 'Open Sans', Arial, sans-serif;
 
21
  padding: 20px;
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  #navbar {
26
  position: fixed;
 
32
  border-right: solid;
33
  }
34
 
35
+
36
  #navbar header {
37
  text-align: center;
38
  margin: 15px;
 
78
  color: rgb(0,255,0);
79
  }
80
 
81
+ @media (max-width: 815px) {
82
+ #navbar {
83
+ display: block;
84
+ position: absolute;
85
+ top: 0;
86
+ padding: 0;
87
+ margin: 0;
88
+ width: 100%;
89
+ max-height: 275px;
90
+ border: none;
91
+ z-index: 1;
92
+ }
93
+ #main-doc {
94
+ display: block;
95
+ position: relative;
96
+ margin-left: 0px;
97
+ margin-top: 270px;
98
+ }
99
+ }
100
+