2017-03-31 18:21:41 +00:00
|
|
|
/* ==========================================================================
|
|
|
|
Article
|
|
|
|
========================================================================== */
|
|
|
|
|
2023-07-29 10:26:44 +00:00
|
|
|
#article, #preview-article {
|
2017-03-31 18:21:41 +00:00
|
|
|
font-size: 20px;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 45em;
|
2020-04-06 14:32:09 +00:00
|
|
|
padding: 5px 20px;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: 0 0 10px #ccc;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
|
|
|
article {
|
|
|
|
color: #424242;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.7em;
|
2018-05-21 17:47:28 +00:00
|
|
|
overflow-wrap: break-word;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
color: #212121;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.7rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2023-06-06 20:53:56 +00:00
|
|
|
border-bottom: 1px dotted $blue-accent-color;
|
2017-03-31 18:21:41 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ul li {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img,
|
|
|
|
figure {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0 0 1.75em;
|
|
|
|
border: #e3f2fd 1px solid;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 0.8em;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: auto;
|
|
|
|
background: #f5f5f5;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> header > h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
margin: 2.1rem 0 0.68rem;
|
|
|
|
}
|
|
|
|
|
2023-06-06 20:53:56 +00:00
|
|
|
.entry-info {
|
2017-03-31 18:21:41 +00:00
|
|
|
.tools {
|
|
|
|
display: flex;
|
2023-06-14 20:26:48 +00:00
|
|
|
margin: 8px 5px 5px;
|
|
|
|
flex-wrap: wrap;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
2017-05-07 15:13:08 +00:00
|
|
|
.stats {
|
2023-06-14 20:26:48 +00:00
|
|
|
margin: 0;
|
2020-04-21 16:08:48 +00:00
|
|
|
font-size: 0.7em;
|
2017-05-07 15:13:08 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-flex;
|
|
|
|
vertical-align: middle;
|
2017-09-09 19:35:19 +00:00
|
|
|
margin: 3px 5px;
|
|
|
|
|
|
|
|
i.material-icons {
|
|
|
|
color: #3e3e3e;
|
|
|
|
margin-right: 3px;
|
2020-04-21 16:08:48 +00:00
|
|
|
font-size: 18px;
|
2017-09-09 19:35:19 +00:00
|
|
|
}
|
2017-05-07 15:13:08 +00:00
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
|
2017-05-07 15:13:08 +00:00
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
2017-05-07 15:13:08 +00:00
|
|
|
.tags {
|
2023-06-13 19:04:29 +00:00
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
2017-05-07 15:13:08 +00:00
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chip {
|
2023-06-13 19:04:29 +00:00
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2023-06-14 20:26:48 +00:00
|
|
|
height: 25px;
|
|
|
|
line-height: 25px;
|
|
|
|
align-items: center;
|
2023-06-13 19:04:29 +00:00
|
|
|
background-color: transparent;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
|
|
|
a,
|
|
|
|
i {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-05-04 15:44:42 +00:00
|
|
|
|
|
|
|
i.material-icons {
|
2020-04-21 16:08:48 +00:00
|
|
|
font-size: 16px;
|
2023-06-14 20:26:48 +00:00
|
|
|
vertical-align: sub;
|
2017-05-04 15:44:42 +00:00
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
2023-06-13 19:04:29 +00:00
|
|
|
|
|
|
|
.chip-label {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 5px;
|
|
|
|
background-color: #9e9e9e;
|
|
|
|
border-radius: 6px 0 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chip-action {
|
|
|
|
padding: 0 5px;
|
|
|
|
background-color: #868686;
|
|
|
|
border-radius: 0 6px 6px 0;
|
|
|
|
}
|
2023-06-14 20:26:48 +00:00
|
|
|
|
|
|
|
.chip-label,
|
|
|
|
.chip-action {
|
|
|
|
min-width: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-06-14 20:27:26 +00:00
|
|
|
|
|
|
|
.chip-label:hover,
|
|
|
|
.chip-label:active,
|
|
|
|
.chip-label:focus,
|
|
|
|
.chip-action:hover,
|
|
|
|
.chip-action:active,
|
|
|
|
.chip-action:focus {
|
|
|
|
background-color: #5e5e5e;
|
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-14 20:26:48 +00:00
|
|
|
.entry-info {
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
2017-03-31 18:21:41 +00:00
|
|
|
.reader-mode {
|
2017-05-04 15:44:42 +00:00
|
|
|
width: 70px !important;
|
2017-03-31 18:21:41 +00:00
|
|
|
transition: width 0.2s ease;
|
|
|
|
|
|
|
|
.collapsible-body {
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
}
|
|
|
|
|
2017-05-04 15:44:42 +00:00
|
|
|
&:hover {
|
|
|
|
width: 260px !important;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
2017-05-04 15:44:42 +00:00
|
|
|
span {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
2020-01-19 09:54:56 +00:00
|
|
|
|
|
|
|
.collapsible-body {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
li a i.material-icons {
|
|
|
|
margin: auto 5px auto -8px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 3px;
|
|
|
|
margin: 0;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
2023-06-14 20:26:48 +00:00
|
|
|
|
2023-09-26 16:20:34 +00:00
|
|
|
.tags-add-form {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
2023-06-14 20:26:48 +00:00
|
|
|
@media only screen and (max-width: 640px) {
|
|
|
|
.entry-info {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#article .entry-info .tools {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#article .entry-info .tools .tags {
|
|
|
|
gap: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#article .entry-info .chip {
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#article .entry-info .chip-label,
|
|
|
|
#article .entry-info .chip-action {
|
|
|
|
min-width: 40px;
|
|
|
|
}
|
2023-09-26 16:20:34 +00:00
|
|
|
|
|
|
|
.tags-add-form {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags-add-form-submit {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2023-06-14 20:26:48 +00:00
|
|
|
}
|