aboutsummaryrefslogtreecommitdiff
path: root/sass/_markdown.scss
blob: 99f14b264e04999f5ede3042a985185db7480d11 (plain) (blame)
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
.content {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.content pre {
  overflow-x: auto;
  padding: 1.25em 1.5em;
  white-space: pre;
  word-wrap: normal;
  background-color: white;
  color: #4a4a4a;
  font-size: .875em;
  font-family: monospace;
}

.content code {
  background-color: white;
  color: #4a4a4a;
  font-size: .875em;
  font-weight: normal;
  padding: 0.25em 0.5em;
  font-family: monospace;
}

.content pre code {
  padding: 0;
}

.content a {
  color: var(--primary-link-color);

  code { 
    color: var(--primary-link-color);
  }

  &:hover {
    text-decoration: underline;
  }
}

.content blockquote {
  border-left: #e2dede 8px solid;
  margin: 0;
  background-color: #f2f1f0;
  padding: 0.2ex 1.2em;
}

.content table {
    border-collapse: collapse;
    font-family: Tahoma, Geneva, sans-serif;
}
.content table td {
	padding: 15px;
}
.content table thead th {
	background-color: var(--primary-color);
	color: #ffffff;
	font-weight: bold;
	font-size: 13px;
	border: 1px solid var(--primary-color);
}
.content table tbody td {
	color: #636363;
	border: 1px solid #dddfe1;
}
.content table tbody tr {
	background-color: #f9fafb;
}
.content table tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

.content p>img {
  max-width: 100%;
  width: auto;
}

.content img[alt$="#"] {
  margin: .5rem;
}

.content img[alt$=">"] {
  float: right;
  margin-left: 1rem;
}

.content img[alt$="<"] {
  float: left;
  margin-right: 1rem;
}

.content img[alt$="><"] {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  float: none!important;
}