This repository was archived by the owner on Jun 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (89 loc) · 1.52 KB
/
style.css
File metadata and controls
101 lines (89 loc) · 1.52 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
* {
margin: 0px;
padding: 0px;
font-family: "montserrat", sans-serif;
}
.header {
height: 100px;
background: rgb(51, 48, 82);
padding: 0 20px;
color: #fff;
}
.header__logo {
line-height: 100px;
float: left;
text-transform: uppercase;
}
.menu {
float: right;
line-height: 100px;
}
.menu a {
color: #fff;
text-transform: uppercase;
text-decoration: none;
padding: 0 10px;
transition: 0.4s;
}
.show-menu-btn, .hide-menu-btn {
transition: 0.4s;
font-size: 30px;
cursor: pointer;
display: none;
}
.show-menu-btn {
float: right;
}
.show-menu-btn a {
line-height: 100px;
}
.menu a:hover,
.show-menu-btn:hover,
.hide-menu-btn:hover {
color: #3498db;
}
#chk {
position: absolute;
visibility: hidden;
z-index: -1111;
}
.content {
padding: 0 20px;
}
.content img {
width: 100%;
max-width: 700px;
margin: 20px 0;
}
.content p {
text-align: justify;
}
@media screen and (max-width:800px) {
.show-menu-btn, .hide-menu-btn {
display: block;
}
.menu {
position: fixed;
width: 100%;
height: 100vh;
background: #333;
right: -100%;
top: 0;
text-align: center;
padding: 80px 0;
line-height: normal;
transition: 0.7s;
}
.menu a {
display: block;
padding: 20px;
}
.hide-menu-btn {
position: absolute;
top: 40px;
right: 40px;
}
#chk:checked ~ .menu {
right: 0;
}
}