Suppression des fichiers inutiles
This commit is contained in:
parent
a02994ac6c
commit
6bd981ba42
29
module/album/vendor/js/size.js
vendored
29
module/album/vendor/js/size.js
vendored
@ -1,29 +0,0 @@
|
|||||||
$(function () {
|
|
||||||
// @Lionel 2019
|
|
||||||
//var taille = getComputedStyle(site).width;//#site en px
|
|
||||||
var taille = $('.container').css('max-width');//taille .container en px
|
|
||||||
|
|
||||||
switch(taille)
|
|
||||||
{
|
|
||||||
case '75vw':
|
|
||||||
$('a.galleryPicture').css('height', '165px');//view/index
|
|
||||||
$('a.galleryGalleryPicture').css('height', '110px');//view/gallery
|
|
||||||
$('div.galleryGalleryName').css('font-size', '0.8em');//view/gallery
|
|
||||||
break;
|
|
||||||
case '85vw':
|
|
||||||
$('a.galleryPicture').css('height', '200px');
|
|
||||||
$('a.galleryGalleryPicture').css('height', '135px');
|
|
||||||
$('div.galleryGalleryName').css('font-size', '0.85em');
|
|
||||||
break;
|
|
||||||
case '95vw':
|
|
||||||
$('a.galleryPicture').css('height', '235px');
|
|
||||||
$('a.galleryGalleryPicture').css('height', '160px');
|
|
||||||
$('div.galleryGalleryName').css('font-size', '0.9em');
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
$('a.galleryPicture').css('height', '250px');
|
|
||||||
$('a.galleryGalleryPicture').css('height', '185px');
|
|
||||||
$('div.galleryGalleryName').css('font-size', '1em');
|
|
||||||
break;
|
|
||||||
}//*/
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user