-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinformation.css
More file actions
70 lines (59 loc) · 1.21 KB
/
information.css
File metadata and controls
70 lines (59 loc) · 1.21 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
:root {
--bg-color: #F9F9FB;
--text-color: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #121212;
--text-color: #ffffff;
}
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}
body {
overflow: auto;
font-family: sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
padding:1rem;
max-width: 300px; /* for example */
}
/* A simple container to hold everything */
.info-container {
padding: 0.25rem;
box-sizing: border-box;
}
/* Header area with the icon + title on one line */
.info-header {
display: flex;
align-items: center; /* vertically center icon and title */
margin-bottom: 0.5rem;
}
/* The icon in the top-left corner */
.info-icon {
width: 32px;
height: 32px;
margin-right: 0.5rem;
}
/* Title style next to the icon */
.info-title {
font-size: 1.5rem;
margin: 0; /* remove default <h1> margins */
}
/* The main text content */
.info-content p, .info-content ul {
margin: 0.25rem 0;
line-height: 1.2;
}
/* The main text content */
.info-content h1 {
margin: 0.75rem 0 0.25rem 0;
}