summaryrefslogtreecommitdiffstats
path: root/doc/theme_html/static/admons.css
blob: d9f3406187bd73d6fc0f91b779f430cda64b886e (plain)
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
/* === Style for admonitions === */

/* Settings from 'basic' theme (modified only) */

div.admonition {
   margin-top: 10px;
   margin-bottom: 10px;
   padding: 7px;
   padding-left: 54px;/* based on icon size */
   padding-right: 24px;/* based on icon size */
}

/* Settings from 'classic' theme (modified only) */

div.admonition p {
   display: block;
}

p.admonition-title {
   padding-bottom: 11px;/* based on icon size */
   padding-top: 11px;/* based on icon size */
}

p.admonition-title:after {
   content: none; /* do not add colon */
}

/* Icon settings for all admonitions */
div.admonition {
   /* background-image: url('abstract_admon_48.png'); */
   background-repeat: no-repeat;
   background-position: 2px 2px;
}

/* Specific admonitions */
div.admonition-todo {
   background-color: #CAE2B6;
   border: solid 1px #439427;
}

div.warning {
   background-image: url('admon_warning_48.png');
   background-color: #FFE4E4;
   border: solid 3px #990D1C;
}

div.caution {
   background-image: url('admon_caution_48.png');
   background-color: #FFE4E4;
   border: solid 1px #990D1C;
}

div.important {
   background-image: url('admon_important_48.png');
   background-color: #FBECC8;
   border: solid 1px #D68612;
}

div.note {
   background-image: url('admon_note_48.png');
   background-color: white;
   border: solid 1px #D1D3D4;
}

div.tip {
   background-image: url('admon_tip_48.png');
   background-color: #F2E4FD;
   border: solid 1px #D1C2E6;
}