Commit 181c8285 authored by Andrew Dolgov's avatar Andrew Dolgov

add compact theme with smaller font

parent 22387de2
......@@ -2428,7 +2428,10 @@
}
function theme_valid($theme) {
if ($theme == "default.php" || $theme == "night.css") return true; // needed for array_filter
$bundled_themes = [ "default.php", "night.css", "compact.css" ];
if (in_array($theme, $bundled_themes)) return true;
$file = "themes/" . basename($theme);
if (!file_exists($file)) $file = "themes.local/" . basename($theme);
......
/* supports-version:17.1 */
@import "default.php";
body,
.claro .dijitMenu .dijitMenuItemLabel,
.claro .cdmContentInner,
.claro #content-insert,
.claro .cdm .cdmContent,
.claro .postReply .postContent {
font-size : 12px ! important;
}
.claro .postReply .postHeader,
.claro #floatingTitle a.title,
.claro .cdm .title {
font-size : 13px ! important;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment