Compare commits

...

3 Commits

Author SHA1 Message Date
0dbfa0288d scale picture down 2019-03-19 09:39:27 +01:00
c25f58250b enable compression and caching 2019-03-19 09:38:38 +01:00
2d10299a60 scale social pictures by hovering 2019-03-19 09:38:20 +01:00
3 changed files with 47 additions and 0 deletions

35
static/.htaccess Normal file
View File

@@ -0,0 +1,35 @@
# Compression
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Caching
<ifModule mod_expires.c>
# A = access <seconds>
ExpiresActive On
ExpiresByType text/html A300
ExpiresByType text/plain A300
ExpiresDefault A604800
ExpiresByType text/javascript A604800
ExpiresByType application/javascript A604800
ExpiresByType application/x-javascript A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A604800
ExpiresByType application/pdf A604800
ExpiresByType application/x-httpd-php A604800
ExpiresByType image/x-icon A2592000
</ifModule>

View File

@@ -31,3 +31,15 @@ div.contact p {
div.container.links .label-success {
background-color: rgba(92, 184, 92, 0.6);
}
/* Scale social icons with hovering */
.social-links li a {
font-size: 26px;
}
.social-links li a i {
transform: scale(0.8);
transition: transform .3s;
}
.social-links li a:hover i {
transform: scale(1);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 11 KiB