Compare commits

..

No commits in common. "cb638b5823b03fa7cdeb4b1d60b3bcb22d359446" and "76efcfce70a35399549ac9a2ce9550c6d630a17a" have entirely different histories.

8 changed files with 27 additions and 35 deletions

2
dep/jquery/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -12,13 +12,19 @@
<?php wp_head(); ?> <?php wp_head(); ?>
<?php include(TEMPLATEPATH . '/components/opengraph.php'); ?> <?php include(TEMPLATEPATH . '/components/opengraph.php'); ?>
<link rel="shortcut icon" href="<?php echo get_template_directory_uri();?>/img/favicon.png"> <link rel="shortcut icon" href="img/favicon.png">
<!-- Polices d'écriture -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet">
<!-- framework utilisés --> <!-- framework utilisés -->
<link href="<?php echo get_template_directory_uri() . "/dep/fork-awesome/css/fork-awesome.min.css"; ?>" rel="stylesheet"/> <link href="<?php echo get_template_directory_uri() . "/dep/fork-awesome/css/fork-awesome.min.css"; ?>" rel="stylesheet"/>
<!-- CSS --> <!-- CSS -->
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet"/> <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet"/>
<script src="<?php echo get_template_directory_uri();?>/dep/jquery/jquery.js"></script>
</head> </head>
<!-- Début du vrai HTML --> <!-- Début du vrai HTML -->

BIN
img/brand-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -1,6 +1,8 @@
var length = 35; var length = 35;
document.querySelectorAll('.pretty-link').forEach(function (i) { $(function(){
var str = i.textContent.replace('https://', ''); $(".pretty-link").each(function(i){
i.textContent = str; var str = $(this).text().replace("https://", "");
$(this).text(str);
});
}); });

View file

@ -1,18 +1,11 @@
const LENGHT = 35; var length = 35;
function limitString(str) { $(function(){
len = str.length; $(".trim-that a, .limit").each(function(i){
if (len > LENGHT) { len=$(this).text().length;
return str.substr(0, (LENGHT - 3)) + '...'; if(len>length)
} else { {
return str; $(this).text($(this).text().substr(0,(length-3))+'...');
} }
} });
document.querySelectorAll('.trim-that a').forEach(function (i) {
i.textContent = limitString(i.textContent);
});
document.querySelectorAll('.limit').forEach(function (i) {
i.textContent = limitString(i.textContent);
}); });

View file

@ -11,8 +11,8 @@
</div> </div>
</article> </article>
<div class="card head-secondary" id="social-network-card"> <div class="card head-primary">
<h2 class="card-header"><i class="fa fa-comments" aria-hidden="true"></i> Me retrouver</h2> <h2 class="card-header">Liste de mes réseaux sociaux</h2>
<table> <table>
<thead> <thead>
<tr> <tr>

View file

@ -8,18 +8,7 @@ $fontweight_base: 400;
$fontweight_bold: 600; $fontweight_bold: 600;
$fontweight_hyper: 800; $fontweight_hyper: 800;
$basefont: Inter, $basefont: Open Sans, sans-serif;
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Cantarell,
Roboto,
Oxygen,
Ubuntu,
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
$titlefont: Teko, sans-serif; $titlefont: Teko, sans-serif;
@font-face { @font-face {