blob: b9acd8b5bf3e16a6a53fdfd44811064f37a6f4d0 (
plain)
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
|
@charset 'UTF-8';
.markdown__heading {
font-weight: 700;
line-height: 1.5;
}
.markdown__paragraph-inline {
display: inline;
+ .markdown__paragraph-inline {
margin-left: 4px;
}
}
#post-list {
.markdown-inline-img {
-moz-force-broken-image-icon: 1;
height: 500px;
max-height: 500px;
}
}
.post-body--code {
overflow-x: auto;
overflow-y: hidden;
position: relative;
pre {
border: 1px solid rgba(221,221,221,0.2);
border-radius: .25em;
margin: 0;
padding: 0px;
text-align: left;
white-space: nowrap;
}
code {
border: none;
white-space: pre;
}
td {
padding: 0 .5em;
vertical-align: top;
}
&:hover .post-body--code__language {
@include opacity(1);
}
}
.post-body--code__language {
@include opacity(0);
@include translate3d(0, 0, 0);
background: #21586d;
border-radius: 0 .25em;
color: $white;
padding: 4px 10px 5px;
position: absolute;
right: 0;
top: 0;
-webkit-transition: opacity 0.6s;
-moz-transition: opacity 0.6s;
-o-transition: opacity 0.6s;
transition: opacity 0.6s;
z-index: 5;
}
.post-body--code__lineno {
border-right: 1px solid #aaa;
color: #aaa;
margin-right: .5em;
text-align: right;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.post__body {
hr {
@include opacity(.2);
background-color: #e7e7e7;
border: 0 none;
height: 4px;
margin: 15px 0 16px;
padding: 0;
}
code {
white-space: pre;
}
.codespan__pre-wrap {
code {
white-space: pre-wrap;
}
}
}
.markdown__table {
background: $white;
margin: 5px 0 10px;
th,
td {
border: 1px solid #ddd;
padding: 6px 13px;
}
tbody tr {
background: $white;
&:nth-child(2n) {
background-color: #f8f8f8;
}
}
}
blockquote {
border: none;
font-size: 16px;
margin-bottom: 0;
padding: 10px 10px 10px 38px;
position: relative;
&:before {
@include opacity(.6);
content: '\f10d';
display: inline-block;
font-family: FontAwesome;
font-size: 20px;
font-style: normal;
font-weight: normal;
left: 8px;
position: absolute;
text-decoration: inherit;
top: 5px;
}
}
pre {
color: inherit;
margin: 5px 0;
padding: 0;
}
code {
background: $white;
color: inherit;
}
|