-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
160 lines (128 loc) · 2.66 KB
/
style.css
File metadata and controls
160 lines (128 loc) · 2.66 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* -----------Question counter ---------*/
body {
counter-reset: li;
}
.question ol {
/* Remove the default left padding */
padding-left: 0;
}
.question ol>li {
/* Create a positioning context */
position: relative;
/* Disable the normal item numbering */
list-style: none;
width: 90%;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 0;
padding-left: 120px;
}
.question ol>li:before,
.question ol>p>li:before{
/* Use the counter as content */
content: "Question " counter(li) ": ";
/* Increment the counter by 1 */
counter-increment: li;
position: absolute;
color: #5ebccf;
left: -0.5px;
font-weight: bold;
}
.question ol ol {
counter-reset: subitem;
}
/* Sidebar formating --------------------------------------------*/
/* from r-pkgs.org*/
.tykfont {
font-size: 25px;
font-weight: bold;
color: #78529c;
}
div.question {
border: 4px #abcdef;
border-style: dashed solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
color: #3b444b;
background-color: #fcfcfc;
}
div.answer {
border: 4px #6495ED;
border-style: dashed solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
color: #3b444b;
background-color: #fcfcfc;
}
div.tyk {
border: 4px #825CA6;
border-style: dashed solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
color: #3b444b;
background-color: #fcfcfc;
}
tyk_color {
font-size: 20px;
color: #825CA6;
}
div.txtbx {
border: 4px #e3e1e1;
border-style: solid;
padding: 1em;
margin: 1em 0;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
color: #3b444b;
background-color: #fcfcfc;
}
div.question {
background-image: url("images/divs/TAME_Q_Icon.png");
}
div.answer {
background-image: url("images/divs/TAME_A_Icon.png");
}
div.tyk {
background-image: url("images/divs/TAME_TYK_Icon.png");
}
li.appendix span, li.part span { /* for TOC part names */
margin-top: 1em;
color: #000000;
opacity: .9 !important;
text-transform: uppercase;
}
.toc-logo img {
width: 250px;
height: auto;
}