Skip to content

Commit b0e4b98

Browse files
committed
update doc style
1 parent 1d7f6be commit b0e4b98

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

doc/themes/next/layout/_layout.swig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

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

doc/themes/next/source/css/_custom/custom.styl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
// Custom styles.
22

3+
.table-container table{
4+
background-color: #eee;
5+
border-collapse:separate;
6+
border-spacing: 0 4px;
7+
padding: 0 6px 2px 6px;
8+
}
9+
10+
.table-container th, td{
11+
border: 0;
12+
}
13+
14+
.table-container tr td:first-child{
15+
border-radius: 4px 0 0 4px;
16+
}
17+
18+
.table-container tr td:last-child{
19+
border-radius: 0 4px 4px 0;
20+
}
21+
22+
.table-container tbody > tr {
23+
background-color: white !important;
24+
}
25+
326
::-webkit-scrollbar {
427
width: 8px;
528
height: 8px;

0 commit comments

Comments
 (0)