mirror of https://github.com/vtrois/kratos
feat: add some widget (#138)
parent
5dcf42fd49
commit
e5877937f1
|
@ -1561,6 +1561,28 @@ button:focus {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.k-main .sidebar #wp-calendar {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.k-main .sidebar caption,.k-main .sidebar tfoot{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.k-main .sidebar tbody tr{
|
||||||
|
font-family:arial;
|
||||||
|
font-weight:400;
|
||||||
|
font-size:14px;
|
||||||
|
}
|
||||||
|
.k-main .sidebar tbody a {
|
||||||
|
display: block;
|
||||||
|
border: 1px solid #00a2ff;
|
||||||
|
background: #edf8ff;
|
||||||
|
}
|
||||||
|
.k-main .sidebar tbody tr td,.k-main .sidebar thead tr th{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width:1200px) {
|
@media screen and (max-width:1200px) {
|
||||||
.k-main .sidebar .w-tags .item a,.k-main .sidebar .widget_links ul li {
|
.k-main .sidebar .w-tags .item a,.k-main .sidebar .widget_links ul li {
|
||||||
width: 110px;
|
width: 110px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -20,15 +20,9 @@ function widgets_init()
|
||||||
// 去掉默认小工具
|
// 去掉默认小工具
|
||||||
$wp_widget = array(
|
$wp_widget = array(
|
||||||
'WP_Widget_Pages',
|
'WP_Widget_Pages',
|
||||||
'WP_Widget_Calendar',
|
|
||||||
'WP_Widget_Archives',
|
'WP_Widget_Archives',
|
||||||
'WP_Widget_Media_Audio',
|
|
||||||
'WP_Widget_Media_Image',
|
|
||||||
'WP_Widget_Media_Gallery',
|
|
||||||
'WP_Widget_Media_Video',
|
|
||||||
'WP_Widget_Meta',
|
'WP_Widget_Meta',
|
||||||
'WP_Widget_Search',
|
'WP_Widget_Search',
|
||||||
'WP_Widget_Text',
|
|
||||||
'WP_Widget_Categories',
|
'WP_Widget_Categories',
|
||||||
'WP_Widget_Recent_Posts',
|
'WP_Widget_Recent_Posts',
|
||||||
'WP_Widget_Recent_Comments',
|
'WP_Widget_Recent_Comments',
|
||||||
|
|
Loading…
Reference in New Issue