-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle.css
More file actions
186 lines (186 loc) · 3.51 KB
/
article.css
File metadata and controls
186 lines (186 loc) · 3.51 KB
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
article {
position: relative;
padding: 8rem 0;
}
article a {
color: #f03838;
}
article:not(:first-child):before {
content: '';
width: 150px;
height: 1px;
background-color: #e0e0e0;
position: absolute;
top: 0;
left: 50%;
margin-left: -75px;
}
article blockquote {
margin: 6rem 2rem;
padding-left: 15px;
line-height: 2rem;
border-left: 4px solid #f03838;
}
article .article-title {
position: relative;
color: #212121;
font-size: 2.4rem;
line-height: 1.3;
text-align: center;
margin: 0;
padding: 0 2rem;
}
article .article-title a {
display: block;
color: #212121;
}
article .article-title a span {
padding-bottom: 3px;
-webkit-transition: 0.15s;
transition: 0.15s;
box-shadow: inset 0 -2px 0 rgba(240,56,56,0);
}
article .article-title a:hover {
color: #212121;
}
article .article-title a:hover span {
box-shadow: inset 0 -2px 0 rgba(240,56,56,0.4);
}
article .article-top-meta {
position: relative;
color: #9e9e9e;
font-size: 1.3rem;
text-align: center;
margin: 1rem 0;
}
article .article-top-meta span {
margin: 0 0.5rem;
}
article .article-top-meta a {
color: #9e9e9e;
}
article .article-top-meta a:hover {
color: #f03838;
}
article .article-top-meta a time {
font-style: italic;
}
article .article-excerpt,
article .article-content,
article .featured-media {
margin: 4rem 0;
font-size: 1.6rem;
color: #424242;
}
article .article-excerpt img,
article .article-content img,
article .featured-media img {
display: block;
max-width: 100%;
height: auto;
margin: 1rem auto;
}
article .article-footer .pull-left {
float: left;
}
article .article-footer .pull-right {
float: right;
}
article .article-footer:after {
content: " ";
display: block;
clear: both;
}
article .article-footer .article-meta > span:not(:last-child) {
margin-right: 3rem;
}
article .article-footer .article-meta > span {
display: inline-block;
}
article .article-footer .article-meta > span > span {
line-height: 1;
vertical-align: middle;
}
article .article-footer .article-meta {
font-size: 1.3rem;
color: #9e9e9e;
}
article .article-footer .article-meta a {
color: #9e9e9e;
}
article .article-footer .article-meta a:hover {
color: #f03838;
}
article .article-footer .article-meta i {
vertical-align: middle;
color: #9e9e9e;
margin-right: 0.5rem;
}
article .article-footer .post-tags a:before {
content: "#";
}
article .article-footer .post-tags a:not(:last-of-type):after {
content: ",";
padding-right: 5px;
}
article code {
padding: 2px 4px;
margin-left: 2px;
margin-right: 2px;
color: #c7254e;
white-space: normal;
border-radius: 0;
}
article p {
margin: 2rem 0;
line-height: 1.8;
}
article .video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 0;
height: 0;
overflow: hidden;
}
article .video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
article table {
max-width: 100%;
width: 100%;
}
article table caption {
padding: 5px;
color: #333;
background-color: #e5e5e5;
}
article table th,
article table td {
text-align: left;
padding: 0.6em;
vertical-align: top;
}
article table th {
vertical-align: bottom;
border-bottom: 1px solid #e5e5e5;
}
article table tbody + tbody {
border-top: 2px solid #e5e5e5;
}
article table .table {
background-color: #fff;
}
article table .table-bordered {
border: 1px solid #e5e5e5;
}
article table .table-striped tbody tr:nth-of-type(odd) {
background-color: #f2f2f2;
}
article table pre {
overflow-x: auto;
overflow-y: hidden;
}