_sass/_post.scss in askclass-course-theme-0.13.0 vs _sass/_post.scss in askclass-course-theme-0.13.1
- old
+ new
@@ -44,11 +44,11 @@
}
h2 { font-size: 1.9em; }
h3 { font-size: 1.7em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
- h6 { font-size: 1.1em; }
+ h6 { font-size: 1.1em; color: var(--color-dark); }
code {
@include boxed();
}
pre {
@@ -72,16 +72,51 @@
}
& + h1, & + h2, & + h3, & + h4 {
margin-top: 0;
}
}
+ em {
+ font-weight: 300;
+ }
address {
font-style: normal;
font-family: var(--font-secondary);
margin-top: 1.5em;
font-size: 1.4em;
a {
color: var(--color-tertiary);
+ }
+ }
+ hr {
+ &.section, &.logo {
+ border: none;
+ border-bottom: 1px solid var(--color-code-bg);
+ }
+ &.section {
+ text-align: center;
+ line-height: 1px;
+ height: 3px;
+ font-size: 54px;
+ overflow: visible;
+ &:after {
+ content: '\2055';
+ display: inline;
+ padding: 0 10px;
+ color: var(--color-code-bg);
+ background-color: var(--color-bg);
+ }
+ }
+ &.logo {
+ font-size: 0;
+ &:after {
+ content: var(--icon-logo);
+ width: 20px;
+ left: 50%;
+ position: absolute;
+ transform: translateX(-50%) translateY(-50%);
+ padding: 0 10px;
+ background-color: var(--color-bg);
+ }
}
}
.text > p:first-child {
font-size: 25px;
line-height: 1.3;