-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
executable file
·71 lines (61 loc) · 1.7 KB
/
styles.css
File metadata and controls
executable file
·71 lines (61 loc) · 1.7 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
/* Custom styles for <details> */
details {
margin: 15px 0;
border: 2px solid #ff0000; /* Red border */
border-radius: 8px;
background-color: #f0f0f0; /* Light grey background */
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
transition: all 0.3s ease;
}
details summary {
cursor: pointer;
font-weight: bold;
color: #ff0000; /* Red text */
background-color: #ffffff; /* White background */
padding: 10px;
border-radius: 8px;
border: 1px solid #ff0000; /* Red border */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow */
transition: all 0.3s ease;
}
details summary:hover {
background-color: #ffe5e5; /* Light red background */
}
details ul {
list-style-type: none;
padding: 0;
margin: 10px 0 0 0;
}
details ul li {
background-color: #d3d3d3; /* Light grey background */
margin: 5px 0;
padding: 10px;
border-radius: 5px;
border-left: 4px solid #ff0000; /* Red accent */
color: #000000; /* Black text */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
details ul li pre {
background-color: #d3d3d3; /* Light grey background */
padding: 10px;
border-radius: 5px;
color: #000000; /* Black text */
border-left: 4px solid #ff0000; /* Red accent */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
/* Additional Elements for Visual Appeal */
details[open] {
background-color: #ffe5e5; /* Light red background */
border-color: #ff0000;
}
details[open] summary {
background-color: #ffcccc; /* Light red background */
border-color: #ff0000;
}
details ul li:hover {
background-color: #cccccc; /* Slightly darker grey */
}
details ul li pre:hover {
background-color: #cccccc; /* Slightly darker grey */
}