2020-05-03 22:52:23 +03:00
|
|
|
|
/*
|
2019-09-30 15:38:41 +03:00
|
|
|
|
* The main styles.
|
2020-01-02 16:17:49 +03:00
|
|
|
|
* v2.0
|
|
|
|
|
* https://github.com/cotes2020/jekyll-theme-chirpy
|
2019-09-30 15:38:41 +03:00
|
|
|
|
* © 2018-2019 Cotes Chung
|
|
|
|
|
* MIT Licensed
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-28 01:19:38 +03:00
|
|
|
|
@import "_addon/fonts";
|
|
|
|
|
@import "_addon/module";
|
|
|
|
|
@import "_addon/variables";
|
2020-02-27 16:05:50 +03:00
|
|
|
|
@import "_colors/light-typography";
|
|
|
|
|
@import "_colors/dark-typography";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@mixin mode-toggle($dark-mode: false) {
|
|
|
|
|
@if $dark-mode {
|
|
|
|
|
@include dark-scheme;
|
2020-12-04 20:40:01 +03:00
|
|
|
|
.mode-toggle {
|
2020-12-06 09:09:47 +03:00
|
|
|
|
transform: rotateY(180deg);
|
2020-12-04 20:40:01 +03:00
|
|
|
|
}
|
2020-02-27 16:05:50 +03:00
|
|
|
|
} @else {
|
|
|
|
|
@include light-scheme;
|
2020-12-04 20:40:01 +03:00
|
|
|
|
.mode-toggle {
|
2020-12-06 09:09:47 +03:00
|
|
|
|
transform: none;
|
2020-12-04 20:40:01 +03:00
|
|
|
|
}
|
2020-02-27 16:05:50 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html:not([mode]), html[mode=light] {
|
|
|
|
|
@include mode-toggle();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[mode=dark] {
|
|
|
|
|
@include mode-toggle(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
|
html:not([mode]), html[mode=dark] {
|
|
|
|
|
@include mode-toggle(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[mode=light] {
|
|
|
|
|
@include mode-toggle();
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-16 22:06:38 +03:00
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
html, body {
|
2019-10-16 18:20:51 +03:00
|
|
|
|
font-size: 16px;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
line-height: 1.75rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background: var(--body-bg);
|
|
|
|
|
color: var(--text-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
font-family: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*--- sidebar layout ---*/
|
|
|
|
|
|
2020-11-21 23:24:09 +03:00
|
|
|
|
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
$sidebar-display: "sidebar-display";
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#sidebar {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include pl-pr(0);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
2020-02-27 12:36:59 +03:00
|
|
|
|
width: $sidebar-width-medium;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
z-index: 99;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background: var(--sidebar-bg);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
2020-05-04 23:57:40 +03:00
|
|
|
|
@include sidebar-links;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2020-05-31 21:31:13 +03:00
|
|
|
|
|
|
|
|
|
.site-title {
|
|
|
|
|
text-align: center;
|
|
|
|
|
a {
|
|
|
|
|
font-weight: 900;
|
|
|
|
|
font-size: 1.5rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
letter-spacing: 0.5px;
|
2020-05-31 21:31:13 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-subtitle {
|
|
|
|
|
font-size: 95%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #828282;
|
|
|
|
|
line-height: 1.2rem;
|
|
|
|
|
word-spacing: 1px;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin: 0.5rem 1.5rem 2rem 1.5rem;
|
2020-05-31 21:31:13 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.sidebar-bottom {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
.icon-border + a { // the icon behide mode-toggle
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-left: 0.1rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.nav-link {
|
|
|
|
|
border-radius: 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.95rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
}
|
|
|
|
|
.nav-item {
|
2020-02-26 23:00:01 +03:00
|
|
|
|
height: $tab-height;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
.nav-link {
|
|
|
|
|
color: #f8f9facf;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.active {
|
|
|
|
|
.nav-link {
|
|
|
|
|
color: #fcfcfc;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
ul {
|
2020-02-26 23:00:01 +03:00
|
|
|
|
height: $tab-height * $tab-count;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li:last-child {
|
|
|
|
|
> a {
|
2020-02-26 23:00:01 +03:00
|
|
|
|
margin-right: -3px;
|
|
|
|
|
max-width: calc(100% - 3px);
|
|
|
|
|
}
|
|
|
|
|
&::after { // the cursor
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
content: "";
|
|
|
|
|
position: relative;
|
|
|
|
|
right: 1px;
|
|
|
|
|
width: 3px;
|
|
|
|
|
height: $tab-cursor-height;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--nav-cursor-color);
|
2020-02-26 23:00:01 +03:00
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin fix-cursor($top) {
|
|
|
|
|
top: $top;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@for $i from 1 through $tab-count {
|
|
|
|
|
$offset: $tab-count - $i;
|
|
|
|
|
$top: -$offset * $tab-height + $tab-cursor-height / 2;
|
|
|
|
|
|
|
|
|
|
@if $i < $tab-count {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li.active:nth-child(#{$i}),
|
|
|
|
|
> li.nav-item:nth-child(#{$i}):hover {
|
2020-02-26 23:00:01 +03:00
|
|
|
|
~li:last-child::after {
|
|
|
|
|
@include fix-cursor($top);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} @else {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li.active:nth-child(#{$i}):last-child::after,
|
|
|
|
|
> li.nav-item:nth-child(#{$i}):last-child:hover::after {
|
2020-02-26 23:00:01 +03:00
|
|
|
|
@include fix-cursor($top);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // @for
|
|
|
|
|
|
|
|
|
|
} // ul
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.sidebar-bottom {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
margin: 2rem 2.5rem 1.6rem;
|
|
|
|
|
a {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-bottom: 0.5rem; // icons may have multi lines
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
a:hover, #mode-toggle-wrapper > i:hover {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#mode-toggle-wrapper {
|
|
|
|
|
i {
|
2020-05-04 23:57:40 +03:00
|
|
|
|
@include sidebar-links;
|
2020-12-04 20:40:01 +03:00
|
|
|
|
margin: 0;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
font-size: 1.05rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
bottom: 1px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon-border {
|
|
|
|
|
background: #525354;
|
|
|
|
|
width: 3px;
|
|
|
|
|
height: 3px;
|
|
|
|
|
border-radius: 50%;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-top: 0.75rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} // #sidebar
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2019-11-06 13:06:10 +03:00
|
|
|
|
@media (hover: hover) {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#sidebar ul > li:last-child::after {
|
2019-11-06 13:06:10 +03:00
|
|
|
|
-webkit-transition: top .5s ease;
|
|
|
|
|
-moz-transition: top .5s ease;
|
|
|
|
|
-o-transition: top .5s ease;
|
|
|
|
|
transition: top .5s ease;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#nav-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
width: 100%;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#profile-wrapper {
|
2019-11-11 18:02:38 +03:00
|
|
|
|
margin-top: 2rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#avatar {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> a {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
display: block;
|
|
|
|
|
width: 6rem;
|
|
|
|
|
height: 6rem;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 2px solid #b6b6b6;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transform: translateZ(0); // fixed the zoom in Safari
|
|
|
|
|
-webkit-transition: border-color 0.35s ease-in-out;
|
|
|
|
|
-moz-transition: border-color 0.35s ease-in-out;
|
|
|
|
|
transition: border-color 0.35s ease-in-out;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
&:hover > a {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-color: #fff;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2020-05-04 23:57:40 +03:00
|
|
|
|
-webkit-transition: transform .5s;
|
|
|
|
|
-moz-transition: transform .5s;
|
|
|
|
|
transition: transform .5s;
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
-ms-transform: scale(1.2);
|
|
|
|
|
-moz-transform: scale(1.2);
|
|
|
|
|
-webkit-transform: scale(1.2);
|
|
|
|
|
transform: scale(1.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} // #avatar
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
display: none;
|
|
|
|
|
position: fixed;
|
2019-12-31 18:17:27 +03:00
|
|
|
|
top: 0;
|
|
|
|
|
padding-top: 3rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: auto;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.post-content {
|
|
|
|
|
margin-top: 2rem;
|
2020-02-19 19:31:28 +03:00
|
|
|
|
}
|
2020-02-13 12:46:05 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
/*--- top-bar ---*/
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
height: $topbar-height;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 260px; /* same as sidebar width */
|
|
|
|
|
right: 0;
|
|
|
|
|
transition: top 0.2s ease-in-out;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
z-index: 50;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
|
|
|
|
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--topbar-wrapper-bg);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar i { // icons
|
2019-09-30 15:38:41 +03:00
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#breadcrumb {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: gray;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-left: 0.5rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
&::after {
|
|
|
|
|
content: "›";
|
|
|
|
|
padding: 0 .3rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar-trigger,
|
|
|
|
|
#search-trigger {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-wrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 95%;
|
|
|
|
|
border-radius: 1rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border: 1px solid var(--search-wrapper-bg);
|
|
|
|
|
background: var(--search-wrapper-bg);
|
2019-12-31 18:17:27 +03:00
|
|
|
|
padding: 0 .5rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
i {
|
|
|
|
|
z-index: 2;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.9rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--search-icon-color);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
.fa-times-circle { /* button 'clean up' */
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-21 21:45:07 +03:00
|
|
|
|
#search-cancel { /* 'Cancel' link */
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--link-color);
|
2019-12-31 18:17:27 +03:00
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#search-input {
|
2019-12-31 18:17:27 +03:00
|
|
|
|
background: center;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding: 0.18rem .3rem;
|
2020-01-03 16:22:11 +03:00
|
|
|
|
color: var(--text-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#search-input {
|
|
|
|
|
&:focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
background: center;
|
|
|
|
|
&.form-control {
|
|
|
|
|
&::-webkit-input-placeholder { @include input-placeholder }
|
|
|
|
|
&::-moz-placeholder { @include input-placeholder }
|
|
|
|
|
&:-ms-input-placeholder { @include input-placeholder }
|
|
|
|
|
&::placeholder { @include input-placeholder }
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-hints {
|
|
|
|
|
display: none;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.post-tag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 1rem;
|
|
|
|
|
font-size: 1rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background: var(--search-tag-bg);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border: none;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding: 0.5rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
margin: 0 1rem 1rem 0;
|
|
|
|
|
&::before {
|
|
|
|
|
content: "#";
|
2020-02-28 19:16:47 +03:00
|
|
|
|
color: var(--text-muted-color);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-right: 0.2rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-results {
|
|
|
|
|
padding-bottom: 6rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
|
|
|
|
@extend %link-color;
|
|
|
|
|
@extend %no-bottom-border;
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
font-size: 1.4rem;
|
|
|
|
|
line-height: 2.5rem;
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div {
|
2020-05-03 19:56:56 +03:00
|
|
|
|
max-width: 100%;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
i { // icons
|
|
|
|
|
color: #818182;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-right: 0.15rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
font-size: 80%;
|
|
|
|
|
}
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> p {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#topbar-title {
|
|
|
|
|
display: none;
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-family: sans-serif;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--topbar-text-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
text-align: center;
|
|
|
|
|
width: 70%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: keep-all;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mask {
|
|
|
|
|
display: none;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 1;
|
2020-04-16 19:26:58 +03:00
|
|
|
|
@at-root [#{$sidebar-display}] & {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
display: block!important;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
/*--- main wrapper ---*/
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#main-wrapper {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--main-wrapper-bg);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
position: relative;
|
2020-04-16 19:26:58 +03:00
|
|
|
|
min-height: 100vh;
|
2020-02-16 21:55:16 +03:00
|
|
|
|
padding-bottom: $footer-height;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include pl-pr(0);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row:first-child > div {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:nth-child(1), &:nth-child(2) {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
margin-top: $topbar-height; /* same as the height of topbar */
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
&:first-child {
|
|
|
|
|
/* 3rem for topbar, 6rem for footer */
|
2020-02-27 12:36:59 +03:00
|
|
|
|
min-height: calc(100vh - #{$topbar-height} - #{$footer-height} - #{$post-extend-min-height});
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-11-27 22:58:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#post-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
min-height: calc(100vh - #{$topbar-height}
|
|
|
|
|
- #{$footer-height} - #{$post-extend-min-height})!important;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper.row,
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#main>.row,
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper>.row {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include ml-mr(0);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
footer {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
2020-02-16 21:55:16 +03:00
|
|
|
|
padding: 0 1rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
height: $footer-height;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: #7a7b7d;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--footer-bg-color);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div.d-flex {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
line-height: 1.2rem;
|
|
|
|
|
width: 95%;
|
|
|
|
|
max-width: 1045px;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border-top: 1px solid var(--main-border-color);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
margin-bottom: 1rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
width: 350px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
a {
|
2020-07-30 00:28:16 +03:00
|
|
|
|
color: var(--footer-link);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:link {
|
|
|
|
|
@include no-text-decoration;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
@include no-text-decoration;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.footer-right {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
2020-02-16 21:55:16 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
/*--- Panels ---*/
|
2019-11-24 17:08:17 +03:00
|
|
|
|
|
2019-10-29 09:09:58 +03:00
|
|
|
|
.access {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
top: 2rem;
|
|
|
|
|
transition: top 0.2s ease-in-out;
|
2019-10-26 08:21:58 +03:00
|
|
|
|
margin-right: 1.5rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
margin-top: 3rem;
|
2020-02-28 19:16:47 +03:00
|
|
|
|
margin-bottom: 4rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:only-child {
|
|
|
|
|
position: -webkit-sticky; /* Safari */
|
|
|
|
|
position: sticky;
|
|
|
|
|
}
|
|
|
|
|
&.topbar-down {
|
|
|
|
|
top: 6rem;
|
|
|
|
|
}
|
2020-10-27 00:14:33 +03:00
|
|
|
|
> div {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding-left: 1rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border-left: 1px solid var(--main-border-color);
|
2020-02-28 19:16:47 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 4rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-27 00:14:33 +03:00
|
|
|
|
span {
|
|
|
|
|
@include panel-label;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
.post-content {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.9rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#access-tags {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div.post-content > div {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
max-width: 80%;
|
|
|
|
|
}
|
|
|
|
|
.post-tag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 1rem;
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
background: none;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border: 1px solid var(--btn-border-color);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
border-radius: 0.8rem;
|
|
|
|
|
padding: 0.3rem .5rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
margin: 0 .35rem .5rem 0;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: #2a408e;
|
|
|
|
|
border-color: #2a408e;
|
|
|
|
|
color: #fff;
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#access-lastmod {
|
|
|
|
|
ul {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
height: 1.8rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
a {
|
|
|
|
|
color: #6c757d;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*--- button back-to-top ---*/
|
|
|
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
|
display: none;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: fixed;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background: var(--button-bg);
|
|
|
|
|
color: var(--btn-backtotop-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
height: 2.6em;
|
|
|
|
|
width: 2.7em;
|
|
|
|
|
border-radius: 50%;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border: 1px solid var(--btn-backtotop-border-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
transition: 0.2s ease-out;
|
|
|
|
|
-webkit-transition: 0.2s ease-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#back-to-top:hover {
|
|
|
|
|
transform: translate3d(0, -5px, 0);
|
|
|
|
|
-webkit-transform: translate3d(0, -5px, 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*--- Typography ---*/
|
|
|
|
|
|
|
|
|
|
h1 {
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 1.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@extend %section;
|
|
|
|
|
@extend %anchor;
|
2020-04-07 15:23:57 +03:00
|
|
|
|
font-size: 1.4rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3 {
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@extend %section;
|
|
|
|
|
@extend %anchor;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h4 {
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@extend %section;
|
|
|
|
|
@extend %anchor;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 1.15rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h5 {
|
2020-04-07 15:23:57 +03:00
|
|
|
|
@extend %heading;
|
|
|
|
|
@extend %section;
|
|
|
|
|
@extend %anchor;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
blockquote {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border-left: 5px solid var(--blockquote-border-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
padding-left: 1rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--blockquote-text-color);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.post-content & {
|
|
|
|
|
a {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--link-color);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
|
margin: 0 .3rem;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
sup {
|
2020-09-11 18:25:54 +03:00
|
|
|
|
z-index: 1;
|
|
|
|
|
&:target {
|
|
|
|
|
@extend %anchor;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-28 17:32:33 +03:00
|
|
|
|
.footnotes ol {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
> li {
|
|
|
|
|
padding-top: 0.2rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
margin-top: -0.2rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> p {
|
|
|
|
|
padding-left: 0.2em;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: -.8rem;
|
|
|
|
|
}
|
2020-08-19 16:18:14 +03:00
|
|
|
|
&:target > p {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--footnote-target-bg);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
width: fit-content;
|
|
|
|
|
-webkit-transition: background-color 1.5s ease-in-out;
|
|
|
|
|
/* Safari prior 6.1 */
|
|
|
|
|
transition: background-color 1.5s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.footnote {
|
|
|
|
|
@at-root a#{&} {
|
|
|
|
|
margin: 0 .2em;
|
|
|
|
|
border-bottom-style: none !important;
|
|
|
|
|
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
|
|
|
|
transition: background-color 1.5s ease-in-out;
|
|
|
|
|
}
|
2020-08-19 16:18:14 +03:00
|
|
|
|
@at-root sup:target > a#{&} {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background-color: var(--footnote-target-bg);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding: 0 2px;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.reversefootnote {
|
|
|
|
|
@at-root a#{&} {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.6rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
position: absolute;
|
|
|
|
|
line-height: 1;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-top: 0.5em;
|
|
|
|
|
margin-left: 0.5em;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-bottom-style: none !important;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
|
|
|
|
@at-root p>#{&} {
|
|
|
|
|
@extend %link-color;
|
|
|
|
|
}
|
|
|
|
|
@at-root span>#{&} {
|
|
|
|
|
@extend %link-color;
|
|
|
|
|
}
|
|
|
|
|
.post-preview & {
|
|
|
|
|
@extend %link-color;
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-28 19:16:47 +03:00
|
|
|
|
.categories &,
|
|
|
|
|
#page-category &,
|
|
|
|
|
#tags &,
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#archives & {
|
2020-02-28 19:16:47 +03:00
|
|
|
|
&:not(:hover) {
|
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
} // a
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-09-02 13:25:57 +03:00
|
|
|
|
img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.post {
|
|
|
|
|
h1 {
|
|
|
|
|
margin-top: 3rem;
|
2020-08-21 17:45:12 +03:00
|
|
|
|
margin-bottom: 1rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
em { /* MarkDown italic */
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-right: 0.2rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
a:hover {
|
|
|
|
|
code {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- Begin of Markdown table style ---*/
|
2020-08-14 19:35:00 +03:00
|
|
|
|
div.post-content .table-wrapper {
|
|
|
|
|
overflow-x: auto;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> table {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
min-width: 60%;
|
2020-06-24 15:08:38 +03:00
|
|
|
|
overflow-x: auto;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-spacing: 0;
|
|
|
|
|
margin-bottom: 1.5rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
thead {
|
|
|
|
|
border-bottom: solid 2px rgba(210, 215, 217, 0.75);
|
|
|
|
|
th {
|
|
|
|
|
@extend %table-cell;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-01-11 12:52:38 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
tbody {
|
|
|
|
|
tr {
|
|
|
|
|
&:nth-child(2n) {
|
|
|
|
|
background-color: var(--tb-even-bg);
|
|
|
|
|
}
|
|
|
|
|
&:nth-child(2n + 1) {
|
|
|
|
|
background-color: var(--tb-odd-bg);
|
|
|
|
|
}
|
|
|
|
|
& {
|
|
|
|
|
border-bottom: 1px solid var(--tb-border-color);
|
|
|
|
|
}
|
|
|
|
|
td {
|
|
|
|
|
@extend %table-cell;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2020-08-14 19:35:00 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- post ---*/
|
|
|
|
|
|
2019-12-17 14:26:11 +03:00
|
|
|
|
.pageviews .fa-spinner {
|
|
|
|
|
font-size: 80%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
.post-meta {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
word-spacing: 1px;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
2020-02-28 19:16:47 +03:00
|
|
|
|
@extend %link-color;
|
|
|
|
|
@extend %link-underline;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-right: 2px;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post-content {
|
|
|
|
|
line-height: 1.8;
|
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
word-wrap: break-word;
|
2020-10-07 07:24:25 +03:00
|
|
|
|
|
2020-10-07 15:19:57 +03:00
|
|
|
|
@mixin img($caption: false) {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> img:not([style]) {
|
|
|
|
|
margin: 0.5rem 0;
|
2020-10-10 15:05:10 +03:00
|
|
|
|
|
|
|
|
|
&:not(.normal):not(.left):not(.right) {
|
|
|
|
|
@include align-center;
|
|
|
|
|
|
|
|
|
|
@if $caption {
|
|
|
|
|
@include img-caption;
|
2020-10-07 15:19:57 +03:00
|
|
|
|
}
|
2020-10-07 07:24:25 +03:00
|
|
|
|
}
|
2020-10-10 15:05:10 +03:00
|
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
|
float: left;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin: 0.75rem 1rem 1rem 0;
|
2020-10-10 15:05:10 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
|
float: right;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin: 0.75rem 0 1rem 1rem;
|
2020-10-10 15:05:10 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-07 07:24:25 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin img-caption {
|
|
|
|
|
+ em {
|
|
|
|
|
display: block;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-size: 80%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
color: #6d6c6c;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-06 18:38:10 +03:00
|
|
|
|
|
2020-10-07 07:24:25 +03:00
|
|
|
|
a {
|
|
|
|
|
&:not(.img-hyperlink) {
|
|
|
|
|
@extend %link-color;
|
|
|
|
|
@extend %link-underline;
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
2020-10-06 15:15:19 +03:00
|
|
|
|
}
|
2020-09-02 13:25:57 +03:00
|
|
|
|
}
|
2020-10-07 07:24:25 +03:00
|
|
|
|
&.img-hyperlink {
|
|
|
|
|
@include img;
|
|
|
|
|
@include img-caption;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
font-size: 1.08rem;
|
2020-10-07 15:19:57 +03:00
|
|
|
|
@include img(true);
|
2020-10-06 15:15:19 +03:00
|
|
|
|
}// p
|
2020-12-12 19:35:45 +03:00
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
padding-left: 2rem;
|
|
|
|
|
|
|
|
|
|
.task-list-item {
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
|
margin: 0 .5rem .25rem -1.3rem;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag:hover {
|
|
|
|
|
@extend %tag-hover;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post-tag {
|
2019-11-28 19:04:01 +03:00
|
|
|
|
display: inline-block;
|
|
|
|
|
min-width: 2rem;
|
|
|
|
|
text-align: center;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
background: var(--tag-bg);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
border-radius: 0.3rem;
|
2019-11-28 19:04:01 +03:00
|
|
|
|
padding: 0 .4rem;
|
2020-04-07 15:23:57 +03:00
|
|
|
|
color: inherit;
|
2020-04-06 21:11:50 +03:00
|
|
|
|
line-height: 1.3rem;
|
|
|
|
|
&:not(:last-child) {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-right: 0.2rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2020-04-06 21:11:50 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
@extend %tag-hover;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #d2603a;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-08 21:59:16 +03:00
|
|
|
|
/* --- buttons --- */
|
|
|
|
|
.btn-lang {
|
|
|
|
|
border: 1px solid !important;
|
2020-04-17 22:39:34 +03:00
|
|
|
|
padding: 1px 3px;
|
2020-02-08 21:59:16 +03:00
|
|
|
|
border-radius: 3px;
|
2020-02-28 19:16:47 +03:00
|
|
|
|
color: var(--link-color);
|
|
|
|
|
&:focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
2020-02-08 21:59:16 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
/* --- Effects classes --- */
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
.loaded {
|
|
|
|
|
display: block !important;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@at-root .d-flex#{&} {
|
|
|
|
|
display: flex !important;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unloaded {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.visable {
|
|
|
|
|
visibility: visible !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
|
visibility: hidden !important;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flex-grow-1 {
|
|
|
|
|
-ms-flex-positive: 1!important;
|
|
|
|
|
flex-grow: 1!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-box-shadow {
|
2020-02-27 16:05:50 +03:00
|
|
|
|
box-shadow: 0 0 8px 0 var(--btn-box-shadow)!important;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar-up {
|
|
|
|
|
top: -3rem !important; /* same as topbar height. */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-text-decoration {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include no-text-decoration;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-16 21:55:16 +03:00
|
|
|
|
.tooltip-inner { /* Overrided BS4 Tooltip */
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.7rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
max-width: 220px;
|
2020-02-16 21:55:16 +03:00
|
|
|
|
text-align: left;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-15 19:01:33 +03:00
|
|
|
|
.disabled {
|
|
|
|
|
color: rgb(206, 196, 196);
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hide-border-bottom {
|
|
|
|
|
border-bottom: none!important;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
.input-focus {
|
|
|
|
|
box-shadow: none;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border-color: var(--input-focus-border-color) !important;
|
2019-12-31 18:17:27 +03:00
|
|
|
|
background: center !important;
|
2020-05-04 23:57:40 +03:00
|
|
|
|
transition: background-color .15s ease-in-out,border-color .15s ease-in-out;
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
/*--- Responsive Design ---*/
|
|
|
|
|
|
|
|
|
|
@media all and (max-width: 576px) {
|
|
|
|
|
|
2020-02-27 12:36:59 +03:00
|
|
|
|
$footer-height: 6rem; // overwrite
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row:first-child > div:first-child {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
min-height: calc(100vh - #{$topbar-height} - #{$footer-height});
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#post-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
min-height: calc(100vh - #{$topbar-height}
|
|
|
|
|
- #{$footer-height} - #{$post-extend-min-height}) !important;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
h1 {
|
|
|
|
|
margin-top: 2.2rem;
|
|
|
|
|
font-size: 1.55rem;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#avatar > a {
|
2019-11-12 11:18:54 +03:00
|
|
|
|
width: 5rem;
|
|
|
|
|
height: 5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.site-subtitle {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include ml-mr(1.8rem);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* table text in small screens */
|
2020-08-19 16:18:14 +03:00
|
|
|
|
div > table, p ~ table {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
width: 100%;
|
|
|
|
|
table-layout: fixed;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-16 21:55:16 +03:00
|
|
|
|
#main-wrapper {
|
|
|
|
|
padding-bottom: $footer-height;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
footer {
|
2020-02-16 21:55:16 +03:00
|
|
|
|
height: $footer-height;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div.d-flex {
|
2020-02-25 21:20:41 +03:00
|
|
|
|
width: 100%;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding: 1.5rem 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-bottom: 0.3rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: left!important;
|
|
|
|
|
-ms-flex-pack: distribute!important;
|
|
|
|
|
justify-content: space-around!important;
|
|
|
|
|
}
|
|
|
|
|
.footer-left, .footer-right {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2020-02-16 21:55:16 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-16 21:55:16 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
/* Hide Sidebar and TOC */
|
|
|
|
|
@media all and (max-width: 830px) {
|
|
|
|
|
%slide {
|
|
|
|
|
-webkit-transition: transform 0.4s ease;
|
|
|
|
|
transition: transform 0.4s ease;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
html, body {
|
|
|
|
|
overflow-x: hidden;
|
2019-11-22 18:56:04 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
[#{$sidebar-display}] {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
#sidebar {
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
#topbar-wrapper,
|
|
|
|
|
#main-wrapper {
|
|
|
|
|
transform: translateX(#{$sidebar-width-medium});
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2020-04-16 19:26:58 +03:00
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar {
|
2020-04-16 19:26:58 +03:00
|
|
|
|
@extend %slide;
|
|
|
|
|
|
2020-02-27 12:36:59 +03:00
|
|
|
|
transform: translateX(-#{$sidebar-width-medium}); // hide
|
|
|
|
|
-webkit-transform: translateX(-#{$sidebar-width-medium});
|
2020-04-16 19:26:58 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.cursor {
|
|
|
|
|
-webkit-transition: none;
|
|
|
|
|
-moz-transition: none;
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
#topbar-wrapper {
|
|
|
|
|
@extend %slide;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#main-wrapper {
|
2020-04-16 19:26:58 +03:00
|
|
|
|
@extend %slide;
|
|
|
|
|
padding-top: $topbar-height;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
|
|
|
|
width: 100%;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#page h1.dynamic-title {
|
|
|
|
|
display: none;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
~.post-content {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#breadcrumb,
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar-up {
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row:first-child > div:nth-child(1),
|
|
|
|
|
#main > div.row:first-child > div:nth-child(2) {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#topbar-title,
|
|
|
|
|
#sidebar-trigger,
|
|
|
|
|
#search-trigger {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#search-wrapper {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
&.loaded ~ a {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
margin-right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
.fa-times-circle {
|
|
|
|
|
right: 5.2rem;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-input {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
width: 95%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper .post-content {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-hints {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#tags {
|
|
|
|
|
-webkit-box-pack: center!important;
|
|
|
|
|
-ms-flex-pack: center!important;
|
|
|
|
|
justify-content: center!important;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-11 18:25:54 +03:00
|
|
|
|
sup:target {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
padding-top: 3.4rem;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
.footnotes ol > li {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
padding-top: 3.5rem;
|
|
|
|
|
margin-top: -4.3rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:first-child {
|
|
|
|
|
margin-top: -3.5rem;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-08 21:59:16 +03:00
|
|
|
|
|
2020-02-13 23:52:42 +03:00
|
|
|
|
@media all and (min-width: 577px) and (max-width: 1199px) {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
footer>.d-flex > div {
|
2020-02-13 23:52:42 +03:00
|
|
|
|
width: 312px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
/* Sidebar visible */
|
|
|
|
|
@media all and (min-width: 831px) {
|
|
|
|
|
|
|
|
|
|
/* Solved jumping scrollbar */
|
|
|
|
|
html {
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main-wrapper {
|
|
|
|
|
margin-left: $sidebar-width-medium;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#profile-wrapper {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-wrapper {
|
|
|
|
|
width: 22%;
|
|
|
|
|
min-width: 150px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* button 'back-to-Top' position */
|
|
|
|
|
#back-to-top {
|
|
|
|
|
bottom: 5.5rem;
|
|
|
|
|
right: 1.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar-up {
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#topbar-title {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
footer > div.d-flex {
|
2020-04-16 19:26:58 +03:00
|
|
|
|
width: 92%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* iPad 9.7" horizontal */
|
|
|
|
|
@media all and (min-width: 992px) and (max-width: 1024px) {
|
|
|
|
|
#main-wrapper .col-lg-11 {
|
|
|
|
|
-webkit-box-flex: 0;
|
|
|
|
|
-ms-flex: 0 0 96%;
|
|
|
|
|
flex: 0 0 96%;
|
|
|
|
|
max-width: 96%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
/* Compact icons in sidebar & TOC hidden */
|
2019-11-27 20:59:01 +03:00
|
|
|
|
@media all and (min-width: 832px) and (max-width: 1199px) {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
|
|
|
|
#sidebar {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
width: $sidebar-width-small;
|
2020-02-20 19:23:15 +03:00
|
|
|
|
.sidebar-bottom {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include ml-mr(1.5rem);
|
2020-02-20 19:23:15 +03:00
|
|
|
|
.icon-border {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include ml-mr(.25rem);
|
2020-02-20 19:23:15 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
left: 210px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
width: calc(100% - 210px);
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#search-results > div {
|
2020-05-03 19:56:56 +03:00
|
|
|
|
max-width: 700px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.site-title {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
margin-left: 0!important;
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.site-subtitle {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
font-size: 90%;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include ml-mr(1rem);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#main-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
margin-left: 210px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#breadcrumb {
|
|
|
|
|
width: 65%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: keep-all;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Pannel hidden */
|
2019-11-27 20:59:01 +03:00
|
|
|
|
@media all and (max-width: 1199px) {
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#panel-wrapper {
|
2019-10-29 09:09:58 +03:00
|
|
|
|
display: none;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2019-11-27 20:59:01 +03:00
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row {
|
2019-11-27 20:59:01 +03:00
|
|
|
|
-webkit-box-pack: center!important;
|
|
|
|
|
-ms-flex-pack: center!important;
|
|
|
|
|
justify-content: center!important;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2019-11-25 17:01:40 +03:00
|
|
|
|
/*--- desktop mode, both sidebar and panel are visible ---*/
|
2019-11-25 15:56:50 +03:00
|
|
|
|
|
2019-11-27 20:59:01 +03:00
|
|
|
|
@media all and (min-width: 1200px) {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row > div.col-xl-8 {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
-webkit-box-flex: 0;
|
|
|
|
|
-ms-flex: 0 0 75%;
|
|
|
|
|
flex: 0 0 75%;
|
2019-11-27 20:59:01 +03:00
|
|
|
|
max-width: 75%;
|
2019-11-19 18:32:57 +03:00
|
|
|
|
padding-left: 3%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar {
|
|
|
|
|
padding: 0;
|
|
|
|
|
max-width: 1070px;
|
2019-11-25 15:56:50 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#panel-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
max-width: $panel-max-width;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#back-to-top {
|
2020-02-26 16:37:27 +03:00
|
|
|
|
bottom: 6.5rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
right: 4.3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-input {
|
|
|
|
|
-webkit-transition: all .3s ease-in-out;
|
|
|
|
|
transition: all .3s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
|
|
|
|
width: calc(100% - 260px);
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#search-results > div {
|
2019-12-31 18:17:27 +03:00
|
|
|
|
max-width: 46%;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:nth-child(odd) {
|
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
&:nth-child(even) {
|
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
&:last-child:nth-child(odd) {
|
|
|
|
|
position: relative;
|
|
|
|
|
right: 24.3%;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-28 19:16:47 +03:00
|
|
|
|
.post-content p {
|
|
|
|
|
font-size: 1.03rem;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
footer > div.d-felx {
|
2020-02-21 00:23:43 +03:00
|
|
|
|
width: 85%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-27 20:59:01 +03:00
|
|
|
|
@media all and (min-width: 1400px) {
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
padding-left: calc((100% - #{$main-content-max-width}) / 2);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div.col-xl-8 {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
max-width: 850px;
|
|
|
|
|
}
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
2019-11-28 17:32:33 +03:00
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
|
|
|
|
padding-right: 2rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
max-width: 1110px;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-wrapper .fa-times-circle {
|
|
|
|
|
right: 2.6rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media all and (min-width: 1400px) and (max-width: 1650px) {
|
|
|
|
|
#topbar {
|
|
|
|
|
padding-right: 2rem;
|
|
|
|
|
}
|
2019-11-27 20:59:01 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media all and (min-width: 1650px) {
|
|
|
|
|
|
|
|
|
|
#breadcrumb {
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row > div.col-xl-8 {
|
2019-11-27 20:59:01 +03:00
|
|
|
|
padding-left: 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div:first-child {
|
|
|
|
|
padding-left: 0.55rem !important;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding-right: 1.9rem !important;
|
|
|
|
|
}
|
2019-11-27 20:59:01 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#main-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
margin-left: $sidebar-width-large;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#panel-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
margin-left: calc((100% - #{$main-content-max-width}) / 10);
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
left: $sidebar-width-large;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
max-width: #{$main-content-max-width};
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-wrapper {
|
2019-11-19 18:32:57 +03:00
|
|
|
|
margin-right: 3%;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#profile-wrapper {
|
2020-05-31 21:31:13 +03:00
|
|
|
|
margin: 4rem 2rem 3rem 4rem;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
-ms-flex-direction: column!important;
|
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
#avatar {
|
|
|
|
|
-webkit-box-pack: normal !important;
|
|
|
|
|
-ms-flex-pack: normal !important;
|
|
|
|
|
justify-content: normal !important;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> a {
|
2020-05-31 21:31:13 +03:00
|
|
|
|
width: 6.2rem;
|
|
|
|
|
height: 6.2rem;
|
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.profile-text {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-left: 0.5rem;
|
2020-05-31 21:31:13 +03:00
|
|
|
|
/* .d-flex */
|
|
|
|
|
display: -webkit-box!important;
|
|
|
|
|
display: -ms-flexbox!important;
|
|
|
|
|
display: flex!important;
|
|
|
|
|
/* .flex-wrap */
|
|
|
|
|
-ms-flex-wrap: wrap!important;
|
|
|
|
|
flex-wrap: wrap!important;
|
|
|
|
|
/* .align-content-center */
|
|
|
|
|
-ms-flex-line-pack: center!important;
|
|
|
|
|
align-content: center!important;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div {
|
2020-05-31 21:31:13 +03:00
|
|
|
|
text-align: left !important;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
#sidebar {
|
|
|
|
|
width: $sidebar-width-large;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.site-title a {
|
|
|
|
|
font-size: 1.7rem;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
.site-subtitle {
|
|
|
|
|
word-spacing: 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin: 0.3rem 0 0 0;
|
2020-05-31 21:31:13 +03:00
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
ul {
|
2020-05-31 21:31:13 +03:00
|
|
|
|
margin-left: 3%;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li > a {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding-left: 2.5rem;
|
|
|
|
|
-webkit-box-pack: start!important;
|
|
|
|
|
-ms-flex-pack: start!important;
|
|
|
|
|
justify-content: flex-start!important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.nav-link {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> span {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
letter-spacing: 3px;
|
|
|
|
|
}
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> i {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@include icon-round(1.65rem);
|
|
|
|
|
line-height: 1rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
padding: 0.5em 0 0 .1em;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
display: inline-block!important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.sidebar-bottom {
|
|
|
|
|
margin-left: 3.5rem;
|
|
|
|
|
margin-right: 3rem;
|
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
a {
|
|
|
|
|
border: 1px solid;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 2rem;
|
2020-02-19 19:31:28 +03:00
|
|
|
|
text-align: center;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
i {
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 1.25em;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-top: 0.44rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2020-02-19 19:31:28 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#mode-toggle-wrapper {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.9rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
i {
|
|
|
|
|
@include icon-round(2rem);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
padding-top: 0.44rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
2020-02-20 20:27:28 +03:00
|
|
|
|
}
|
2020-02-16 22:06:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.icon-border {
|
|
|
|
|
@include ml-mr(.2rem);
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-top: 0.85rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
+a {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} // .sidebar-bottom
|
|
|
|
|
} // #sidebar
|
2020-08-19 16:18:14 +03:00
|
|
|
|
footer > div.d-flex {
|
2020-02-21 00:23:43 +03:00
|
|
|
|
width: 87%;
|
|
|
|
|
max-width: 1140px;
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
width: calc(100% - #{$sidebar-width-large});
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> div {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
max-width: #{$main-content-max-width};
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
} // min-width: 1650px
|
2019-11-19 18:32:57 +03:00
|
|
|
|
|
2020-05-31 21:31:13 +03:00
|
|
|
|
|
2019-11-19 18:32:57 +03:00
|
|
|
|
@media all and (min-width: 1700px) {
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
padding-right: calc(100% - #{$sidebar-width-large}
|
|
|
|
|
- (1920px - #{$sidebar-width-large}) ) /* 100% - 350px - (1920px - 350px); */
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-04-06 22:46:46 +03:00
|
|
|
|
#topbar {
|
|
|
|
|
max-width: calc(#{$main-content-max-width} + 20px)
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
padding-left: calc((100% - #{$main-content-max-width} - 2%) / 2);
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#panel-wrapper {
|
2019-11-27 20:59:01 +03:00
|
|
|
|
margin-left: 3%;
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
footer {
|
2020-02-21 00:23:43 +03:00
|
|
|
|
padding-left: 0;
|
2020-02-27 12:36:59 +03:00
|
|
|
|
padding-right: calc(100% - #{$sidebar-width-large} - 1180px);
|
2019-11-19 18:32:57 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
|
right: calc(100% - 1920px + 15rem);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2019-11-27 20:59:01 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1920px) {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#main > div.row {
|
2019-11-27 20:59:01 +03:00
|
|
|
|
padding-left: 190px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
padding-right: calc(100% - #{$sidebar-width-large} - 1530px);
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#panel-wrapper {
|
2019-11-27 20:59:01 +03:00
|
|
|
|
margin-left: 41px;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|