From 24f401bb3cb4cb39a84832696a390545c56eb03e Mon Sep 17 00:00:00 2001 From: Kanti Date: Fri, 29 Aug 2014 10:03:01 +0200 Subject: [PATCH] Moved Css for Archive List out to the css Files -better Google PageSpeed Ranking --- system/includes/functions.php | 4 ---- themes/clean/css/style.css | 18 ++++++++++++++++++ themes/default/css/style.css | 18 ++++++++++++++++++ themes/logs/css/style.css | 18 ++++++++++++++++++ 4 files changed, 54 insertions(+), 4 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 73b8795..082c3fb 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -660,10 +660,6 @@ function archive_list() { # Iterate for display $script = << -1){this.parentNode.className = 'collapsed';this.innerHTML = '►';} else {this.parentNode.className = 'expanded';this.innerHTML = '▼';} -EOF; - echo <<ul.archivegroup{padding:0;margin:0;}.archivegroup .expanded ul{display:block;}.archivegroup .collapsed ul{display:none;}.archivegroup li.expanded,.archivegroup li.collapsed{list-style:none;} - EOF; echo '

Archive

'; $i = 0; diff --git a/themes/clean/css/style.css b/themes/clean/css/style.css index cb45715..6b5697a 100644 --- a/themes/clean/css/style.css +++ b/themes/clean/css/style.css @@ -845,4 +845,22 @@ aside .copyright p{ width: 100%; } +} + +/*---------------------------- + Archive +-----------------------------*/ + +ul.archivegroup{ + padding:0; + margin:0; +} +.archivegroup .expanded ul{ + display:block; +} +.archivegroup .collapsed ul{ + display:none; +} +.archivegroup li.expanded,.archivegroup li.collapsed{ + list-style:none; } \ No newline at end of file diff --git a/themes/default/css/style.css b/themes/default/css/style.css index f977145..b5095ba 100644 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css @@ -930,4 +930,22 @@ h1.title-post a:hover, h2.title-index a:hover { width: 100%; } +} + +/*---------------------------- + Archive +-----------------------------*/ + +ul.archivegroup{ + padding:0; + margin:0; +} +.archivegroup .expanded ul{ + display:block; +} +.archivegroup .collapsed ul{ + display:none; +} +.archivegroup li.expanded,.archivegroup li.collapsed{ + list-style:none; } \ No newline at end of file diff --git a/themes/logs/css/style.css b/themes/logs/css/style.css index 464fe91..54e1c81 100644 --- a/themes/logs/css/style.css +++ b/themes/logs/css/style.css @@ -862,4 +862,22 @@ table.post-list td a { width: 100%; } +} + +/*---------------------------- + Archive +-----------------------------*/ + +ul.archivegroup{ + padding:0; + margin:0; +} +.archivegroup .expanded ul{ + display:block; +} +.archivegroup .collapsed ul{ + display:none; +} +.archivegroup li.expanded,.archivegroup li.collapsed{ + list-style:none; } \ No newline at end of file