-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcollapse.css
More file actions
44 lines (41 loc) · 1000 Bytes
/
collapse.css
File metadata and controls
44 lines (41 loc) · 1000 Bytes
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
.link {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 0px 0px 0px 0px;
width: 100%;
border: 5px;
text-align: left;
outline: none;
font-family: Roboto, Verdana, Candara, sans-serif;
font-size: 16px;
font-weight: bold;
position: relative;
top: -30px;
left: -5px;
}
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: 5px;
text-align: left;
outline: none;
font-size: 24px;
}
/* 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, .link:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 18px 18px 18px 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
border: 2px solid #444;
border-radius: 5px;
}