-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
125 lines (125 loc) · 2.01 KB
/
about.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
body {
margin: 0;
}
* {
margin: 0;
padding: 0;
list-style-type: none;
text-decoration: none;
box-sizing: border-box;
}
nav {
background: white;
height: 80px;
width: 100%;
position: sticky;
top: 0;
}
nav ul {
float: right;
margin-right: 20px;
}
nav ul li {
line-height: 80px;
display: inline-block;
margin: 0 5px;
}
nav ul li a {
font-size: 17px;
text-align:center ;
}
.home {
padding: 10px 15px;
}
label.main-nav {
padding: 0 100px;
line-height: 80px;
font-size: 35px;
}
.menu {
width: 25px;
height: 3px;
margin: 6px 0;
font-size: 30px;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
}
.right {
margin-top: 15px;
float: right;
display: none;
}
#check {
display: none ;
}
#check:checked ~ ul {
left:0%;
}
p {
text-align: center;
margin-left: 20%;
width: 60%;
margin-bottom: 20px;
}
@media screen and (max-width: 767px){
body {
background: silver;
}
* {
box-sizing: border-box;
}
nav {
position: sticky;
top: 0;
margin: 0%;
}
nav ul {
float: right;
margin-right: 20px;
}
nav ul li {
display: block;
margin: 50px;
line-height: 30px;
}
nav ul li a {
font-size: 20pxpx;
color: white;
text-align: center;
}
ul {
position: fixed;
width: 100%;
height: 100vh;
background: #2c3e50 ;
top: 80px;
left: -100%;
text-align: center;
transition: all .5s;
opacity:80% ;
}
.home {
background: none;
padding: 10px 15px;
color: violet;
}
label.main-nav {
padding-left: 50px;
color: white;
font-size: 30px;
}
.right {
display: block;
}
#check {
display: none ;
}
#check:checked ~ ul {
left: 0%;
}
p {
width: 100%;
margin: 0%;
}
}