-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgs1LinksetViz.css
89 lines (70 loc) · 1.63 KB
/
gs1LinksetViz.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
/* These are just some basic CSS rules to help layout the linkset for easier human-reading
Even if used, you're likely to want to do more
*/
/* All screens */
/* Linksets are shown in sections and the DL URI is the header but it doesn't need to look like the big h2 header that it is */
section.lsSection h2.lsSectionHead {
font-size:100%;
}
.error {
background-color: red;
color: white;
}
dl.linkList dd {
white-space: nowrap;
margin-left: .5em;
}
dl.linkList dt, dl.linkList dd.href {
margin-top:0.5em;
}
dl.linkList dd {
font-size: small;
}
dl.linkList dd span {
display: inline-block;
width:7em;
}
dl.linkList dd span.toTitle {
margin-left: 0;
}
p.metaElement span.metaTitle, h2.lsSectionHead span.metaTitle {
width: auto;
display: inline;
}
p.metaElement span.metaValue, h2.lsSectionHead span.metaValue {
display: block;
margin-left:0.5em;
font-size: small;
}
/* wider screens */
@media screen and (min-width: 600px) {
p.metaElement span.metaTitle, h2.lsSectionHead span.metaTitle {
width: 11em;
display: inline-block;
}
p.metaElement span.metaValue, h2.lsSectionHead span.metaValue {
display: inline;
margin-left:0;
font-size: small;
}
@supports (display: grid) {
dl.linkList {
display: grid;
gap: .1em;
grid-template-columns: 16em 1fr;
--top-gap: 10px;
}
dl.linkList dt {
grid-column-start: 1;
}
dl.linkList dd {
grid-column-start: 2;
margin-left:0;
}
dl.linkList dt, dl.linkList dd.href {
margin-top: var(--top-gap);
padding-top: var(--top-gap);
border-top: dotted thin black;
}
}
}