theme: re-format css

This commit is contained in:
Peter Cai 2020-04-12 17:36:51 +08:00
parent 397596d269
commit 43f005fd72
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
1 changed files with 6 additions and 5 deletions

View File

@ -367,7 +367,8 @@ h5 {
@media screen and (max-width: 600px) {
/* From this width, use mobile layout */
body, html {
body,
html {
/* Performance of text-shadow on some mobile browsers is terrible */
text-shadow: none;
}
@ -497,10 +498,10 @@ h5 {
border-radius: 4px;
scrollbar-color: #e91e63 #00000000;
scrollbar-width: thin;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
transition: box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hljs:hover {
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}