-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
113 lines (95 loc) · 1.6 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
header {
background: #792f09;
color: white;
display: flex;
flex-direction: row;
justify-content: space-between;
}
header h1 {
padding: 0;
margin: 0;
font-size: 1.2rem;
margin: 0.1em 0.5em;
line-height: 2;
font-weight: normal;
}
header button.browser-style {
color: white;
background: transparent;
border: none;
line-height: 2.4rem;
height: 100%;
margin-bottom: 0;
padding-top: 0.12rem;
padding-bottom: 0.12rem;
}
header button:hover,
header button:active {
background: #411806;
}
section:not(.browser-style),
.empty {
padding: 0 0.5em;
}
label {
display: block;
}
input,
textarea {
width: 100%;
}
main > ul {
list-style: none;
margin: 0;
padding: 0;
}
main > ul > li {
margin: 0;
background: #fbebd1;
color: black;
}
main > ul > li:not(:last-child) {
border-bottom: 1px dotted #d97c7c;
}
details > ul {
margin: 0;
padding: 0;
}
summary,
details ul > li {
display: inline-flex;
flex-direction: row;
align-items: center;
width: 100%;
padding: 0.5em;
}
summary::before {
color: #d97c7c;
font-size: 1.2em;
margin-right: 0.2em;
content: '+';
}
details[open] > summary::before {
content: '−';
}
summary > button,
details .button-group {
margin-left: 0.5em;
margin-bottom: 0;
}
.space {
flex-grow: 1;
flex-shrink: 1;
text-overflow: ellipsis;
}
.code {
font-family: monospace;
}
.current summary .space {
font-weight: bold;
}
.space-between {
display: flex;
justify-content: space-between;
align-items: baseline;
}