Diff of /static/css/navstyle.css [000000] .. [9dc5df]

Switch to unified view

a b/static/css/navstyle.css
1
* {
2
  padding: 0;
3
  margin: 0;
4
  text-decoration: none;
5
  list-style: none;
6
  box-sizing: border-box;
7
}
8
body {
9
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
10
}
11
12
nav {
13
  background: #022f69;
14
  height: 80px;
15
  width: 100%;
16
}
17
label.logo {
18
  color: #fff;
19
  font-size: 35px;
20
  line-height: 80px;
21
  padding: 0 100px;
22
  font-weight: bold;
23
}
24
nav ul {
25
  float: right;
26
  margin-right: 20px;
27
}
28
nav ul li {
29
  display: inline-block;
30
  line-height: 80px;
31
  margin: 0 5px;
32
}
33
nav ul li a {
34
  color: #fff;
35
  font-size: 17px;
36
  padding: 7px 13px;
37
  border-radius: 3px;
38
  text-transform: uppercase;
39
}
40
a.active,
41
a:hover {
42
  background: #fff;
43
  transition: 0.5s;
44
  color: #022f69;
45
}
46
.checkbtn {
47
  font-size: 30px;
48
  color: #fff;
49
  float: right;
50
  line-height: 80px;
51
  margin-right: 40px;
52
  cursor: pointer;
53
  display: none;
54
}
55
#check {
56
  display: none;
57
}
58
@media (max-width: 968px) {
59
  label.logo {
60
    font-size: 30px;
61
    padding-left: 50px;
62
  }
63
  nav ul li a {
64
    font-size: 16px;
65
  }
66
}
67
@media (max-width: 875px) {
68
  .checkbtn {
69
    display: block;
70
  }
71
  nav ul {
72
    position: fixed;
73
    width: 100%;
74
    height: 100vh;
75
    background: #27282c;
76
    top: 80px;
77
    left: -100%;
78
    text-align: center;
79
    transition: all 0.5s;
80
  }
81
  nav ul li {
82
    display: block;
83
    margin: 50px 0;
84
    line-height: 30px;
85
  }
86
  nav ul li a {
87
    font-size: 20px;
88
  }
89
  a:hover,
90
  a.active {
91
    background: none;
92
    color: #0082e6;
93
  }
94
  #check:checked ~ ul {
95
    left: 0;
96
  }
97
}