2021-07-04 08:27:31 -04:00
|
|
|
/* Fonts */
|
|
|
|
@import "fonts";
|
|
|
|
|
|
|
|
/* Load Bootstrap v5 and customizations */
|
|
|
|
@import "bs-load";
|
|
|
|
|
2021-07-04 09:26:44 -04:00
|
|
|
/*SVG ICON SYSTEM*/
|
|
|
|
@import "svg-icons";
|
|
|
|
|
2021-07-04 18:16:33 -04:00
|
|
|
/* Navbar toggler icon override */
|
|
|
|
@import "nav-burger";
|
2021-07-04 08:27:31 -04:00
|
|
|
|
2021-07-04 18:16:33 -04:00
|
|
|
/* Navbar custom styling */
|
|
|
|
@import "nav-bar-help";
|
2021-07-04 08:27:31 -04:00
|
|
|
|
2021-07-08 19:19:22 -04:00
|
|
|
/*
|
|
|
|
* Code syntax highlighting
|
|
|
|
* Actual highlighting is done by plugin
|
|
|
|
* "Syntax-highlighting Code Block (with Server-side Rendering)"
|
|
|
|
* url: https://wordpress.org/plugins/syntax-highlighting-code-block/
|
|
|
|
*
|
|
|
|
* highlighting style is set in classes.php by adding filter to
|
|
|
|
* 'syntax_highlighting_code_block_style'
|
|
|
|
*/
|
2021-07-08 11:49:18 -04:00
|
|
|
pre, code, .font-monospace {
|
2021-07-06 23:31:20 -04:00
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2021-07-08 11:49:18 -04:00
|
|
|
code.hljs {
|
2021-07-08 19:19:22 -04:00
|
|
|
padding: 0.4rem 0.75rem;
|
2021-07-08 11:49:18 -04:00
|
|
|
border-radius: .5em;
|
2021-07-08 19:19:22 -04:00
|
|
|
// background-color: #1c1c1c;
|
|
|
|
}
|
2021-07-09 12:20:38 -04:00
|
|
|
p code, li code {
|
|
|
|
background-color: #1d1f21;
|
|
|
|
color: #c5c8c6;
|
|
|
|
padding: .2em .4em .1em;
|
2021-07-08 19:19:22 -04:00
|
|
|
border-radius: .25em;
|
|
|
|
display: inline;
|
2021-07-08 11:49:18 -04:00
|
|
|
}
|
2021-07-06 23:31:20 -04:00
|
|
|
|
2021-07-04 08:27:31 -04:00
|
|
|
/* main */
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
color: $gray-100;
|
|
|
|
background-color: $gray-800;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: rgba($white, 0.75);
|
|
|
|
border-bottom: $gray-600 2px solid;
|
|
|
|
text-decoration: none;
|
|
|
|
&.navbar-brand,
|
|
|
|
&.nav-link {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
&:visited {
|
|
|
|
color: $info;
|
|
|
|
.post-title & {
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: $secondary 3px solid;
|
|
|
|
&.navbar-brand {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-08 12:40:34 -04:00
|
|
|
.wp-block-separator {
|
|
|
|
border-top: none !important;
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
2021-07-04 18:16:33 -04:00
|
|
|
|
|
|
|
/* navbar menus */
|
|
|
|
// nav.navbar ul.navbar-nav li.menu-item
|
|
|
|
|
|
|
|
/* more */
|
2021-07-04 08:27:31 -04:00
|
|
|
.border-gray-900 {
|
|
|
|
border-color: $gray-900 !important;
|
|
|
|
}
|
|
|
|
.text-gray-200 {
|
|
|
|
color: $gray-200;
|
|
|
|
}
|
|
|
|
.text-gray-300 {
|
|
|
|
color: $gray-300;
|
|
|
|
}
|
|
|
|
.text-gray-400 {
|
|
|
|
color: $gray-400;
|
|
|
|
}
|
|
|
|
.text-gray-500 {
|
|
|
|
color: $gray-500;
|
|
|
|
}
|
|
|
|
.border-10 {
|
|
|
|
border-width: 10px !important;
|
|
|
|
}
|
|
|
|
.border-20 {
|
|
|
|
border-width: 20px !important;
|
|
|
|
}
|
|
|
|
.fw-500 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.fw-600 {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.font-brand {
|
|
|
|
font-family: $font-family-brand;
|
|
|
|
}
|
|
|
|
.fs-larger {
|
|
|
|
font-size: larger;
|
|
|
|
}
|
|
|
|
.fs-smaller {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
.footer73k {
|
|
|
|
position: fixed !important;
|
2021-07-06 14:57:45 -04:00
|
|
|
font-size: 14px !important;
|
2021-07-04 08:27:31 -04:00
|
|
|
border-top-left-radius: 0.3rem !important;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
2021-07-08 19:19:22 -04:00
|
|
|
.tek-subtitle {
|
|
|
|
@extend .fs-5;
|
|
|
|
@extend .font-monospace;
|
|
|
|
@extend .text-gray-300;
|
2021-07-09 12:20:38 -04:00
|
|
|
@extend .mb-0;
|
2021-07-06 23:31:20 -04:00
|
|
|
margin-top: -0.5rem;
|
|
|
|
}
|
2021-07-04 18:16:33 -04:00
|
|
|
|
2021-07-09 12:20:38 -04:00
|
|
|
/* front page styles */
|
|
|
|
#front-page img.wp-post-image {
|
|
|
|
@extend .img-fluid;
|
|
|
|
@extend .border;
|
|
|
|
// @extend .border-20;
|
|
|
|
@extend .border-gray-900;
|
|
|
|
@extend .rounded-2;
|
|
|
|
border-width: 18px !important;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#front-page h2 {
|
|
|
|
@extend .fs-2;
|
|
|
|
@extend .fw-600;
|
|
|
|
@extend .mb-0;
|
|
|
|
}
|
|
|
|
|
2021-07-06 14:57:45 -04:00
|
|
|
/* social icons */
|
|
|
|
#social-icons .link-light {
|
|
|
|
border-bottom: none;
|
|
|
|
color: $gray-100;
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-08 11:49:18 -04:00
|
|
|
/* blockquote handling */
|
2021-07-06 23:31:20 -04:00
|
|
|
blockquote {
|
|
|
|
&.wp-block-quote {
|
2021-07-07 15:40:18 -04:00
|
|
|
@extend .border-start;
|
|
|
|
@extend .border-gray;
|
|
|
|
@extend .border-5;
|
|
|
|
@extend .ms-0;
|
|
|
|
@extend .my-4;
|
|
|
|
@extend .ps-3;
|
2021-07-08 19:19:22 -04:00
|
|
|
@extend .py-2;
|
|
|
|
background-color: $gray-750;
|
|
|
|
&.tek-bq-lg {
|
|
|
|
p {
|
|
|
|
font-size: 1.375rem;
|
|
|
|
}
|
|
|
|
}
|
2021-07-07 15:40:18 -04:00
|
|
|
p {
|
|
|
|
@extend .blockquote;
|
2021-07-08 19:19:22 -04:00
|
|
|
font-size: 1em;
|
2021-07-08 11:49:18 -04:00
|
|
|
&:last-of-type {
|
2021-07-08 19:19:22 -04:00
|
|
|
@extend .my-0;
|
|
|
|
@extend .py-0;
|
2021-07-08 11:49:18 -04:00
|
|
|
}
|
2021-07-07 15:40:18 -04:00
|
|
|
}
|
2021-07-06 23:31:20 -04:00
|
|
|
cite {
|
|
|
|
@extend .blockquote-footer;
|
|
|
|
@extend .text-gray-300;
|
2021-07-08 19:19:22 -04:00
|
|
|
@extend .my-0;
|
|
|
|
@extend .py-0;
|
2021-07-07 15:40:18 -04:00
|
|
|
font-size: 0.85em;
|
2021-07-06 23:31:20 -04:00
|
|
|
font-style: normal;
|
|
|
|
}
|
2021-07-08 19:19:22 -04:00
|
|
|
:last-child {
|
|
|
|
@extend .py-1;
|
|
|
|
}
|
2021-07-06 23:31:20 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* resume separators */
|
|
|
|
.separator {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
color: $gray-400;
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: smaller;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 700;
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
flex: 1;
|
|
|
|
border-bottom: 1px solid $secondary;
|
|
|
|
}
|
|
|
|
&:not(:empty)::before {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
&:not(:empty)::after {
|
|
|
|
margin-left: 0.33em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* blog */
|
|
|
|
.post-title a {
|
|
|
|
color: $gray-100;
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: none;
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
border-bottom: $secondary 3px solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.post-lede,
|
|
|
|
.post-body {
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
|
|
color: $gray-200;
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.post li {
|
|
|
|
line-height: 1.75rem;
|
2021-07-07 13:07:19 -04:00
|
|
|
}
|
|
|
|
.more-link {
|
|
|
|
@extend .fs-6;
|
2021-07-06 23:31:20 -04:00
|
|
|
}
|