This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.amp { | |
font-family: Baskerville, 'Goudy Old Style', Palatino, 'Book Antiqua', serif; | |
font-style: italic; | |
font-weight: normal; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var root = location.protocol + '//' + location.host; | |
$('a').not(':contains(root)').click(function(){ | |
this.target = "_blank"; | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Añade utf-8 charset automáticamente | |
<FilesMatch "\.(htm|html|css|js|json|xml|atom|rss)$"> | |
AddDefaultCharset UTF-8 | |
DefaultLanguage es-US | |
</FilesMatch> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Añadir soporte para imágenes svg | |
AddType image/svg+xml svg svgz | |
AddEncoding gzip svgz | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function listdir($dir){ | |
if ($handle = opendir($dir)){ | |
$output = array(); | |
while (false !== ($item = readdir($handle))){ | |
if (is_dir($dir.'/'.$item) and $item != "." and $item != ".."){ | |
$output[] = $dir.'/'.$item; | |
$output = array_merge($output, ListDescendantDirectories($dir.'/'.$item)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
background: url(bg.jpg) no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-width : 320px) | |
and (max-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Comienzo del código para pase de imágenes (Carrusel)--> | |
<div id="__miCarrusel__" class="carousel slide"> | |
<!-- indicadores de elementos --> | |
<ol class="carousel-indicators"> | |
<li data-target="#__miCarrusel__" data-slide-to="0"></li> | |
<li data-target="#__miCarrusel__" data-slide-to="1" class="active"></li> | |
<li data-target="#__miCarrusel__" data-slide-to="2"></li> | |
</ol> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es-ES"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
<title>__TITLE__</title> | |
<!-- Bootstrap css --> | |
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> | |
<link href="css/bootstrap-responsive.min.css" rel="stylesheet" media="screen"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Botón de apertura de ventana modal #miVentana--> | |
<a class="btn btn-info" data-toggle="modal" href="#miVentana" >Abrir ventana modal...</a> | |
<div class="modal hide fade" id="miVentana" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <!--Definición ventana modal--> | |
<div class="modal-header"> <!--Cabecera ventana modal--> | |
<a class="close" data-dismiss="modal">×</a> | |
<h3>Cabecera ventana</h3> | |
</div> |