-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathlegalcode-print.css
104 lines (90 loc) · 2.15 KB
/
legalcode-print.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
@media print {
body {
padding: 2rem;
font: 11pt/12pt Arial,"Trebuchet MS",Verdana,sans-serif;
line-height: 18pt;
}
.screen-only {
display: none !important;
}
/*HIDE ELEMENTS*/
#header-below,
#language-selector-block,
.site-header-wrapper,
#menu-toggle,
#deed-foot,
#colophon,
.site-footer .cc-footer-links {
display: none;
}
h1, h2, h3 { line-height: 1.1; }
#deed-head { text-align: center; }
#deed-head h1 {
margin-bottom: .5rem;
padding-bottom: .5rem;
}
.cc-collapsible a {
display: none;
}
#cc-logo {
padding: 1rem;
background-color: #8C8C8C;
}
#cc-logo img {
display: inline-block;
height: 50px;
margin: 0 5px;
}
h1 {
border-bottom: solid 4px #000;
font-size: 20px;
clear: none;;
margin-top: 20px;
}
h2 {
font-size: 18px;
margin: 30px 0 15px;
}
h3 {
font-size: 15px;
margin: 30px 0 15px;
}
#deed-license {
padding-bottom: 0.15em;
margin-bottom: 40px;
}
#deed-license h2 {
border-bottom: 2px solid #000;
display: inline-block;
font-size: 13px;
margin: 0;
}
#deed-main { clear: both; }
/* This stanza should be maintained in parallel with legalcode.css
*
* Please read:
* - https://www.w3schools.com/tags/att_ol_type.asp
* - https://stackoverflow.com/questions/27104096/css-selector-type-var-not-selecting-lower-alpha-versus-upper-alpha
*
* The solution below is not-ideal.
*/
#deed-main ol[type="a"] { list-style-type: lower-alpha; }
/* not case-sensitive :(
* #deed-main ol[type="A"] { list-style-type: upper-alpha; }
*/
#deed-main ol[type="a"] ol[type="a"] { list-style-type: upper-alpha; }
#deed-main ol[type="i"] { list-style-type: lower-roman; }
/* not case-sensitive :(
* #deed-main ol[type="I"] { list-style-type: upper-roman; }
*/
#deed-main ol[type="i"] ol[type="i"] { list-style-type: upper-roman; }
ol li,
ul li {
list-style-image: none;
}
body:not(.lang-en) .site-footer .cc-footer-contact,
body:not(.lang-en) .site-footer .cc-footer-license,
body:not(.lang-en) .site-footer .cc-footer-links {
display: none !important;
}
}