Theme Files Update
This commit is contained in:
parent
fd8f00f27a
commit
3eabdaf2b4
12 changed files with 98 additions and 9 deletions
31
assets/scss/_socialshare.scss
Normal file
31
assets/scss/_socialshare.scss
Normal file
|
@ -0,0 +1,31 @@
|
|||
#share-links {
|
||||
position: fixed;
|
||||
bottom: 7.0em;
|
||||
right: 0.5em;
|
||||
display: none;
|
||||
padding: .6em 0.5em;
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
box-shadow: -1px -2px 3px 0px rgba(0, 0, 0, 0.45);
|
||||
background-color: $midnightblue;
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 2;
|
||||
font-size: 1.2em;
|
||||
a {
|
||||
color: $highlight-grey;
|
||||
&:hover,&:active,&:focus{
|
||||
color: $text;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 520px) {
|
||||
#share-links {
|
||||
right: 0.2em;
|
||||
bottom: 8.0em;
|
||||
}
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
@import "_scroll.scss";
|
||||
@import "_admonition.scss";
|
||||
@import "_mathjax.scss";
|
||||
@import "_socialshare.scss";
|
||||
|
||||
/* Webkit Scrollbar Customize */
|
||||
::-webkit-scrollbar {
|
||||
|
@ -299,7 +300,7 @@ table {
|
|||
#mobile-menu {
|
||||
position: fixed;
|
||||
bottom: 4.8em;
|
||||
right: 1.5em;
|
||||
right: 4.5em;
|
||||
display: none;
|
||||
padding: .6em 1.8em;
|
||||
z-index: 1;
|
||||
|
@ -904,7 +905,7 @@ a.footnote-ref {
|
|||
}
|
||||
|
||||
#mobile-menu {
|
||||
right: 1.2em;
|
||||
right: 4.2em;
|
||||
}
|
||||
#home-subtitle {
|
||||
font-size: 0.5em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue