forked from EbookFoundation/ebookfoundation.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (100 loc) · 1.69 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
header {
background-color: #f4f3ee;
color: #fff;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 28px;
font-weight: bold;
display: flex;
align-items: center;
}
.logo img {
width: 120px;
height: 50px;
margin-right: 10px;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
align-items: center;
}
nav ul li {
margin-right: 30px;
}
nav ul li a {
text-decoration: none;
color:black;
font-size: 20px;
}
nav ul li a:hover {
color: #2E97A7;
}
footer {
background-color: #f4f3ee;
color: #black;
padding: 15px;
text-align: center;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
top: 0;
right: 0;
background-color: #f4f3ee;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 15px 25px;
text-decoration: none;
font-size: 18px;
color: black;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color:#2E97A7 ;
}
.sidenav .closebtn {
position: absolute;
top: 10px;
right: 10px;
font-size: 30px;
margin-left: 50px;
color:black ;
}
/* Sidebar button styles */
.openbtn {
font-size: 20px;
cursor: pointer;
background-color: #2E97A7;
color: #fff;
border: none;
padding: 10px 20px;
position: absolute;
top: 15px;
right: 15px;
z-index: 1;
display: none;
}
@media (max-width: 768px) {
.openbtn {
display: block;
}
nav ul {
display: none;
}
.sidenav.active {
width: 250px;
}
.sidenav.active + main {
margin-right: 250px;
}
}