From 0e6f862c1131f267d8cc3618b80d3f1a8b65acaa Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 May 2012 18:52:46 -0700 Subject: [PATCH] directory cleanup --- .htaccess | 13 +++++++++++-- view/theme/default/style.css | 14 +++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index eb30198b..6cb3a074 100755 --- a/.htaccess +++ b/.htaccess @@ -1,14 +1,23 @@ - Options -Indexes AddType application/x-java-archive .jar +AddType audio/ogg .oga + + +Deny from all + RewriteEngine on + # Protect repository directory from browsing + RewriteRule "(^|/)\.git" - [F] # Rewrite current-style URLs of the form 'index.php?q=x'. + # Also place auth information into REMOTE_USER for sites running + # in CGI mode. + RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] + RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] diff --git a/view/theme/default/style.css b/view/theme/default/style.css index fdd7b1c8..3eff7c9e 100755 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -20,12 +20,24 @@ a:hover { img { border: none; + } +.directory-photo-img { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 3px 3px 10px 0 #000000; +} + + img.group { border: 2px solid red; } +.widget ul { + list-style: none; +} + #sysmsg { width: 600px; } @@ -98,7 +110,7 @@ aside { width: 250px; margin-left: 20px; margin-right: 0px; - font-size: 0.9em; + } section { position: absolute;