generated from TWUOnline/bookdown-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
95 lines (78 loc) · 1.82 KB
/
style.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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* svg images should be 24x24 pixels */
/* icons from remixicon.com */
/* Styling for all custom environments: */
div.bonus, div.reflect, div.assessment, div.progress, div.video, div.caution, div.feedback{
padding: 1em;
margin: 0.5em;
position:relative;
border-radius: 5px;
color: black;
}
div.bonus:before,
div.reflect:before,
div.assessment:before,
div.progress:before,
div.video:before,
div.caution:before,
div.feedback:before{
left:0.5em;
position:absolute;
top:0.1em;
font-weight:bold;
font-style:italic;
font-size: 1.5em;
}
/* Style hyperlinks */
.book .book-body .page-wrapper .page-inner .normal div.bonus a:link,
.book .book-body .page-wrapper .page-inner .normal div.reflect a:link,
.book .book-body .page-wrapper .page-inner .normal div.assessment a:link,
.book .book-body .page-wrapper .page-inner .normal div.progress a:link,
.book .book-body .page-wrapper .page-inner .normal div.video a:link,
.book .book-body .page-wrapper .page-inner .normal div.caution a:link,
.book .book-body .page-wrapper .page-inner .normal div.feedback a:link{
text-decoration: underline;
font-weight: bold;
color: black;
}
/* Styling unique to each environment: */
div.reflect{background: #CDDBC7;}
div.assessment{background: #E3F2F8;}
div.progress{background: #D6D1DA;}
div.caution{background: #FDF1D4;}
.blackbox {
padding: 1em;
background: black;
color: white;
border: 2px solid orange;
border-radius: 10px;
}
.center {
text-align: center;
}
/* Special Styling */
h2 {
border-bottom: 3px solid;
}
.blockhead {
font-size: 1.2em;
font-weight: 700;
}
.prote {
font-size: 124%;
color: yellow;
background-color: red;
}