diff options
author | Thomas Lange <code@nerdmind.de> | 2017-09-02 16:16:56 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-09-02 16:16:56 +0200 |
commit | a2556505e5f2d528a6c93958a8c7c9beaf4e002a (patch) | |
tree | 2d42735d4f057f70d407ec5cfbc96f0999070f4f /template/standard | |
parent | da10bf19cf78b71b62ecac1c32a83be2478104af (diff) | |
download | blog-a2556505e5f2d528a6c93958a8c7c9beaf4e002a.tar.gz blog-a2556505e5f2d528a6c93958a8c7c9beaf4e002a.tar.xz blog-a2556505e5f2d528a6c93958a8c7c9beaf4e002a.zip |
Some HTML and CSS optimizations has been made to the standard template and the "title" attribute was added to every heading link in the item list.
Diffstat (limited to 'template/standard')
-rw-r--r-- | template/standard/html/page/item.php | 4 | ||||
-rw-r--r-- | template/standard/html/post/item.php | 4 | ||||
-rw-r--r-- | template/standard/html/user/item.php | 4 | ||||
-rw-r--r-- | template/standard/rsrc/main.css | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/template/standard/html/page/item.php b/template/standard/html/page/item.php index 3199a39..81f6c8c 100644 --- a/template/standard/html/page/item.php +++ b/template/standard/html/page/item.php @@ -10,9 +10,9 @@ <li class="item-list-li page"> <header> <h2> - <a href="<?=$PAGE['URL']?>"><?=escapeHTML($PAGE['ATTR']['NAME'])?></a> - <time class="brackets info" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> + <a title="<?=$Language->text('select_page')?>: »<?=escapeHTML($PAGE['ATTR']['NAME'])?>«" href="<?=$PAGE['URL']?>"><?=escapeHTML($PAGE['ATTR']['NAME'])?></a> </h2> + <time class="brackets info" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> </header> <blockquote cite="<?=$PAGE['URL']?>"> <p><?=excerpt($PAGE['BODY']['HTML'](), 600)?></p> diff --git a/template/standard/html/post/item.php b/template/standard/html/post/item.php index f606840..7733e61 100644 --- a/template/standard/html/post/item.php +++ b/template/standard/html/post/item.php @@ -10,9 +10,9 @@ <li class="item-list-li post"> <header> <h2> - <a href="<?=$POST['URL']?>"><?=escapeHTML($POST['ATTR']['NAME'])?></a> - <time class="brackets info" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> + <a title="<?=$Language->text('select_post')?>: »<?=escapeHTML($POST['ATTR']['NAME'])?>«" href="<?=$POST['URL']?>"><?=escapeHTML($POST['ATTR']['NAME'])?></a> </h2> + <time class="brackets info" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> </header> <blockquote cite="<?=$POST['URL']?>"> <?=$POST['BODY']['HTML']()?> diff --git a/template/standard/html/user/item.php b/template/standard/html/user/item.php index 3a33c51..04abc0f 100644 --- a/template/standard/html/user/item.php +++ b/template/standard/html/user/item.php @@ -10,9 +10,9 @@ <li class="item-list-li user"> <header> <h2> - <a href="<?=$USER['URL']?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a> - <span class="info brackets"><?=escapeHTML($USER['ATTR']['USERNAME'])?></span> + <a title="<?=$Language->text('select_user')?>: »<?=escapeHTML($USER['ATTR']['FULLNAME'])?>«" href="<?=$USER['URL']?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a> </h2> + <span class="brackets info"><?=escapeHTML($USER['ATTR']['USERNAME'])?></span> </header> <blockquote cite="<?=$USER['URL']?>"> <?=$USER['BODY']['HTML']()?> diff --git a/template/standard/rsrc/main.css b/template/standard/rsrc/main.css index ea13a11..500ddc2 100644 --- a/template/standard/rsrc/main.css +++ b/template/standard/rsrc/main.css @@ -100,9 +100,9 @@ a.brackets:before,a.brackets:after{color:#222;} /* Item List <li> /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .item-list-li{background:#EEE;border:0.05rem solid #AAA;overflow:hidden;margin:0.5rem 0;} -.item-list-li > header{padding:0.25rem 1rem;border-bottom:0.05rem solid #AAA;overflow:hidden;} -.item-list-li > header h2{border:none !important;font-size:inherit;text-transform:uppercase;} -.item-list-li > header h2 .info{float:right;font-size:0.7rem;font-weight:400;} +.item-list-li > header{padding:0.25rem 1rem;border-bottom:0.05rem solid #AAA;overflow:hidden;text-transform:uppercase;} +.item-list-li > header h2{font-size:0.65rem;float:left;} +.item-list-li > header .info{float:right;font-size:0.6rem;font-weight:400;} .item-list-li > header a{color:inherit;} .item-list-li > blockquote{margin:0;padding:0 1rem;font-family:inherit;} .item-list-li > blockquote img{display:block;} @@ -159,13 +159,13 @@ thead > tr > td, th > td{text-align:center;} #main-navi > ul{display:none;float:none;} #main-navi > ul > li a{display:block;text-align:left;padding:0 0.25rem;} #main-navi{overflow:hidden;} - h2{border-bottom:0.05rem solid #888;} #toogle-nav-label{display:block;} #toogle-nav:checked + ul{display:block;} #main-navi li:last-child{float:none;} - .item-list-li > header > h2{text-align:center;} - .item-list-li > header > h2 > .info{float:none;display:block;} + .item-list-li > header{text-align:center;} + .item-list-li > header > h2, + .item-list-li > header > .info{float:none;display:block;} } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ |