update doc style

This commit is contained in:
NaBian 2020-08-20 00:19:51 +08:00
parent 1d7f6be7f5
commit b0e4b98827
2 changed files with 24 additions and 0 deletions

View File

@ -16,6 +16,7 @@
<html class="{{ html_class | lower }}" lang="{{ config.language }}">
<head>
<script data-ad-client="ca-pub-8129276259146154" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{{ partial('_partials/head/head.swig', {}, {cache: theme.cache.enable}) }}
{% include '_partials/head/head-unique.swig' %}
<title>{% block title %}{% endblock %}</title>

View File

@ -1,5 +1,28 @@
// Custom styles.
.table-container table{
background-color: #eee;
border-collapse:separate;
border-spacing: 0 4px;
padding: 0 6px 2px 6px;
}
.table-container th, td{
border: 0;
}
.table-container tr td:first-child{
border-radius: 4px 0 0 4px;
}
.table-container tr td:last-child{
border-radius: 0 4px 4px 0;
}
.table-container tbody > tr {
background-color: white !important;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;