Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing curly bracket on seo_schema partial #57

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 145 additions & 124 deletions assets/css/_common/_core/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,146 +2,167 @@

/* josefin-sans-regular */
@font-face {
font-family: "Josefin Sans";
font-style: normal;
font-weight: normal;
src: url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot");
/* IE9 Compat Modes */
src: local("Josefin Sans"), local("JosefinSans-Normal"), url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot?#iefix") format("embedded-opentype"), url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff2") format("woff2"), url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff") format("woff"), url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.ttf") format("truetype"), url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.svg#JosefinSans") format("svg");
/* Legacy iOS */
}


/* pt-sans-regular */
@font-face {
font-family: "PT Sans";
font-style: normal;
font-weight: normal;
src: url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot");
/* IE9 Compat Modes */
src: local("PT Sans"), local("PTSans-Normal"), url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot?#iefix") format("embedded-opentype"), url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff2") format("woff2"), url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff") format("woff"), url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.ttf") format("truetype"), url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.svg#PTSans") format("svg");
/* Legacy iOS */
font-family: "Josefin Sans";
font-style: normal;
font-weight: normal;
src: url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot");
/* IE9 Compat Modes */
src: local("Josefin Sans"), local("JosefinSans-Normal"),
url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot?#iefix")
format("embedded-opentype"),
url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff2")
format("woff2"),
url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff")
format("woff"),
url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.ttf")
format("truetype"),
url("//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.svg#JosefinSans")
format("svg");
/* Legacy iOS */
}

/* pt-sans-regular */
@font-face {
font-family: "PT Sans";
font-style: normal;
font-weight: normal;
src: url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot");
/* IE9 Compat Modes */
src: local("PT Sans"), local("PTSans-Normal"),
url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot?#iefix")
format("embedded-opentype"),
url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff2") format("woff2"),
url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff") format("woff"),
url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.ttf")
format("truetype"),
url("//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.svg#PTSans")
format("svg");
/* Legacy iOS */
}

html {
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}



html {
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}
&::-webkit-scrollbar-thumb {
height: 40px;
background-color: #eee;
border-radius: 16px;
&:hover {
background-color: #ddd;
}
&::-webkit-scrollbar-thumb {
height: 40px;
background-color: #eee;
border-radius: 16px;
&:hover {
background-color: #ddd;
}
}

::selection {
background: rgba(0, 149, 255, 0.1);
}

::selection {
background: rgba(0, 149, 255, 0.1);
}

html {
font-family: "PT Sans", "Josefin Sans", -apple-system, BlinkMacSystemFont,
"Helvetica Neue", "PingFang SC", "Hiragino Sans GB", STHeiti,
"Microsoft Yahei", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
}

body {
font-size: 11pt;
font-weight: 400;
line-height: 2em;
background-color: $light-background-color;
color: $light-font-color;
&:before {
content: "";
background-repeat: no-repeat;
background-position: center;
opacity: 0.05;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}

html {
font-family: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft Yahei", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;

&.dark-theme {
background-color: $dark-background-color;
color: $dark-font-color;
}

body {
font-size: 11pt;
font-weight: 400;
line-height: 2em;
background-color: $light-background-color;
color: $light-font-color;
&:before {
content: "";
background-repeat: no-repeat;
background-position: center;
opacity: 0.05;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}
}

&.dark-theme {
background-color: $dark-background-color;
color: $dark-font-color;
}
a {
color: $light-global-link-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
opacity 0.2s ease;
&:hover {
color: $light-global-link-hover-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
opacity 0.2s ease;
}
a {
color: $light-global-link-color;

.dark-theme & {
color: $dark-global-link-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
opacity 0.2s ease;

&:hover {
color: $light-global-link-hover-color;
color: $dark-global-link-hover-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
opacity 0.2s ease;
}
}
}

.dark-theme & {
color: $dark-global-link-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
blockquote {
font-size: 1rem;
display: block;
border-width: 1px 0;
border-style: solid;
border-color: $light-border-color;
padding: 1.5em 1.2em 0.5em 1.2em;
margin: 0 0 2em 0;
position: relative;

&:hover{
color: $dark-global-link-hover-color;
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
&:before {
content: "\201C";
position: absolute;
top: 0em;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
width: 3rem;
height: 2rem;
font: 6em/1.08em "PT Sans", sans-serif;
color: $light-post-link-color;
text-align: center;

.dark-theme & {
color: $dark-post-link-color;
}
}

blockquote {
font-size: 1rem;
&:after {
content: "#blockquote" attr(cite);
display: block;
border-width: 1px 0;
border-style: solid;
border-color: $light-border-color;
padding: 1.5em 1.2em 0.5em 1.2em;
margin: 0 0 2em 0;
position: relative;

&:before {
content: '\201C';
position: absolute;
top: 0em;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
width: 3rem;
height: 2rem;
font: 6em/1.08em 'PT Sans', sans-serif;
color: $light-post-link-color;
text-align: center;

.dark-theme &{
color: $dark-post-link-color;
}
}
&:after {
content: "#blockquote" attr(cite);
display: block;
text-align: right;
font-size: 0.875em;
color: $light-post-link-color;

.dark-theme &{
color: $dark-post-link-color;
}
}
text-align: right;
font-size: 0.875em;
color: $light-post-link-color;

.dark-theme & {
border-color: $dark-border-color;
color: $dark-post-link-color;
}
}
}

.dark-theme & {
border-color: $dark-border-color;
}
}
Loading