forked from btholt/four-semesters-of-cs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (93 loc) · 1.54 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.title-img {
width: 100%;
}
body {
font-family: Helvetica Neue, Helvetica, sans-serif;
}
/* From Jekyll theme minima */
@media screen and (max-width: 800px) {
.outer-container {
max-width: -webkit-calc(800px - (30px));
max-width: calc(800px - (30px));
padding-right: 15px;
padding-left: 15px;
}
}
.outer-container{
max-width: -webkit-calc(800px - (30px * 2));
max-width: calc(800px - (30px * 2));
margin-right: auto;
margin-left: auto;
padding-right: 30px;
padding-left: 30px;
}
pre {
background: #eef;
overflow-x: auto;
}
.intro, .leader, aside, article {
border: 2px solid #bbb;
border-radius: 3px;
margin: 10px 0;
padding: 10px;
}
.chapter-group-title {
margin: 60px 0 20px;
padding: 5px;
text-align: center;
border-bottom: 2px solid #bbb;
}
ul {
text-align: center;
list-style: none;
padding-left: 30px;
}
ul.toc {
text-align: left;
list-style: decimal;
}
a {
color: #666;
}
a:visited {
color: #bbb;
}
p {
text-indent: 1em;
line-height: 1.5;
}
.chapter-img {
width: 50%;
float: left;
}
.chapter-head {
overflow: hidden;
width: 100%;
margin-bottom: 10px;
}
.chapter-title {
text-align: center;
}
.chapter-info {
width: 50%;
float: left;
}
.chapter-info.full {
width: 100%;
}
a[href="#"] {
color: red;
}
.invisible {
visibility: hidden;
}
.body-figure {
width: 100%;
margin: 0;
color: #aaa;
font-size: 11px;
text-align: right;
}
.body-img {
width: 100%;
}