|
@@ -1,32 +1,28 @@
|
|
|
-@import "predefined.scss";
|
|
|
-@import "normalize.scss";
|
|
|
-@import "syntax.scss";
|
|
|
-@import "animate.scss";
|
|
|
-
|
|
|
-
|
|
|
-::-webkit-scrollbar {
|
|
|
- width: 8px;
|
|
|
- height: 8px;
|
|
|
- background: $midnightblue;
|
|
|
-}
|
|
|
+@import "predefined.scss", "modern-normalize.scss", "syntax.scss";
|
|
|
|
|
|
-::-webkit-scrollbar-thumb {
|
|
|
- background: #888;
|
|
|
+:root {
|
|
|
+ --offset: 0;
|
|
|
+}
|
|
|
|
|
|
- &:hover {
|
|
|
- background: $text;
|
|
|
- }
|
|
|
+html {
|
|
|
+ scroll-behavior: smooth;
|
|
|
+ font-size: 1rem;
|
|
|
}
|
|
|
|
|
|
-::placeholder {
|
|
|
- color: $highlight-grey;
|
|
|
+body {
|
|
|
+ --c-bg: #fafafa;
|
|
|
+ --c-bg-alt: #dfdfdf;
|
|
|
+ --c-txt: #424242;
|
|
|
+ --c-txt-alt: #8a8a8a;
|
|
|
}
|
|
|
|
|
|
-html {
|
|
|
- background: $light-grey;
|
|
|
- line-height: 1.6;
|
|
|
- letter-spacing: .06em;
|
|
|
- scroll-behavior: smooth;
|
|
|
+@media (prefers-color-scheme: dark) {
|
|
|
+ body {
|
|
|
+ --c-bg: #201f1e;
|
|
|
+ --c-bg-alt: #3b3a39;
|
|
|
+ --c-txt: #ddd;
|
|
|
+ --c-txt-alt: #aaa;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
body,
|
|
@@ -34,14 +30,19 @@ button,
|
|
|
input,
|
|
|
select,
|
|
|
textarea {
|
|
|
- color: $text;
|
|
|
+ color: var(--c-txt);
|
|
|
+ background-color: var(--c-bg);
|
|
|
+ line-height: 1.6em;
|
|
|
font-family: $fonts;
|
|
|
+ letter-spacing: .06em;
|
|
|
+ transition: background-color .5s, color .5s;
|
|
|
}
|
|
|
|
|
|
pre,
|
|
|
code,
|
|
|
pre tt {
|
|
|
- font-family: $code-fonts;
|
|
|
+ font-family: $mono-fonts;
|
|
|
+ letter-spacing: normal;
|
|
|
}
|
|
|
|
|
|
pre {
|
|
@@ -49,23 +50,19 @@ pre {
|
|
|
overflow: auto;
|
|
|
font-size: .9em;
|
|
|
line-height: 1.5;
|
|
|
- letter-spacing: normal;
|
|
|
white-space: pre;
|
|
|
- color: #eee;
|
|
|
- background: $midnightblue;
|
|
|
+
|
|
|
border-radius: 4px;
|
|
|
|
|
|
-
|
|
|
code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
- background: $midnightblue;
|
|
|
+ background: transparent;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
code {
|
|
|
- color: #eee;
|
|
|
- background: $highlight-grey;
|
|
|
+ background: var(--c-bg-alt);
|
|
|
border-radius: 3px;
|
|
|
padding: 0 3px;
|
|
|
margin: 0 4px;
|
|
@@ -74,41 +71,46 @@ code {
|
|
|
}
|
|
|
|
|
|
blockquote {
|
|
|
- border-left: .25em solid;
|
|
|
- margin: 1em;
|
|
|
- padding: 0 1em;
|
|
|
+ margin: 1.5em 1em;
|
|
|
font-style: italic;
|
|
|
+ color: var(--c-txt-alt);
|
|
|
|
|
|
+ &::before {
|
|
|
+ content: "“ ";
|
|
|
+ position: absolute;
|
|
|
+ opacity: 0.3;
|
|
|
+ font-size: 80px;
|
|
|
+ transform: translate(-16px,5px);
|
|
|
+ }
|
|
|
+
|
|
|
+ p {
|
|
|
+ margin-left: 1.2em;
|
|
|
+ }
|
|
|
cite {
|
|
|
font-weight: bold;
|
|
|
font-style: normal;
|
|
|
+ margin-left: 1em;
|
|
|
|
|
|
&::before {
|
|
|
- content: "—— ";
|
|
|
+ content: "—— ";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
a {
|
|
|
- color: $text;
|
|
|
+ color: var(--c-txt);
|
|
|
text-decoration: none;
|
|
|
- border: none;
|
|
|
- transition-property: color;
|
|
|
- transition-duration: .4s;
|
|
|
- transition-timing-function: ease-out;
|
|
|
+ border-bottom: solid 1px var(--c-bg-alt);
|
|
|
+ transition: color .2s;
|
|
|
|
|
|
&:hover {
|
|
|
- color: #fff;
|
|
|
+ color: $accent;
|
|
|
+ border-bottom-color: $accent;
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
-hr {
|
|
|
- opacity: .2;
|
|
|
- border-width: 0 0 5px 0;
|
|
|
- border-style: dashed;
|
|
|
- background: transparent;
|
|
|
- width: 50%;
|
|
|
- margin: 1.8em auto;
|
|
|
+ &.icon-link {
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
table {
|
|
@@ -130,750 +132,206 @@ table {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.section-inner {
|
|
|
- margin: 0 auto;
|
|
|
- max-width: 1200px;
|
|
|
- width: 93%;
|
|
|
-}
|
|
|
-
|
|
|
-.thin {
|
|
|
- max-width: 720px;
|
|
|
- margin: auto;
|
|
|
-}
|
|
|
-
|
|
|
-.feather {
|
|
|
- display: inline-block;
|
|
|
- vertical-align: -.125em;
|
|
|
- width: 1em;
|
|
|
- height: 1em;
|
|
|
-}
|
|
|
-
|
|
|
-.desktop-only, .desktop-only-ib {
|
|
|
- display: none;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-#site-header {
|
|
|
- position: fixed;
|
|
|
- z-index: 1;
|
|
|
- bottom: 0;
|
|
|
- width: 100%;
|
|
|
- box-sizing: border-box;
|
|
|
- box-shadow: -1px -2px 3px rgba(0, 0, 0, 0.45);
|
|
|
- background-color: $dark-grey;
|
|
|
- animation-duration: .3s;
|
|
|
-}
|
|
|
-
|
|
|
-.hdr-wrapper {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- padding: .5em 0;
|
|
|
- font-size: 1.2rem;
|
|
|
-
|
|
|
- .site-branding {
|
|
|
- display: inline-block;
|
|
|
- margin-right: .8em;
|
|
|
- font-size: 1.2em;
|
|
|
- }
|
|
|
-
|
|
|
- .site-nav {
|
|
|
- display: inline-block;
|
|
|
- font-size: 1.1em;
|
|
|
- opacity: .8;
|
|
|
-
|
|
|
- a {
|
|
|
- margin-left: .8em;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.hdr-icons {
|
|
|
- font-size: 1.2em;
|
|
|
-}
|
|
|
-
|
|
|
-.hdr-social {
|
|
|
- display: inline-block;
|
|
|
- margin-left: .6em;
|
|
|
-
|
|
|
- &>a {
|
|
|
- margin-left: .4em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.hdr-btn {
|
|
|
- border: none;
|
|
|
- background: none;
|
|
|
- padding: 0;
|
|
|
- margin-left: .4em;
|
|
|
- cursor: pointer;
|
|
|
-}
|
|
|
-
|
|
|
-#menu-btn {
|
|
|
- display: none;
|
|
|
- margin-left: .6em;
|
|
|
- cursor: pointer;
|
|
|
-}
|
|
|
-
|
|
|
-#mobile-menu {
|
|
|
- position: fixed;
|
|
|
- bottom: 4.8em;
|
|
|
- right: 1.5em;
|
|
|
- display: none;
|
|
|
- padding: .6em 1.8em;
|
|
|
- z-index: 1;
|
|
|
- box-sizing: border-box;
|
|
|
- box-shadow: -1px -2px 3px 0px rgba(0, 0, 0, 0.45);
|
|
|
- background-color: $dark-grey;
|
|
|
-
|
|
|
- ul {
|
|
|
- list-style: none;
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
- line-height: 2;
|
|
|
- font-size: 1.2em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-#site-footer {
|
|
|
- text-align: center;
|
|
|
- font-size: .9em;
|
|
|
- margin-bottom: 96px;
|
|
|
- margin-top: 64px;
|
|
|
-
|
|
|
- p {
|
|
|
- margin: 0;
|
|
|
- }
|
|
|
+hr {
|
|
|
+ color: var(--c-bg-alt);
|
|
|
+ border-top: none;
|
|
|
+ border-width: 3px 0 0 0;
|
|
|
+ border-style: dashed;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
-#spotlight {
|
|
|
- display: flex;
|
|
|
- height: 100vh;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- max-width: 93%;
|
|
|
- margin: auto;
|
|
|
- font-size: 1.5rem;
|
|
|
-
|
|
|
- &.error-404 {
|
|
|
- flex-direction: row;
|
|
|
- line-height: normal;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-p.img-404 {
|
|
|
- margin: 0;
|
|
|
-
|
|
|
- img {
|
|
|
- max-width: 250px;
|
|
|
- height: auto;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.banner-404 {
|
|
|
- margin-left: 2em;
|
|
|
-
|
|
|
- h1 {
|
|
|
- font-size: 3em;
|
|
|
- margin: .5rem 0 1rem;
|
|
|
- }
|
|
|
-
|
|
|
- p {
|
|
|
- margin-top: 0;
|
|
|
- margin-bottom: .8em;
|
|
|
- }
|
|
|
-
|
|
|
- .btn-404 {
|
|
|
- font-size: .8em;
|
|
|
-
|
|
|
- a {
|
|
|
- display: inline-block;
|
|
|
- border: 2px solid $text;
|
|
|
- border-radius: 5px;
|
|
|
- padding: 5px;
|
|
|
- transition-property: color, border-color;
|
|
|
- word-break: break-all;
|
|
|
-
|
|
|
- &:first-child {
|
|
|
- margin-right: 1em;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- border-color: #fff;
|
|
|
- }
|
|
|
-
|
|
|
- svg {
|
|
|
- margin-right: .5em;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-#home-center {
|
|
|
+#page {
|
|
|
display: flex;
|
|
|
- flex-grow: 1;
|
|
|
flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
+ min-height: 100vh;
|
|
|
}
|
|
|
|
|
|
-#home-title {
|
|
|
- margin: 0;
|
|
|
- text-align: center;
|
|
|
-}
|
|
|
-
|
|
|
-#home-social {
|
|
|
- font-size: 1.4em;
|
|
|
- text-align: center;
|
|
|
- opacity: .8;
|
|
|
-
|
|
|
- a {
|
|
|
- margin: 0 .2em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-#home-nav {
|
|
|
- opacity: .8;
|
|
|
-
|
|
|
- a {
|
|
|
- display: block;
|
|
|
- text-align: center;
|
|
|
- margin-top: .5em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-#home-footer {
|
|
|
- text-align: center;
|
|
|
- font-size: .6em;
|
|
|
- line-height: normal;
|
|
|
- @include dimmed;
|
|
|
-
|
|
|
- p {
|
|
|
- margin-top: 0;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.posts-group {
|
|
|
- display: flex;
|
|
|
- margin-bottom: 1.9em;
|
|
|
- line-height: normal;
|
|
|
-
|
|
|
- .post-year {
|
|
|
- padding-top: 6px;
|
|
|
- margin-right: 1.8em;
|
|
|
- font-size: 1.6em;
|
|
|
- @include dimmed;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- text-decoration: underline;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .posts-list {
|
|
|
- flex-grow: 1;
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
- list-style: none;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- .post-item {
|
|
|
- border-bottom: 1px $highlight-grey dashed;
|
|
|
-
|
|
|
- a {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: baseline;
|
|
|
- padding: 12px 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .post-day {
|
|
|
- flex-shrink: 0;
|
|
|
- margin-left: 1em;
|
|
|
- @include dimmed;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.bg-img {
|
|
|
- width: 100vw;
|
|
|
- height: 100vh;
|
|
|
- opacity: .03;
|
|
|
- z-index: -1;
|
|
|
+#bg-img {
|
|
|
position: fixed;
|
|
|
+ z-index: -1;
|
|
|
top: 0;
|
|
|
- background-attachment: fixed;
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: cover;
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ background-image: var(--bg-img);
|
|
|
background-position: center;
|
|
|
- transition: opacity .5s;
|
|
|
-}
|
|
|
-
|
|
|
-.show-bg-img {
|
|
|
- z-index: 100;
|
|
|
- opacity: 1;
|
|
|
- cursor: pointer;
|
|
|
+ background-size: cover;
|
|
|
+ opacity: .05;
|
|
|
}
|
|
|
|
|
|
-.post-header {
|
|
|
- margin-top: 1.2em;
|
|
|
- line-height: normal;
|
|
|
-
|
|
|
- .post-meta {
|
|
|
- font-size: .9em;
|
|
|
- letter-spacing: normal;
|
|
|
- @include dimmed;
|
|
|
- }
|
|
|
-
|
|
|
- h1 {
|
|
|
- margin-top: .1em;
|
|
|
- }
|
|
|
+main#site-main {
|
|
|
+ flex-grow: 1;
|
|
|
+ margin-top: 1em;
|
|
|
}
|
|
|
|
|
|
-hr.post-end {
|
|
|
- width: 50%;
|
|
|
- margin-top: 1.6em;
|
|
|
- margin-bottom: .8em;
|
|
|
- margin-left: 0;
|
|
|
- border-style: solid;
|
|
|
- border-bottom-width: 4px;
|
|
|
+.wrapper {
|
|
|
+ width: 100%;
|
|
|
+ max-width: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0 1em;
|
|
|
}
|
|
|
|
|
|
-.content {
|
|
|
- text-align: justify;
|
|
|
- text-justify: inter-ideograph;
|
|
|
-
|
|
|
- @include aTag;
|
|
|
-
|
|
|
- figure {
|
|
|
- max-width: 100%;
|
|
|
- height: auto;
|
|
|
- margin: 0;
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- p {
|
|
|
- font-size: .8em;
|
|
|
- font-style: italic;
|
|
|
- @include dimmed;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- figure.left {
|
|
|
- float: left;
|
|
|
- margin-right: 1.5em;
|
|
|
- max-width: 50%;
|
|
|
- }
|
|
|
-
|
|
|
- figure.right {
|
|
|
- float: right;
|
|
|
- margin-left: 1.5em;
|
|
|
- max-width: 50%;
|
|
|
- }
|
|
|
-
|
|
|
- figure.big {
|
|
|
- max-width: 100vw;
|
|
|
- }
|
|
|
-
|
|
|
- img {
|
|
|
- display: block;
|
|
|
- max-width: 100%;
|
|
|
+#home-btn {
|
|
|
+ border: none;
|
|
|
+ position: absolute;
|
|
|
+ &>img{
|
|
|
+ width: 1.5em;
|
|
|
height: auto;
|
|
|
- margin: auto;
|
|
|
- border-radius: 4px;
|
|
|
- }
|
|
|
-
|
|
|
- ul,
|
|
|
- ol {
|
|
|
- padding: 0;
|
|
|
- margin-left: 1.8em;
|
|
|
- }
|
|
|
-
|
|
|
- a.anchor {
|
|
|
- float: left;
|
|
|
- margin-left: -20px;
|
|
|
- padding-right: 6px;
|
|
|
- box-shadow: none;
|
|
|
- opacity: .8;
|
|
|
- &:hover {
|
|
|
- background: none;
|
|
|
- color: $theme;
|
|
|
- opacity: 1;
|
|
|
- }
|
|
|
-
|
|
|
- svg {
|
|
|
- display: inline-block;
|
|
|
- width: 14px;
|
|
|
- height: 14px;
|
|
|
- vertical-align: baseline;
|
|
|
- visibility: hidden;
|
|
|
- }
|
|
|
- &:focus svg {
|
|
|
- visibility: visible;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- h1:hover a.anchor svg,
|
|
|
- h2:hover a.anchor svg,
|
|
|
- h3:hover a.anchor svg,
|
|
|
- h4:hover a.anchor svg,
|
|
|
- h5:hover a.anchor svg,
|
|
|
- h6:hover a.anchor svg {
|
|
|
- visibility: visible;
|
|
|
+ border-radius: 50%;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-.footnotes {
|
|
|
- font-size: .85em;
|
|
|
-
|
|
|
- a {
|
|
|
- box-shadow: none;
|
|
|
- text-decoration: underline;
|
|
|
- transition-property: color;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &.footnote-backref {
|
|
|
- text-decoration: none;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- ol {
|
|
|
- line-height: 1.8;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-a.footnote-ref {
|
|
|
- box-shadow: none;
|
|
|
- text-decoration: none;
|
|
|
- padding: 2px;
|
|
|
- border-radius: 2px;
|
|
|
- background-color: $midnightblue;
|
|
|
-
|
|
|
- &:hover{
|
|
|
- box-shadow: none;
|
|
|
- background-color: $theme;
|
|
|
- transition-property: background-color;
|
|
|
+.title-area {
|
|
|
+ display: flex;
|
|
|
+ align-items: baseline;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ margin-bottom: 2em;
|
|
|
+ .title-area-l {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-.post-info {
|
|
|
- font-size: .8rem;
|
|
|
+h1#page-title {
|
|
|
+ margin: 0;
|
|
|
+ font-size: 2em;
|
|
|
+ font-weight: normal;
|
|
|
line-height: normal;
|
|
|
- @include dimmed;
|
|
|
-
|
|
|
- p {
|
|
|
- margin: .8em 0;
|
|
|
- }
|
|
|
-
|
|
|
- a:hover {
|
|
|
- border-bottom: 2px solid $theme;
|
|
|
- }
|
|
|
-
|
|
|
- svg {
|
|
|
- margin-right: .8em;
|
|
|
- }
|
|
|
-
|
|
|
- .tag {
|
|
|
- margin-right: .5em;
|
|
|
-
|
|
|
- &::before {
|
|
|
- content: "#"
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
-#toc {
|
|
|
- position: fixed;
|
|
|
- left: 50%;
|
|
|
- top: 0;
|
|
|
- display: none;
|
|
|
+.feather {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: -.125em;
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
}
|
|
|
|
|
|
-.toc-title {
|
|
|
- margin-left: 1em;
|
|
|
- margin-bottom: .5em;
|
|
|
- font-size: .8em;
|
|
|
- font-weight: bold;
|
|
|
- opacity: .8;
|
|
|
-}
|
|
|
+@import "partials/home.scss", "partials/404.scss";
|
|
|
+@import "partials/single.scss", "partials/list.scss";
|
|
|
+@import "partials/footer.scss", "partials/comments.scss";
|
|
|
|
|
|
-#TableOfContents {
|
|
|
- font-size: .8em;
|
|
|
- @include dimmed;
|
|
|
|
|
|
- ul {
|
|
|
- padding-left: 1em;
|
|
|
- margin: 0;
|
|
|
+@media all and (min-width: 550px) {
|
|
|
+ html {
|
|
|
+ font-size: 1.1em;
|
|
|
}
|
|
|
-
|
|
|
- &>ul {
|
|
|
- list-style-type: none;
|
|
|
-
|
|
|
- ul ul {
|
|
|
- font-size: .9em;
|
|
|
- }
|
|
|
+ .wrapper#site-footer {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ background: transparent;
|
|
|
}
|
|
|
-
|
|
|
- a:hover {
|
|
|
- border-bottom: $theme 2px solid;
|
|
|
+ .posts-group {
|
|
|
+ display: flex;
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-.post-nav {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin-top: 1.5em;
|
|
|
- margin-bottom: 2.5em;
|
|
|
- font-size: 1.2em;
|
|
|
-
|
|
|
- a {
|
|
|
- flex-basis: 50%;
|
|
|
- flex-grow: 1;
|
|
|
+ .footer-l {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
-
|
|
|
- .next-post {text-align: left; padding-right: 5px;}
|
|
|
- .prev-post {text-align: right; padding-left: 5px;}
|
|
|
-
|
|
|
- .post-nav-label {
|
|
|
- font-size: .8em;
|
|
|
- opacity: .8;
|
|
|
- text-transform: uppercase;
|
|
|
+ .social-icon > .icon-link {
|
|
|
+ margin-left: .4em;
|
|
|
+ margin-right: 0;
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-#comments-loader {
|
|
|
- text-align: center;
|
|
|
- font-size: 2.5em;
|
|
|
- margin-top: 2.5em;
|
|
|
-
|
|
|
- svg {
|
|
|
- animation-duration: 1.2s;
|
|
|
+ .recent-posts-list a {
|
|
|
+ display: inline;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#comments {
|
|
|
- margin-top: 3em;
|
|
|
-
|
|
|
- * {
|
|
|
- color: $text;
|
|
|
- line-height: 1.5;
|
|
|
- }
|
|
|
-
|
|
|
- .vicon {
|
|
|
- fill: $text;
|
|
|
- }
|
|
|
-
|
|
|
- .vcontrol {
|
|
|
- letter-spacing: normal;
|
|
|
- }
|
|
|
-
|
|
|
- .vbtn {
|
|
|
- background-color: #7d828a;
|
|
|
- }
|
|
|
-
|
|
|
- .vwrap {
|
|
|
- border: 2px solid $text;
|
|
|
-
|
|
|
- input {
|
|
|
- border-bottom-width: 2px;
|
|
|
- }
|
|
|
+@media all and (min-width: 810px) {
|
|
|
+ main#site-main {
|
|
|
+ margin-top: 3em;
|
|
|
}
|
|
|
-
|
|
|
- .vsys {
|
|
|
- background-color: $highlight-grey;
|
|
|
- opacity: .5;
|
|
|
+ .wrapper {
|
|
|
+ max-width: 780px;
|
|
|
+ text-align: justify;
|
|
|
}
|
|
|
-
|
|
|
- .vat:hover {
|
|
|
- color: $theme;
|
|
|
- }
|
|
|
-
|
|
|
- .vh {
|
|
|
- border-bottom: none;
|
|
|
-
|
|
|
- .vquote {
|
|
|
- border-left: 3px dotted #979ca5;
|
|
|
- }
|
|
|
+ #home-btn>img {
|
|
|
+ width: 2em;
|
|
|
}
|
|
|
-
|
|
|
- .vcontent {
|
|
|
- padding: 0;
|
|
|
-
|
|
|
- code {
|
|
|
- margin: 0 4px;
|
|
|
- color: #eee;
|
|
|
- background: $highlight-grey;
|
|
|
- }
|
|
|
-
|
|
|
- pre {
|
|
|
- color: #eee;
|
|
|
- background: $midnightblue;
|
|
|
- padding: 1em 1.5em;
|
|
|
- border-radius: 5px;
|
|
|
-
|
|
|
- code {
|
|
|
- background: $midnightblue;
|
|
|
- }
|
|
|
- }
|
|
|
+ #page.error-404 {
|
|
|
+ flex-direction: row;
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-@media (min-width: 800px) {
|
|
|
- .site-main {
|
|
|
- margin-top: 3em;
|
|
|
+ .content a.anchor {
|
|
|
+ float: left;
|
|
|
+ margin-left: -1em;
|
|
|
}
|
|
|
-
|
|
|
- hr.post-end {
|
|
|
- width: 40%;
|
|
|
+ .posts-group {
|
|
|
+ display: flex;
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-@media (min-width: 960px) {
|
|
|
- .site-main {
|
|
|
- margin-top: 6em;
|
|
|
+ .content figure.big {
|
|
|
+ margin-left: calc(390px - 50vw - 1em);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@media (min-width: 1300px) {
|
|
|
- .site-main {
|
|
|
- margin-top: 8em;
|
|
|
- }
|
|
|
-
|
|
|
- .desktop-only,
|
|
|
- #toc.show-toc {
|
|
|
- display: block;
|
|
|
- }
|
|
|
-
|
|
|
- .desktop-only-ib {
|
|
|
- display: inline-block;
|
|
|
- }
|
|
|
-
|
|
|
- figure.left {
|
|
|
- margin-left: -240px;
|
|
|
- p {
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
+@media all and (min-width: 1250px) {
|
|
|
+ main#site-main {
|
|
|
+ margin-top: 4.5em;
|
|
|
}
|
|
|
-
|
|
|
- figure.right {
|
|
|
- margin-right: -240px;
|
|
|
- p {
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
+ .wrapper {
|
|
|
+ max-width: 980px;
|
|
|
}
|
|
|
-
|
|
|
- figure.big {
|
|
|
- width: 1200px;
|
|
|
- margin-left: -240px;
|
|
|
+ .content a.anchor {
|
|
|
+ float: left;
|
|
|
+ margin-left: -1em;
|
|
|
}
|
|
|
-
|
|
|
- hr.post-end {
|
|
|
- width: 30%;
|
|
|
+ .posts-group {
|
|
|
+ display: flex;
|
|
|
}
|
|
|
-
|
|
|
- #toc {
|
|
|
- top: 13em;
|
|
|
- margin-left: 370px;
|
|
|
- max-width: 220px;
|
|
|
+ .content figure.big {
|
|
|
+ margin-left: calc(490px - 50vw - 1em);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@media (min-width: 1800px) {
|
|
|
- .site-main {
|
|
|
- margin-top: 10em;
|
|
|
+@media all and (min-width: 1590px) {
|
|
|
+ :root {
|
|
|
+ --offset: 280px;
|
|
|
}
|
|
|
-
|
|
|
- .section-inner {
|
|
|
- max-width: 1600px;
|
|
|
- }
|
|
|
-
|
|
|
- .thin {
|
|
|
- max-width: 960px;
|
|
|
- }
|
|
|
-
|
|
|
- figure.left {
|
|
|
- max-width: 75%;
|
|
|
- margin-left: -320px;
|
|
|
- }
|
|
|
-
|
|
|
- figure.right {
|
|
|
- max-width: 75%;
|
|
|
- margin-right: -320px;
|
|
|
+ html {
|
|
|
+ font-size: 1.2em;
|
|
|
}
|
|
|
-
|
|
|
- figure.big {
|
|
|
- width: 1600px;
|
|
|
- margin-left: -320px;
|
|
|
+ main#site-main {
|
|
|
+ margin-top: 6em;
|
|
|
}
|
|
|
-
|
|
|
- hr.post-end {
|
|
|
- width: 30%;
|
|
|
+ #home-center, #home-footer {
|
|
|
+ padding-left: 15vw;
|
|
|
+ padding-right: 15vw;
|
|
|
}
|
|
|
-
|
|
|
- #toc {
|
|
|
- top: 15em;
|
|
|
- margin-left: 490px;
|
|
|
- max-width: 300px;
|
|
|
+ .wrapper {
|
|
|
+ width: 1028px;
|
|
|
+ margin-left: var(--offset);
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-@media (max-width: 760px) {
|
|
|
-
|
|
|
- .hide-in-mobile,
|
|
|
- .site-nav.hide-in-mobile {
|
|
|
+ #toc-btn {
|
|
|
display: none;
|
|
|
}
|
|
|
-
|
|
|
- #menu-btn {
|
|
|
- display: inline-block;
|
|
|
- }
|
|
|
-
|
|
|
- .posts-group {
|
|
|
- display: block;
|
|
|
-
|
|
|
- .post-year {
|
|
|
- margin: -6px 0 4px;
|
|
|
+ #toc {
|
|
|
+ display: block!important;
|
|
|
+ position: sticky;
|
|
|
+ float: left;
|
|
|
+ top: 2em;
|
|
|
+ width: calc(var(--offset) - 2em);
|
|
|
+ padding: 0 0 0 1em;
|
|
|
+ margin-left: calc(0px - var(--offset));
|
|
|
+ border-right: 1px dashed;
|
|
|
+ border-radius: 0;
|
|
|
+ background: transparent;
|
|
|
+ text-align: right;
|
|
|
+ .toc-title {
|
|
|
+ display: block;
|
|
|
+ padding-right: 1em;
|
|
|
+ margin-top: 0;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- #spotlight.error-404 {
|
|
|
- flex-direction: column;
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- .banner-404 {
|
|
|
- margin: 0;
|
|
|
+ #TableOfContents {
|
|
|
+ direction: rtl;
|
|
|
+ }
|
|
|
+ .content figure.big {
|
|
|
+ width: calc(100vw - var(--offset) - 1em);
|
|
|
+ margin-left: 0;
|
|
|
+ text-align: left;
|
|
|
+ &>img {
|
|
|
+ margin-left: 0;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@media (max-width: 520px) {
|
|
|
-
|
|
|
- .content figure.left,
|
|
|
- .content figure.right {
|
|
|
- float: unset;
|
|
|
- max-width: 100%;
|
|
|
- margin: 0;
|
|
|
- }
|
|
|
-
|
|
|
- hr.post-end {
|
|
|
- width: 60%;
|
|
|
- }
|
|
|
-
|
|
|
- #mobile-menu {
|
|
|
- right: 1.2em;
|
|
|
+@media all and (min-width: 1800px) {
|
|
|
+ :root {
|
|
|
+ --offset: 380px;
|
|
|
}
|
|
|
}
|