@charset "UTF-8";
/*
  Author: michaelluang(michaelluang@gmail.com)
  version 1.0

  CONTENTS ----------

    1. General Styles
      1.1 Web Font
      1.2 Reset Styles

*/
@import "normalize.css";
@import "_vars.css";
@import "_settings.css";
@import "_animations.css";
@import "_forms.css";
@import "_tables.css";
@import "_lists.css";
@import "_navigation.css";
@import "_side-navigation.css";
@import "_buttons.css";
@import "_icons.css";
@import "_utils.css";
@import "_layouts.css";
@import "_modal.css";
@import "_typography.css";
@import "_tabs.css";
@import "_status-label.css";

/* @group 1-General Styles
-------------------------------------------------- */
/**
 * 1.2-Reset some basic elements
 */
*,
*::before,
*::after {
  box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

/**
 * Basic styling
 */
html {
	height: 100%;
}

body {
	height: 100%;
  position: relative;
  font: 400 16px/1.5rem -apple-system, "Microsoft YaHei", "WenQuanYi Micro Hei", Helvetica, Arial, sans-serif;
  color: var(--color-text-default);
  background-color: var(--color-background-default);
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal; }

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; }

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle; }

.post-image-wrapper {
  text-align: center;
  margin: 30px; }
  .post-image-wrapper img {
    max-width: 80%; }
  .post-image-wrapper .image-caption {
    color: #828282;
    font-size: 14px;
    margin-top: 10px; }

/**
 * Figures
 */
figure > img {
  display: block; }

figcaption {
  font-size: 14px; }

/**
 * Lists
 */
ul, ol {
  margin-left: 30px; }

li {
  list-style: none;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400; }

/**
 * Links
 */
a {
  color: #2a7ae2;
  cursor: pointer;
  text-decoration: none; }
  a:visited {
    color: #1756a9; }
  a:hover,
  a.active {
    color: var(--color-default);
    text-decoration: underline; }

a.external::after {
  content: '↗';
  padding-left: 2px;
  font-size: 80%;
  vertical-align: text-bottom; }

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 16px;
  font-style: italic; }
  blockquote > :last-child {
    margin-bottom: 0; }

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

/**
 * Wrapper
 */
.wrapper {
  position: relative;
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 800px) {
    .wrapper {
      max-width: -webkit-calc(800px - (30px));
      max-width: calc(800px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }

/**
 * Clearfix
 */
.wrapper:after, .footer-col-wrapper:after {
  content: "";
  display: table;
  clear: both; }

/**
 * Icons
 */
.icon > svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle; }
  .icon > svg path {
    fill: #828282; }

.site-wrapper {
  margin: 0 auto;
  padding: 0 1.38em;
  max-width: 820px; }

/**
 * Site Supertext
 */
.switch-language {
  position: fixed;
  right: 30px;
  top: 10px;
  z-index: 9999;
  border: 1px solid #828282;
  border-radius: 4px;
  vertical-align: top;
  padding: 4px 10px;
  -webkit-user-select: none;
  user-select: none; }
  @media screen and (max-width: 800px) {
    .switch-language {
      position: absolute;
      right: 10px; } }
  .switch-language a {
    text-decoration: none;
    font-size: 14px;
    color: #828282;
    text-transform: uppercase; }
    .switch-language a:hover {
      color: #111; }

/**
 * Site logo
 */
.logo,
.logo:hover,
.logo:visited {
  color: var(--color-text-default);
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0; }

.footer-col-wrapper {
  font-size: 15px;
  color: #828282; }

.footer-col {
  float: left;
  text-align: center; }

.footer-col-1 {
  width: calc(50% - (30px / 2)); }

.footer-col-2 {
  width: calc(50% - (30px / 2)); }
.footer-col-2 span {
  color: red; }

.site-footer .buttons {
  text-align: center;
}
.site-footer .buttons a:hover {
  text-decoration: none;
}
.site-footer .buttons img {
  opacity: 0.5;
  border: 0;
  height: 15px;
}
.site-footer .buttons img:hover {
  opacity: 1;
}

@media screen and (max-width: 800px) {
  .footer-col {
    text-align: center;
  }
  .footer-col-1 {
    width: calc(100% - (30px / 2)); }

  .footer-col-2 {
    width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) {
  .footer-col {
    text-align: center;
    float: none;
    width: calc(100% - (30px / 2)); } }
/**
 * Page content
 */
.page-content {
  padding: 30px 0; }

.page-heading {
  font-size: 20px; }

.post-list {
  margin-left: 0;
  list-style: none; }
  .post-list > li {
    margin-bottom: 30px; }

.post-meta {
  font-size: 14px;
  color: #828282; }

.post-link {
  display: block;
  font-size: 24px; }

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px; }
  .post-header > p {
    font-size: 12px;
    line-height: 1.3;
    color: #828282; }

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1; }
  @media screen and (max-width: 800px) {
    .post-title {
      font-size: 36px; } }

.post-content {
  margin-bottom: 30px; }
  .post-content h2 {
    font-size: 32px;
    text-align: center;
    border-bottom: solid 1px #555; }
    @media screen and (max-width: 800px) {
      .post-content h2 {
        font-size: 28px; } }
  .post-content h3 {
    font-size: 26px; }
    @media screen and (max-width: 800px) {
      .post-content h3 {
        font-size: 22px; } }
  .post-content h4 {
    font-size: 20px; }
    @media screen and (max-width: 800px) {
      .post-content h4 {
        font-size: 18px; } }
  .post-content table {
    margin: 0 auto;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    width: 80%;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left; }
    .post-content table thead {
      vertical-align: middle;
      border-bottom: 1px solid #111; }

/**
 * about page
 */
.username {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  padding-left: 20px;
}
.username.github {
  background-image: url(../images/icon-github.svg);
}
.username.twitter {
  background-image: url(../images/icon-twitter.svg);
}
.username.instagram {
  background-image: url(../images/icon-instagram.svg);
}

.dt-flash--info,
.dt-flash--success,
.dt-flash--warning,
.dt-flash--error {
  padding: 10px 20px;
  font-size: 14px;
  margin: 0;
}

.dt-flash--info {
  background-color: var(--color-tinted-background-information);
  border: solid 1px var(--color-tinted-border-information);
}

.dt-flash--success {
  background-color: var(--color-tinted-background-positive);
  border: solid 1px var(--color-tinted-border-positive);
}

.dt-flash--warning {
  background-color: var(--color-tinted-background-caution);
  border: solid 1px var(--color-tinted-border-caution);
}

.dt-flash--error {
  background-color: var(--color-tinted-background-negative);
  border: solid 1px var(--color-tinted-border-negative);
}
/**
 * Links
 */
.dt-link--skip {
  display: block;
  position: absolute;
  left: -999px;
  top: -999px;
}

.dt-link--skip:focus {
  position: relative;
  left: 0;
  margin: 0.25rem;
  padding: 0.25rem;
  top: 0;
  z-index: 999999;
}

/**
 * Hr
 */
hr {
  border: 0;
  height: 1px;
  margin-top: 0;
  margin-bottom: calc(var(--spv-small) - 1px);
  position: relative;
  width: 100%;
  background-color: var(--color-border-default);
}

.is-hidden {
  display: none;
}

/**
 * Currency Rate
 */
.currency-rate-edit-form input:disabled,
.pricing-rate-edit-form input:disabled {
  border-color: transparent;
  text-align: right;
}

/**
 * Context menu
 */
.dt-context-menu {
  position: fixed;
  display: none;
  padding: 0;
  margin: 0;
  width: fit-content;
  box-shadow: var(--box-shadow);
}

.dt-context-menu.active {
  display: inline-block;
}

.dt-context-menu .dt-context-menu__link {
  border: 0;
  margin: 0;
  display: block;
  padding: var(--spv-x-small) var(--sph-small);
  text-align: left;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/**
 * Card
 */
.dt-card {
  padding: var(--sp-medium);
  background-color: var(--color-background-alt);
  width: 100%;
  margin-bottom: var(--sp-medium);
}

.dt-card:hover {
  background-color: var(--color-background-hover);
}

@media (min-width: 768px) {
  .dt-card {
    width: 46%;
  }
}
