-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
90 lines (77 loc) · 1.52 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
.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.tips {
padding: 1em 1em 1em 4em;
margin-bottom: 10px;
margin-left: 40px;
border-radius: 10px;
background: #fefefe 5px center/3em no-repeat;
background-position: 5px 10px;
position: relative;
}
.tipsp {
padding: 1em 1em 1em 4em;
margin-bottom: 10px;
margin-left: 40px;
border-radius: 10px;
background: #fefefe 5px center/3em no-repeat;
background-position: 5px 10px;
position: relative;
}
.r {
border: 2px solid #2369bd;
background-image: url("images/r.png");
position: relative;
z-index: 1;
}
.python {
background-repeat: no-repeat;
border: 2px solid #ffde4d;
background-image: url("images/p.png");
position: relative;
z-index: 1;
}
/*---------------Hero Image------------------*/
/* next 3 rules are for setting large image at top of each page and pushing down the book content to appear beneath the image */
.hero-image-container {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 390px;
/*background-image: url("images/books.jpg");*/
background-color: #3fb5bd;
}
.hero-image {
width: 100%;
height: 390px;
object-fit: cover;
}
.page-inner {
padding-top: 440px !important;
}
/*--- LOGO ---*/
.toc-logo {
width: 200px !important;
object-fit: contain;
margin: 0 auto;
}
.toc-logo img {
max-width: 100%;
margin-bottom: 10px;
}
.summary > li:first-child {
height: auto !important;
}