Commit d1fe1962 authored by Lorenzo Faletra's avatar Lorenzo Faletra

minify things and optimize page load

parent 33eaa51b
#features-table {
padding: 100px 0;
}
#features-table h2{
font-family: 'Ubuntu', sans-serif;
font-weight: 700;
font-size: 35px;
color: #fff;
text-align: center;
}
#features-table table{
max-width:1200px;
margin: 0 auto;
}
.tabco1 {
background: #222;
width: 40%;
padding: 10px !important;
}
th.tabco1 {
background: #222;
padding: 32px 10px !important;
font-size: 18px;
color: #fff;
}
/* COMMON PRICING STYLES */
.panel.download,
.panel.download>.panel-heading{
border-radius:2px;
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -51,8 +51,7 @@
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/wow.js"></script>
<script src="js/scripts.js"></script>
<script src="js/wow.min.js"></script>
<script>
window.addEventListener('load', function(){
var allimages= document.getElementsByTagName('img');
......@@ -62,6 +61,42 @@ window.addEventListener('load', function(){
}
}
}, false)
</script>
<script>
(function($) {
"use strict";
$('body').scrollspy({
target: '.navbar-fixed-top',
offset: 60
});
$('#topNav').affix({
offset: {
top: 200
}
});
new WOW().init();
$('a.page-scroll').bind('click', function(event) {
var $ele = $(this);
$('html, body').stop().animate({
scrollTop: ($($ele.attr('href')).offset().top - 60)
}, 1450, 'easeInOutExpo');
event.preventDefault();
});
$('.navbar-collapse ul li a').click(function() {
/* always close responsive nav after click */
$('.navbar-toggle:visible').click();
});
$('#galleryModal').on('show.bs.modal', function (e) {
$('#galleryImage').attr("src",$(e.relatedTarget).data("src"));
});
})(jQuery);
</script>
</body>
</html>
......@@ -16,14 +16,36 @@
<meta property="og:image" content="https://www.parrotsec.org/img/facebook-preview.png" />
<meta property="og:description" content="Discover our awesome cyber security GNU/Linux environment. It includes a full portable laboratory for security and digital forensics experts, but it also includes all you need to develop your own softwares or protect your privacy with anonymity and crypto tools." />
<meta property="fb:app_id" content="">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/animate.min.css" />
<link rel="stylesheet" href="css/ionicons.min.css" />
<link rel="stylesheet" href="css/features-table.css" />
<link rel="stylesheet" href="css/panel-download.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="css/unified.min.css" />
<link rel="icon" href="img/logo.png" type="image/png" />
<style>
#features-table {
padding: 100px 0;
}
#features-table h2{
font-family: 'Ubuntu', sans-serif;
font-weight: 700;
font-size: 35px;
color: #fff;
text-align: center;
}
#features-table table{
max-width:1200px;
margin: 0 auto;
}
.tabco1 {
background: #222;
width: 40%;
padding: 10px !important;
}
th.tabco1 {
background: #222;
padding: 32px 10px !important;
font-size: 18px;
color: #fff;
}
</style>
</head>
<body>
......
(function($) {
"use strict";
$('body').scrollspy({
target: '.navbar-fixed-top',
offset: 60
});
$('#topNav').affix({
offset: {
top: 200
}
});
new WOW().init();
$('a.page-scroll').bind('click', function(event) {
var $ele = $(this);
$('html, body').stop().animate({
scrollTop: ($($ele.attr('href')).offset().top - 60)
}, 1450, 'easeInOutExpo');
event.preventDefault();
});
$('.navbar-collapse ul li a').click(function() {
/* always close responsive nav after click */
$('.navbar-toggle:visible').click();
});
$('#galleryModal').on('show.bs.modal', function (e) {
$('#galleryImage').attr("src",$(e.relatedTarget).data("src"));
});
})(jQuery);
\ No newline at end of file
This diff is collapsed.
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