Add missing imports

This commit is contained in:
Anshuman Verma 2018-11-15 13:03:55 +05:30
parent cbe192312f
commit 7154428e13
4 changed files with 14 additions and 463 deletions

View File

@ -7,7 +7,6 @@
} }
.archive-post-link { .archive-post-link {
@include clearfix();
display: block; display: block;
color: color-default; color: color-default;
text-decoration: none; text-decoration: none;

View File

@ -24,12 +24,6 @@ input, button, select {
border: 0; border: 0;
} }
html, body {
@media screen and {
height: 100%;
}
}
body { body {
background: color-navy; background: color-navy;
font-size: font-size; font-size: font-size;
@ -39,6 +33,7 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
overflow-x: hidden; overflow-x: hidden;
height: 100%;
} }
.wrapper { .wrapper {

View File

@ -4,6 +4,9 @@
@import "index"; @import "index";
@import "header"; @import "header";
@import "highlight"; @import "highlight";
@import "sidebar";
@import "page";
@import "archive";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

View File

@ -3,7 +3,6 @@ $note-info: hsl(200, 100%, 50%);
$note-warn: hsl(0, 100%, 50%); $note-warn: hsl(0, 100%, 50%);
#content { #content {
@include clearfix();
position: relative; position: relative;
} }
@ -12,7 +11,6 @@ $note-warn: hsl(0, 100%, 50%);
} }
#content-inner-full { #content-inner-full {
@include clearfix();
@media mq-normal { @media mq-normal {
margin-left: 0; margin-left: 0;
} }
@ -25,10 +23,6 @@ $note-warn: hsl(0, 100%, 50%);
} }
} }
.article-inner {
@include clearfix();
}
.article { .article {
float: left; float: left;
width: 100%; width: 100%;
@ -41,8 +35,8 @@ $note-warn: hsl(0, 100%, 50%);
#article-toc { #article-toc {
display: none; display: none;
float: right; float: right;
width: sidebar-width; width: $sidebar-width;
margin-right: sidebar-width * -1; margin-right: $sidebar-width * -1;
opacity: 0.8; opacity: 0.8;
@media mq-normal { @media mq-normal {
display: block; display: block;
@ -59,223 +53,10 @@ $note-warn: hsl(0, 100%, 50%);
} }
#article-toc-inner { #article-toc-inner {
@extend .inner; @extend .inner;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
width: sidebar-width; width: $sidebar-width;
.fixed & { .fixed & {
position: fixed; position: fixed;
top: 0; top: 0;
@ -284,209 +65,6 @@ $note-warn: hsl(0, 100%, 50%);
} }
.toc-link { .toc-link {
@extend .sidebar-link; @extend .sidebar-link;
} }
@ -526,9 +104,12 @@ $note-warn: hsl(0, 100%, 50%);
font-size: 25px; font-size: 25px;
color: #ffffff; color: #ffffff;
transition: 0.2s; transition: 0.2s;
a&:hover { a {
&:hover {
color: color-link-hover; color: color-link-hover;
} }
}
.post & { .post & {
float: none; float: none;
} }
@ -702,7 +283,6 @@ $note-warn: hsl(0, 100%, 50%);
} }
.article-footer { .article-footer {
@include clearfix();
margin: 1em 0; margin: 1em 0;
border-top: 1px solid color-border; border-top: 1px solid color-border;
text-align: center; text-align: center;
@ -716,7 +296,7 @@ $note-warn: hsl(0, 100%, 50%);
} }
} }
$article-footer-link { article-footer-link {
color: color-link; color: color-link;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
@ -735,38 +315,12 @@ $article-footer-link {
} }
.article-footer-prev { .article-footer-prev {
@extend article-footer-link;
@extend $article-footer-link;
left: 0; left: 0;
} }
.article-footer-next { .article-footer-next {
@extend article-footer-link;
@extend $article-footer-link;
right: 0; right: 0;
} }