-
Notifications
You must be signed in to change notification settings - Fork 487
/
markdown.css
100 lines (83 loc) · 1.65 KB
/
markdown.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
/* This file is part of the http://github.com/uva-cs/pdr
* repo, and has the same license as the rest of the repo (CC BY-SA)
*
* The formatting is loosely based on that of github.com's README.md
* file CSS formatting
*/
body {
font: 15px/1.4 Helvetica,arial,freesans,clean,sans-serif;
}
a {
/* text-decoration: none; */
}
h1 {
font-size: 2.5em;
border-bottom: 1px solid rgb(221, 221, 221);
}
h2 {
font-size: 2em;
border-bottom: 1px solid rgb(238, 238, 238);
}
code {
background-color: rgb(248, 248, 248);
border: 1px solid rgb(221, 221, 221);
font-size: 13px;
padding: 0px 5px;
/* white-space: initial; */
}
pre {
background-color: rgb(248, 248, 248);
border: 1px solid rgb(221, 221, 221);
padding: 6px 10px;
/* Make the pre box scrollable rather than scrolling the whole page */
overflow: auto;
}
pre code {
border: none;
padding: 0;
}
img {
/* Prevent image from scrolling off the page on mobile */
max-width: 100%;
}
blockquote {
background: #f9f9f9;
border-left: 5px solid #cccccc;
margin: 1em 10px;
padding: 0.25em 10px;
}
/* table formatting */
/*
th {
background-color: #cccccc;
text-align:center;
padding: 4px;
}
tr:hover {
background-color: #eeeeee;
}
td {
padding: 2px;
}
*/
table {
border-collapse: collapse;
border-spacing: 0px;
word-break: keep-all;
}
table tr {
background-color: #FFF;
border-top: 1px solid #CCC;
}
table th {
padding: 6px 13px;
border: 1px solid #DDD;
background-color:#cccccc;
}
table td {
padding: 6px 13px;
border: 1px solid #DDD;
}
table tr:nth-child(2n){
background-color:#f8f8f8;
}