-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclasses.css
33 lines (30 loc) · 830 Bytes
/
classes.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
/* for collapsible */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: black;
color: rgb(225, 211, 211);
cursor: pointer;
/* padding: 10%; */
width: 100%;
/* border: none; */
border-bottom: 5px grey;
text-align: left;
outline: none;
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover, .navlink:hover {
background-color: #ccc;
color: black;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 18px 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
}
body {
padding-left: 20%;
padding-right: 20%;
}