fix css errors

This commit is contained in:
Aadil Ayub 2022-01-12 17:28:44 +06:00
parent 781fd1c048
commit 32f42e2cc6

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;
} }
@ -22,7 +39,7 @@ p {
} }
.content p { .content p {
margin-bottom: 1em !important; margin-bottom: 1em !important;
} }
body { body {
@ -42,7 +59,7 @@ select{
font-weight:bold; font-weight:bold;
font-family:fontello, sans-serif; font-family:fontello, sans-serif;
} }
option{ option{
font-family:fontello, sans-serif; font-family:fontello, sans-serif;
} }
@ -72,10 +89,10 @@ textarea {
} }
.external:after{ .external:after{
font-family:fontello; font-family:fontello;
font-weight:normal; font-weight:normal;
content: ' '; content: ' ';
} }
/* basic structure */ /* basic structure */
@ -650,19 +667,21 @@ aside {
top: 0; top: 0;
width: 100%; width: 100%;
z-index:105; z-index:105;
&:before { }
background-color: #333;
background-color: rgba(#333, 0.9); .lightbox-opened:before {
color: #eee; background-color: #333;
content: "x"; background-color: rgba(#333, 0.9);
font-family: sans-serif; color: #eee;
padding: 6px 12px; content: "x";
position: fixed; font-family: sans-serif;
text-transform: uppercase; padding: 6px 12px;
} position: fixed;
img { text-transform: uppercase;
box-shadow: 0 0 6px 3px #333; }
}
.lightbox-opened img {
box-shadow: 0 0 6px 3px #333;
} }
.no-scroll { .no-scroll {