fix css errors

This commit is contained in:
Aadil Ayub 2022-01-12 17:28:44 +06:00
parent 781fd1c048
commit 32f42e2cc6
1 changed files with 39 additions and 20 deletions

View File

@ -1,10 +1,27 @@
/* overall */ /* overall */
html { html {
scroll-behavior: smooth; scroll-behavior: smooth;
} }
/* add tumblr font */
@font-face {
font-family: Favorit;
src: url('../font/favorit-regular.woff2') format(woff2);
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: Favorit;
src: url('../font/favorit-medium.woff2') format(woff2);
font-style: normal;
font-weight: bold;
}
* { * {
font-family: arial, helvetica, sans-serif; font-family: Favorit, sans-serif;
font-size: 11pt; font-size: 11pt;
word-break: break-word; word-break: break-word;
} }
@ -650,7 +667,9 @@ aside {
top: 0; top: 0;
width: 100%; width: 100%;
z-index:105; z-index:105;
&:before { }
.lightbox-opened:before {
background-color: #333; background-color: #333;
background-color: rgba(#333, 0.9); background-color: rgba(#333, 0.9);
color: #eee; color: #eee;
@ -660,10 +679,10 @@ aside {
position: fixed; position: fixed;
text-transform: uppercase; text-transform: uppercase;
} }
img {
.lightbox-opened img {
box-shadow: 0 0 6px 3px #333; box-shadow: 0 0 6px 3px #333;
} }
}
.no-scroll { .no-scroll {
overflow: hidden; overflow: hidden;