Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/themes/beastie/static/css/global.css
18096 views
1
/*
2
*FreeBSD.org - Global Styles
3
*
4
* $FreeBSD$
5
*/
6
7
body {
8
margin: 0;
9
padding: 0;
10
font-family: verdana, sans-serif;
11
color: #000;
12
background: #fff url("../images/hdr_fill.png") repeat-x;
13
}
14
15
h1 {
16
font-size: 120%;
17
font-weight: bold;
18
margin: 0em 0em 1.2em 0em;
19
}
20
21
h2 {
22
font-size: 115%;
23
margin: 1.2em 0em 1.2em 0em;
24
font-weight: bold;
25
}
26
27
h3 {
28
font-size: 110%;
29
margin: 1.2em 0em 1.2em 0em;
30
font-weight: bold;
31
}
32
33
h4 {
34
font-size: 100%;
35
margin: 1.2em 0em 1.2em 0em;
36
font-weight: bold;
37
}
38
39
h5 {
40
font-size: 90%;
41
margin: 1.2em 0em 1.2em 0em;
42
font-weight: bold;
43
}
44
45
h6 {
46
font-size: 85%;
47
margin: 1.2em 0em 1.2em 0em;
48
font-weight: bold;
49
}
50
51
img {
52
border: 0;
53
}
54
55
ol, ul, li {
56
font-size: 1.0em;
57
line-height: 1.2em;
58
margin-top: 0.2em;
59
margin-bottom: 0.1em;
60
}
61
62
p {
63
line-height: 1.2em;
64
margin: 1.2em 0em 1.2em 0em;
65
}
66
67
li > p {
68
margin-top: 0.2em;
69
margin-bottom: 0.2em;
70
}
71
72
pre {
73
font-family: monospace;
74
font-size: 1.1em;
75
}
76
77
tt {
78
font-family: monospace;
79
font-size: 1.1em;
80
}
81
82
strong, b {
83
font-weight: bold;
84
}
85
86
form textarea {
87
text-align: left;
88
}
89
90
.fa {
91
font-family: FontAwesome;
92
font-style: normal;
93
}
94
95
.admonitionblock {
96
margin: 1.4rem 0;
97
padding: 1rem;
98
color: #444;
99
}
100
101
.admonitionblock table {
102
table-layout: fixed;
103
position: relative;
104
width: 100%;
105
}
106
107
.admonitionblock table tbody tr td.icon {
108
position: absolute;
109
top: 0;
110
left: 0;
111
line-height: 1;
112
padding-bottom: .5rem;
113
}
114
115
.admonitionblock table tbody tr td.icon i {
116
display: inline-flex;
117
align-items: center;
118
width: auto;
119
background-position-x: .5em;
120
vertical-align: initial;
121
font-style: normal;
122
}
123
124
.admonitionblock table tbody tr td.icon i:after {
125
content: attr(title);
126
font-family: 'Inter var', sans-serif;
127
font-weight: bolder;
128
padding: 0 .5em;
129
margin: -.05em;
130
}
131
132
.admonitionblock table tbody tr td.icon .icon-note::before {
133
content: "\f05a";
134
color: #19407C;
135
}
136
137
.admonitionblock table tbody tr td.icon .icon-tip::before {
138
content: "\f0eb";
139
color: #43B929;
140
}
141
142
.admonitionblock table tbody tr td.icon .icon-warning::before {
143
content: "\f071";
144
color: #BF6900;
145
}
146
147
.admonitionblock table tbody tr td.icon .icon-caution::before {
148
content: "\f06d";
149
color: #BF3400;
150
}
151
152
.admonitionblock table tbody tr td.icon .icon-important::before {
153
content: "\f06a";
154
color: #BF0000;
155
}
156
157
.admonitionblock table tbody tr td.icon [class^="fa icon-"] {
158
font-size: 1.2rem;
159
cursor: default;
160
}
161
162
.admonitionblock table tbody tr td.content {
163
width: 100%;
164
word-wrap: anywhere;
165
}
166
167
.admonitionblock table tbody tr td.content .title {
168
margin-top: 2rem;
169
}
170
171
.admonitionblock table tbody tr td.content .paragraph {
172
padding-top: .5rem;
173
}
174
175
.admonitionblock table tbody tr td.content a {
176
color: #0645AD;
177
}
178
179
.note {
180
border-left: 5px solid #19407C;
181
background-color: #EAF1FB;
182
}
183
184
.warning {
185
border-left: 5px solid #BF6900;
186
background-color: #FFF4E6;
187
}
188
189
.important {
190
border-left: 5px solid #BF0000;
191
background-color: #FFE6E6;
192
}
193
194
.caution {
195
border-left: 5px solid #BF3400;
196
background-color: #FFECE6;
197
}
198
199
.tip {
200
border-left: 5px solid #43B929;
201
background-color: #EDFAEA;
202
}
203
204