-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
127 lines (113 loc) · 2.29 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
* {
box-sizing: border-box;
}
body {
margin: 0px;
background-color: #000112;
font-family: Arial, Helvetica, sans-serif;
}
.nav {
height: auto;
width: 100%;
position: relative;
}
.nav>.nav-header {
display: inline;
}
.nav>.nav-header>.nav-title {
display: inline-block;
font-size: 30px;
color: #fff;
margin: 12px 28px;
font-weight: 900;
}
.nav>.nav-btn {
display: none;
}
.nav>.nav-links {
display: inline;
float: right;
font-size: 18px;
margin-right: 40px;
}
.nav>.nav-links>a {
display: inline-block;
padding: 7px 10px;
margin: 16px 15px;
text-decoration: none;
color: #efefef;
transition: 200ms linear;
}
.nav>.nav-links>a:hover {
background-color: #fff;
color: #111;
border-radius: 9px;
}
.nav>#nav-check {
display: none;
}
@media (max-width:600px) {
.nav>.nav-btn {
display: inline-block;
position: absolute;
right: 0px;
top: 0px;
}
.nav>.nav-btn>label {
display: inline-block;
width: 50px;
height: 50px;
padding: 13px;
}
.nav>.nav-btn>label:hover, .nav #nav-check:checked~.nav-btn>label {
background-color: rgba(0, 0, 0, 0.3);
}
.nav>.nav-btn>label>span {
display: block;
width: 25px;
height: 10px;
border-top: 2px solid #eee;
}
.nav>.nav-links {
position: absolute;
display: block;
width: 100%;
background-color: #333;
height: 0px;
transition: all 0.3s ease-in;
overflow-y: hidden;
top: 50px;
left: 0px;
}
.nav>.nav-links>a {
display: block;
width: 100%;
}
.nav>#nav-check:not(:checked)~.nav-links {
height: 0px;
}
.nav>#nav-check:checked~.nav-links {
height: calc(100vh - 50px);
overflow: hidden;
z-index: 100;
}
.nav>.nav-header>.nav-title {
margin: 2px 20px;
}
}
main {
margin-top: 150px;
}
.hi {
text-align: center;
padding: 0 60px;
}
.title {
color: #fff;
}
.description {
color: #c7c7c7;
border: 1px solid blue;
border-radius: 9px;
padding: 15px;
}