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