body {
  background-color: #393E41;
  color: white;
  max-width: 800px;
  margin: auto;
  padding: .2em;
  line-height: 1.5em;
}

header {
  background: #393E41;
  border-bottom: 2px dotted #EBC3DB;
  position: relative;
  width: 100%;
  height: 1.75rem;
  font-size: 1rem;
}

header nav {
  padding: 0 0.5rem
}

header ul, header ol {
  margin: 0;
  padding: 0;
  list-style: none
}

header a {
  color: #fff;
  line-height: 1.75rem;
  padding: 0 0.5rem
}

header a:hover,
header .current a {
  color: #fff
}

.pull-left {
  float: left
}
.pull-right {
  float: right
}

a {
  color: #EBC3DB;
  text-decoration: none;
}

blockquote {
  background: #393E41;
}

h1 {
  line-height: 1.5em;
}

/* Header and Footer */
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  padding: 5px;
  border-radius: 5px;
  border-style: dotted;
  border-width: 1px;
  margin: 20px 0px 20px 0px;
}

.terms { font-size: .9em; }
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }


a:hover {
  text-decoration: underline;
}

/* Code Boxes */
pre {
  border: 2px solid #EBC3DB;
  padding: 1em;
  overflow-x: auto;
}
pre code { background: none; }

code {
  background-color: light-dark(#D6D6D6, #888);
  border-radius: 3px;
  padding: 0.2em;
  overflow-x: auto;
}

/* Images, tables, misc. */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

.content-wrapper {
  padding: 0px 12px 0px 12px;
}

#aklil {
  width: 204px;
  height: 204px;
  min-width: 40px;
  float: right;
  padding: 10px;
  display: block;
}

/* Small devices, phones */
@media only screen and (min-width : 480px) {
  #foxy {
    min-width: 40px;
    float: center;
    padding: 10px 10px 10px 20px;
    display: block;
  }

}

/* 在大屏幕上应用特定样式 */
@media screen and (min-width: 768px) {
    #table-of-contents {
        position: fixed; /* 固定定位，使其悬浮在页面上 */
        top: 50%; /* 上边距为50% */
        right: 15px; /* 右边距为0，将其放在右侧 */
        transform: translateY(-50%); /* 使用transform来垂直居中 */
        background-color: #f0f0f0; /* 设置背景颜色 */
        padding: 10px; /* 添加一些内边距以增加可读性 */
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
        width: 250px; /* 设置宽度 */
        max-height: 70vh; /* 设置最大高度为视口的70% */
        overflow-y: auto; /* 添加垂直滚动条 */
    }
}

.social-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.social-icons img {
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  width: 25px; 
  height: 25px;
}

.social-icons img:hover {
  transform: scale(1.05);
  filter: brightness(1.2); /* Adjust icon brightness on hover */
}

