update theme

This commit is contained in:
Stian Lund 2024-08-16 13:19:41 +02:00
parent 42a034075c
commit 84df643d7f
3 changed files with 9 additions and 7 deletions

View File

@ -10,18 +10,18 @@ Template Name: Archives
<h1 class="entry-title"><?php the_title(); ?></h1> <h1 class="entry-title"><?php the_title(); ?></h1>
</header> </header>
<div><?php get_search_form();?></div> <div><?php get_search_form();?></div>
<table> <table class="archives">
<tr> <tr>
<th>By Month</th> <th>By Month</th>
<th>By Subject</th> <th>By Subject</th>
</tr> </tr>
<tr> <tr>
<td style="vertical-align:top"> <td style="vertical-align:top">
<ul><?php wp_get_archives( array('type' => 'monthly','format' => 'custom','after' => ' &ndash; ')); ?></ul> <?php wp_get_archives( array('type' => 'monthly','format' => '','after' => '&nbsp;<span>&ndash;</span>')); ?>
<!--<?php //wp_get_archives('type=monthly'); ?>--> <!--<?php //wp_get_archives('type=monthly'); ?>-->
</td> </td>
<td style="vertical-align:top"> <td style="vertical-align:top">
<ul><?php wp_list_categories(); ?></ul> <ul><?php wp_list_categories( array('title_li' => '') ); ?></ul>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -6,7 +6,7 @@
* *
* @package wp386 * @package wp386
*/ */
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html <?php language_attributes(); ?>> <html <?php language_attributes(); ?>>
<head> <head>

View File

@ -29,6 +29,7 @@ article.comment-body{margin:20px 0;}
article.post.sticky .page-header,article.post.sticky{background-color:#0A0;margin:30px 0;} article.post.sticky .page-header,article.post.sticky{background-color:#0A0;margin:30px 0;}
article.post{-ms-word-wrap:break-word;word-wrap:break-word;} article.post{-ms-word-wrap:break-word;word-wrap:break-word;}
blockquote p, blockquote div {color:white;} blockquote p, blockquote div {color:white;}
body {color:#cccccc;}
body.admin-bar .navbar-fixed-top{top:30px;} body.admin-bar .navbar-fixed-top{top:30px;}
body.admin-bar .sidebar-outer{margin-top:70px;} body.admin-bar .sidebar-outer{margin-top:70px;}
body.admin-bar.mp6 .navbar-fixed-top{top:32px;} body.admin-bar.mp6 .navbar-fixed-top{top:32px;}
@ -36,15 +37,14 @@ body.admin-bar.mp6 .sidebar-outer{margin-top:60px;}
embed,iframe,object{max-width:100%;} embed,iframe,object{max-width:100%;}
form input.search-field {border: inset;box-shadow: 3px 3px black;} form input.search-field {border: inset;box-shadow: 3px 3px black;}
form input.search-submit {border: outset;background: #bbb;} form input.search-submit {border: outset;background: #bbb;}
footer.entry-meta{display:block;clear:both;padding:5px 0 5px;border-top:2px solid #bbbbbb;} footer.entry-meta{display:block;clear:both;padding:5px 0 5px;border-top:2px solid #cccccc;}
footer.site-footer{margin-bottom:5px;} footer.site-footer{margin-bottom:5px;}
img{-webkit-filter:unset;-moz-filter:unset;-ms-filter:unset;-o-filter:unset;filter:unset;} img{-webkit-filter:unset;-moz-filter:unset;-ms-filter:unset;-o-filter:unset;filter:unset;}
label{display:inline;} label{display:inline;}
li.menu-item {padding-left:0;}
pre{color:lime;background-color:#002100;padding:10px;width:95%;box-shadow:5px 5px black;margin:1em auto;background-image:url("/img/crt-lines.png");} pre{color:lime;background-color:#002100;padding:10px;width:95%;box-shadow:5px 5px black;margin:1em auto;background-image:url("/img/crt-lines.png");}
table{width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;} table{width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;}
table th{color:white;text-align:left;} table th{color:white;text-align:left;}
ul{list-style: none;} table.archives span:last-of-type{display:none;}
#today{text-decoration:underline;} #today{text-decoration:underline;}
#site-description{clear:left;} #site-description{clear:left;}
#site-description pre {all:unset;} #site-description pre {all:unset;}
@ -55,6 +55,7 @@ ul{list-style: none;}
.border-box,.widget_search input.search-field,.sidebar-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .border-box,.widget_search input.search-field,.sidebar-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
.byline,.updated{display:none;} .byline,.updated{display:none;}
.bypostauthor{display:initial;} .bypostauthor{display:initial;}
.categories ul {list-style:none;}
.clear:before,.clear:after{content:'';display:table;clear:both;} .clear:before,.clear:after{content:'';display:table;clear:both;}
.comments-area{margin:30px 0 0;clear:both;} .comments-area{margin:30px 0 0;clear:both;}
.comment-content a{word-wrap:break-word;} .comment-content a{word-wrap:break-word;}
@ -121,6 +122,7 @@ ul{list-style: none;}
.theme-blackonwhite strong,.theme-blackonwhite em{color:black;} .theme-blackonwhite strong,.theme-blackonwhite em{color:black;}
.theme-blackonwhite{background-color:white;color:black;} .theme-blackonwhite{background-color:white;color:black;}
.video-player{margin-bottom:0.5em;} .video-player{margin-bottom:0.5em;}
.widget li{padding-left:0;list-style-type:none;}
.widget select{max-width:100%;} .widget select{max-width:100%;}
.widget_search .search-submit{display:none;} .widget_search .search-submit{display:none;}
.widget_search input.search-field{width:100%;height:24px;} .widget_search input.search-field{width:100%;height:24px;}