Skip to content

Commit

Permalink
add link preview
Browse files Browse the repository at this point in the history
  • Loading branch information
qinwf committed Apr 25, 2020
1 parent 21a29fa commit acc6605
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 285 deletions.
12 changes: 12 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@

{% include podcast.css %}

.ui-tooltip {
width: 100%;
max-width: 500px;
}
.night .ui-tooltip, .night #preview-content {
background-color:rgb(38,38,38);
color: white;
}
.link-desc, #preview-content {
word-wrap: break-word;
white-space: break-spaces;
}
</style>
<!--/*include nprogress.css*/-->
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/images/icons/apple-touch-icon.png">
Expand Down
3 changes: 1 addition & 2 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ a {
strong {
color: inherit;
}

&:visited {
color: #8B4513;
}
Expand Down Expand Up @@ -85,4 +85,3 @@ tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
background-color: #f9f9f9;
}

1 change: 1 addition & 0 deletions _sass/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@
}
}
}

Loading

0 comments on commit acc6605

Please sign in to comment.