improvement: add new layouts

This commit is contained in:
Kazhnuz 2019-10-18 13:41:02 +02:00
parent c07a76c5d6
commit ba9e2d5003
12 changed files with 836 additions and 367 deletions

227
blog.html Normal file
View file

@ -0,0 +1,227 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Blue Sky, by Kazhnuz</title>
<!-- meta -->
<meta name="description" content="">
<meta name="author" content="">
<!-- mon icon -->
<link rel="shortcut icon" href="img/favicon.png">
<!-- framework utilisés -->
<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">
<link href="css/spectre.min.css" rel="stylesheet">
<link href="css/fork-awesome.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1>Blue Sky</h1>
</div>
<div class="column col-md-6">
<nav class="navbar">
<section class="navbar-section">
</section>
<section class="navbar-section">
<a href="..." class="btn btn-link">Blog</a>
<a href="..." class="btn btn-link">Gallerie</a>
<a href="..." class="btn btn-link">A propos</a>
</section>
</nav>
</div>
</div>
</header>
<div class="container-blog" id="page-content">
<main class="mainpane">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Accueil</a></li><li class="breadcrumb-item"><a href="#">Contenus</a></li><li class="breadcrumb-item" aria-current="page"><span class="active">Article exemple</span></li>
</ol>
</nav>
<div class="toast toast-warning" role="toast">
<p>Attention, cet article a été importé automatiquement des mes précédants blogs/journaux/etc. Il s'agit donc donc de quelque chose d'ancien, et qui n'est peut-être plus pertinent.</p>
</div>
<article class="main-article">
<h1>Nom de l'article :</h1>
<ul>
<li>1 - Titre de niveau 3
<ul>
<li>1.1 - Titre de niveau 4</li>
<li>1.2 - Titre de niveau 4</li>
<li>1.3 - Titre de niveau 4</li>
</ul>
</li>
<li>2 - Titre de niveau 3</li>
</ul>
<h2>Introduction : Lorem Ipsum</h2>
<p><em>Lorem ipsum dolor sit amet<sup><a href="#1">[1]</a></sup>, consectetur adipiscing elit. Praesent varius ullamcorper diam, non sagittis lectus rutrum id. Integer eros urna, egestas et libero a, finibus egestas odio. Nunc vel hendrerit quam, eget malesuada sem. Sed hendrerit ligula pharetra leo aliquam volutpat. Integer auctor urna ac convallis laoreet. Nunc vestibulum ipsum sed tortor aliquam porta. Cras nunc est, lobortis in est at, rhoncus auctor nunc. Sed dignissim erat non sollicitudin ultricies. Integer vel consectetur urna. Etiam fermentum ligula vitae nunc viverra, a fringilla sem aliquam. Suspendisse potenti. Morbi sem mi, malesuada quis odio vitae, suscipit congue metus. Sed ut ullamcorper urna, eget molestie est. Sed pulvinar justo ac urna consectetur fringilla. Donec tristique eget leo sit amet mollis.</em></p>
<p class="align-center"><a href="#" class="btn btn-warning">Télécharger ce thème</a></p>
<h2>Contenu : Lorem Ipsum. Ceci est un titre long afin de tester comment la longueur d'un titre peut poser soucis d'un point de vue de l'alignement vertical.</h2>
<h3>Titre de niveau 3</h3>
<h4>Titre de niveau 4</h4>
<h4>Titre de niveau 4</h4>
<h4>Titre de niveau 4</h4>
<h3>Titre de niveau 3</h3>
<p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. <mark>Sed posuere lectus eu orci tristique maximus</mark>. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p>
<blockquote><p>Cras malesuada, metus at viverra molestie, mi ligula sodales tellus, vitae facilisis ante est vitae dolor. Donec feugiat non est eget elementum. Nullam in erat et arcu tincidunt maximus. Nullam nibh orci, egestas eu ex non, viverra pretium magna. Proin convallis, risus eu condimentum luctus, ante dui mattis eros, a varius risus diam sed nisl. Ut malesuada ipsum in augue accumsan ullamcorper. Phasellus efficitur augue in venenatis sollicitudin. Integer at consectetur arcu.</p></blockquote>
<pre><code>Vivamus tincidunt dolor quis consectetur dapibus.
Ut metus risus, lobortis non venenatis in, ultricies a orci.
In suscipit ante et aliquet pretium.
Integer diam dui, rutrum vitae risus ultricies, varius vulputate magna.
In id suscipit elit.</code></pre>
<p id="1">[1] : Sed et odio volutpat, convallis est et, interdum sapien.</p>
</article>
<div class="share-buttons align-right">
<a href="#" class="btn btn-facebook"><i class="fa fa-fw fa-facebook"></i></a>
<a href="#" class="btn btn-twitter"><i class="fa fa-fw fa-twitter"></i></a>
<a href="#" class="btn btn-googleplus"><i class="fa fa-fw fa-google-plus"></i></a>
<a href="#" class="btn btn-diaspora"><i class="fa fa-fw fa-diaspora"></i></a>
<a href="#" class="btn btn-mastodon"><i class="fa fa-fw fa-mastodon"></i></a>
<a href="#" class="btn btn-light"><i class="fa fa-fw fa-envelope"></i></a>
</div>
<section class="card card-noheader">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
</div>
</section>
<section class="commentaires">
<h1>Commentaires :</h1>
<article class="card comment">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
</div>
<div class="card-body">
<p><em>Lorem ipsum dolor sit amet<sup><a href="#1">[1]</a></sup>, consectetur adipiscing elit. Praesent varius ullamcorper diam, non sagittis lectus rutrum id. Integer eros urna, egestas et libero a, finibus egestas odio. Nunc vel hendrerit quam, eget malesuada sem. Sed hendrerit ligula pharetra leo aliquam volutpat. Integer auctor urna ac convallis laoreet. Nunc vestibulum ipsum sed tortor aliquam porta. Cras nunc est, lobortis in est at, rhoncus auctor nunc. Sed dignissim erat non sollicitudin ultricies. Integer vel consectetur urna. Etiam fermentum ligula vitae nunc viverra, a fringilla sem aliquam. Suspendisse potenti. Morbi sem mi, malesuada quis odio vitae, suscipit congue metus. Sed ut ullamcorper urna, eget molestie est. Sed pulvinar justo ac urna consectetur fringilla. Donec tristique eget leo sit amet mollis.</em></p>
<p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. <mark>Sed posuere lectus eu orci tristique maximus</mark>. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p>
</div>
</article>
</section>
</main>
<section class="sidebar">
<div class="card card-primary">
<div class="card-header"><i class="fa fa-rss"></i> Publications</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">Petite histoire uchronique du système solaire (4)</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-folder"></i> Catégories</div>
<div class="card-menu">
<a href="#" class="menu-element">Nouvelles et formats courts <span class="menu-label label-secondary">40</span></a>
<a href="#" class="menu-element">Contes et légendes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Poèmes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Romans <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Logo et Design <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Mapping et Pixel Art <span class="menu-label label-secondary">0</span></a>
<div class="menu-divider">FICHES</div>
<a href="#" class="menu-element">Univers <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Personnages <span class="menu-label label-secondary">uwu</span></a>
<div class="menu-divider">BLOG</div>
<a href="#" class="menu-element">Niouzes site et perso <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">Réflexions et pensées <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Militantisme <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Conseils et partages <span class="menu-label label-secondary">-1</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-calendar-o"></i> Archives</div>
<div class="card-menu">
<a href="#" class="menu-element">Octobre 2019 <span class="menu-label label-secondary">1</span></a>
<a href="#" class="menu-element">2018 <span class="menu-label label-secondary">3</span></a>
<a href="#" class="menu-element">2017 <span class="menu-label label-secondary">50</span></a>
<a href="#" class="menu-element">2016 <span class="menu-label label-secondary">8</span></a>
<a href="#" class="menu-element">2015 <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">2010 - 2014 <span class="menu-label label-secondary">27</span></a>
</div>
</div>
</section>
</div>
</div>
<footer class="container">
<ul class="social">
<li class="social-li"><a class="social-link" href="https://twitter.com/kazhnuz" alt="Twitter"><i class="fa fa-fw fa-twitter"></i></a></li>
<li class="social-li"><a class="social-link" href="https://octodon.social/users/kazhnuz" alt="Mastodon"><i class="fa fa-fw fa-mastodon"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Diaspora"><i class="fa fa-fw fa-diaspora"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="DeviantART"><i class="fa fa-fw fa-deviantart"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Github"><i class="fa fa-fw fa-github"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Gitlab"><i class="fa fa-fw fa-gitlab"></i></a></li>
</ul>
<div class="columns">
<div class="column col-md-4">
<p>Ce theme est diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
<p>Cette licence vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i style="color:#FF0000" class="fa fa-heart"></i></p>
</div>
<div class="column col-md-4">
<p>Theme réalisé avec le quadriciel <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
</div>
<div class="column col-md-4">
<p>Lorem Ipsum.</p>
</div>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="js/trim.js"></script>
</body>
</html>

View file

@ -386,6 +386,10 @@ ul li, ol li {
line-height: 1.5rem;
}
article.maintext {
padding-bottom: 1.5rem;
}
/* 2.3 - Titles */
h1, h2, h3, h4, h5, h6, h7 {
font-family: Open Sans, sans-serif;
@ -599,6 +603,69 @@ mark {
color: #859900;
}
/* Table elements */
th {
font-weight: 800;
}
.table-blue th {
color: #268bd2;
}
.table-violet th {
color: #d33682;
}
.table-purple th {
color: #6c71c4;
}
.table-red th {
color: #dc322f;
}
.table-orange th {
color: #cb4b16;
}
.table-green th {
color: #859900;
}
.table-skyblue th {
color: #2aa198;
}
.table-dark th {
color: #002b36;
}
.table-light th {
color: #fdf6e3;
}
.table-turquoise th {
color: #2aa198;
}
.table-yellow th {
color: #b58900;
}
.table-brown th {
color: #b58900;
}
.table-grey th {
color: #586e75;
}
.table-primary th {
color: #d33682;
}
.table-secondary th {
color: #2aa198;
}
.table-warning th {
color: #cb4b16;
}
.table-danger th {
color: #dc322f;
}
.table-info th {
color: #2aa198;
}
.table-success th {
color: #859900;
}
/*
* 1. Cards and containers
* All elements that are supposed to contain other stuff
@ -660,8 +727,44 @@ header h1 {
/* ------------------ CONTAINERS ------------------- */
.container-big {
padding-left: 64px;
padding-right: 64px;
padding-left: 4.5rem;
padding-right: 4.5rem;
}
.container-blog {
padding-left: 4.5rem;
padding-right: 4.5rem;
display: grid;
grid-template-columns: auto 360px;
grid-template-rows: auto;
row-gap: 1.5rem;
column-gap: 3rem;
grid-template-areas: "main sidebar";
}
main.mainpane {
grid-area: main;
}
section.sidebar {
grid-area: sidebar;
}
.container-preview {
padding-left: 4.5rem;
padding-right: 4.5rem;
display: grid;
grid-template-columns: 360px auto;
grid-template-rows: auto;
row-gap: 1.5rem;
column-gap: 3rem;
grid-template-areas: "sidebar main";
}
.container-onecolumn {
max-width: 1280px;
margin: auto;
padding-bottom: 1.5rem;
}
/* ------------------ PAGE ------------------- */
@ -669,11 +772,6 @@ header h1 {
background-color: #fdf6e3;
}
#page-content {
padding-left: 30px;
padding-right: 30px;
}
/* ------------------ FOOTER ------------------- */
body {
background-color: #073642;
@ -762,6 +860,7 @@ ul.social li a:hover {
transition: background-color 0.3s;
}
.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6, .card-header h7, .card-header h8, .card-header h9, .card-header h10, .menu-header h1, .menu-header h2, .menu-header h3, .menu-header h4, .menu-header h5, .menu-header h6, .menu-header h7, .menu-header h8, .menu-header h9, .menu-header h10 {
font-family: Open Sans, sans-serif;
font-size: 1rem;
padding: 0px;
margin: 0px;
@ -872,6 +971,7 @@ ul.social li a:hover {
transition: background-color 0.3s;
}
.smallcard-header h1, .smallcard-header h2, .smallcard-header h3, .smallcard-header h4, .smallcard-header h5, .smallcard-header h6, .smallcard-header h7, .smallcard-header h8, .smallcard-header h9, .smallcard-header h10, .toast-header h1, .toast-header h2, .toast-header h3, .toast-header h4, .toast-header h5, .toast-header h6, .toast-header h7, .toast-header h8, .toast-header h9, .toast-header h10 {
font-family: Open Sans, sans-serif;
font-size: 1rem;
padding: 0px;
margin: 0px;
@ -1129,12 +1229,14 @@ ul.social li a:hover {
border: 0px solid rgba(0, 0, 0, 0.3);
border-radius: 0px 0px 0px 0px;
font-weight: 400;
background-color: transparent;
position: relative;
z-index: 1;
overflow: visible;
}
.btn:hover, .btn:active, .btn:focus, a:hover > .btn, a:active > .btn, a:focus > .btn {
text-decoration: none;
background-color: transparent;
}
.btn:before {
content: " ";
@ -1214,6 +1316,19 @@ p .btn:last-child {
background-color: rgba(0, 0, 0, 0.2);
}
.btn-readmore {
color: #d33682;
}
.btn-readmore:before {
background-color: transparent;
}
.btn-readmore:hover, .btn-readmore:active, .btn-readmore:focus, a:hover > .btn-readmore, a:active > .btn-readmore, a:focus > .btn-readmore, .btn-readmore:not(.disabled):not(:disabled):hover, .btn-readmore:not(.disabled):not(:disabled):active, .btn-readmore:not(.disabled):not(:disabled):focus, a:hover > .btn-readmore:not(.disabled):not(:disabled), a:active > .btn-readmore:not(.disabled):not(:disabled), a:focus > .btn-readmore:not(.disabled):not(:disabled) {
color: #d84b8f;
}
.btn-readmore:hover:before, .btn-readmore:active:before, .btn-readmore:focus:before, a:hover > .btn-readmore:before, a:active > .btn-readmore:before, a:focus > .btn-readmore:before, .btn-readmore:not(.disabled):not(:disabled):hover:before, .btn-readmore:not(.disabled):not(:disabled):active:before, .btn-readmore:not(.disabled):not(:disabled):focus:before, a:hover > .btn-readmore:not(.disabled):not(:disabled):before, a:active > .btn-readmore:not(.disabled):not(:disabled):before, a:focus > .btn-readmore:not(.disabled):not(:disabled):before {
background-color: rgba(0, 0, 0, 0.2);
}
.btn-toolbar {
padding: 0 1.5rem;
}
@ -1255,6 +1370,7 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb {
border: 0px solid rgba(0, 0, 0, 0.3);
border-radius: 0px 0px 0px 0px;
font-weight: 400;
background-color: transparent;
position: relative;
z-index: 1;
overflow: visible;
@ -1263,6 +1379,7 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb {
}
.breadcrumb li.breadcrumb-item a:hover, .breadcrumb li.breadcrumb-item a:active, .breadcrumb li.breadcrumb-item a:focus, a:hover > .breadcrumb li.breadcrumb-item a, a:active > .breadcrumb li.breadcrumb-item a, a:focus > .breadcrumb li.breadcrumb-item a, .breadcrumb li.breadcrumb-item span:hover, .breadcrumb li.breadcrumb-item span:active, .breadcrumb li.breadcrumb-item span:focus, a:hover > .breadcrumb li.breadcrumb-item span, a:active > .breadcrumb li.breadcrumb-item span, a:focus > .breadcrumb li.breadcrumb-item span {
text-decoration: none;
background-color: transparent;
}
.breadcrumb li.breadcrumb-item a:before, .breadcrumb li.breadcrumb-item span:before {
content: " ";
@ -1622,11 +1739,11 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb {
/* ------------------ PREVIEWS ------------------- */
.previews-section {
display: grid;
display: grid;
grid-template-columns: auto auto auto;
grid-template-rows: auto;
grid-gap: 1.5rem;
padding-bottom: 1.5rem;
}
.preview-container {
@ -1719,6 +1836,7 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb {
transition: background-color 0.3s;
}
.preview-item .preview-overlay .card-header h1, .preview-item .preview-overlay .card-header h2, .preview-item .preview-overlay .card-header h3, .preview-item .preview-overlay .card-header h4, .preview-item .preview-overlay .card-header h5, .preview-item .preview-overlay .card-header h6, .preview-item .preview-overlay .card-header h7, .preview-item .preview-overlay .card-header h8, .preview-item .preview-overlay .card-header h9, .preview-item .preview-overlay .card-header h10 {
font-family: Open Sans, sans-serif;
font-size: 1rem;
padding: 0px;
margin: 0px;
@ -1804,4 +1922,22 @@ ul.breadcrumb, ol.breadcrumb, .breadcrumb {
margin-bottom: 1.5rem;
}
.pigimg {
display: block;
max-width: 100%;
height: auto;
margin: auto;
}
.mwarea {
height: 7.5rem;
}
.mwaimg {
width: auto;
height: auto;
display: block;
margin: auto;
}
/*# sourceMappingURL=style.css.map */

File diff suppressed because one or more lines are too long

View file

@ -24,207 +24,193 @@
<body>
<div id="wrapper">
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1>Blue Sky</h1>
</div>
<div class="column col-md-6">
<nav class="navbar">
<section class="navbar-section">
</section>
<section class="navbar-section">
<a href="..." class="btn btn-link">Blog</a>
<a href="..." class="btn btn-link">Gallerie</a>
<a href="..." class="btn btn-link">A propos</a>
</section>
</nav>
</div>
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1>Blue Sky</h1>
</div>
<div class="column col-md-6">
<nav class="navbar">
<section class="navbar-section">
</section>
<section class="navbar-section">
<a href="..." class="btn btn-link">Blog</a>
<a href="..." class="btn btn-link">Gallerie</a>
<a href="..." class="btn btn-link">A propos</a>
</section>
</nav>
</div>
</div>
</header>
<section class="container-big" id="page-content">
<div class="columns">
<div class="column col-9">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Accueil</a></li><li class="breadcrumb-item"><a href="#">Contenus</a></li><li class="breadcrumb-item" aria-current="page"><span class="active">Article exemple</span></li>
</ol>
</nav>
<article>
<article class="main-article">
<h1 class="page-title">Nom de l'article :</h1>
<ul>
<li>1 - Titre de niveau 3
<ul>
<li>1.1 - Titre de niveau 4</li>
<li>1.2 - Titre de niveau 4</li>
<li>1.3 - Titre de niveau 4</li>
</ul>
</li>
<li>2 - Titre de niveau 3</li>
</ul>
<h2>Introduction : Lorem Ipsum</h2>
<p><em>Lorem ipsum dolor sit amet<sup><a href="#1">[1]</a></sup>, consectetur adipiscing elit. Praesent varius ullamcorper diam, non sagittis lectus rutrum id. Integer eros urna, egestas et libero a, finibus egestas odio. Nunc vel hendrerit quam, eget malesuada sem. Sed hendrerit ligula pharetra leo aliquam volutpat. Integer auctor urna ac convallis laoreet. Nunc vestibulum ipsum sed tortor aliquam porta. Cras nunc est, lobortis in est at, rhoncus auctor nunc. Sed dignissim erat non sollicitudin ultricies. Integer vel consectetur urna. Etiam fermentum ligula vitae nunc viverra, a fringilla sem aliquam. Suspendisse potenti. Morbi sem mi, malesuada quis odio vitae, suscipit congue metus. Sed ut ullamcorper urna, eget molestie est. Sed pulvinar justo ac urna consectetur fringilla. Donec tristique eget leo sit amet mollis.</em></p>
<p class="align-center"><a href="#" class="btn btn-warning">Télécharger ce thème</a></p>
<h2>Contenu : Lorem Ipsum. Ceci est un titre long afin de tester comment la longueur d'un titre peut poser soucis d'un point de vue de l'alignement vertical.</h2>
<h3>Titre de niveau 3</h3>
<h4>Titre de niveau 4</h4>
<h4>Titre de niveau 4</h4>
<h4>Titre de niveau 4</h4>
<h3>Titre de niveau 3</h3>
<p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. <mark>Sed posuere lectus eu orci tristique maximus</mark>. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p>
<blockquote><p>Cras malesuada, metus at viverra molestie, mi ligula sodales tellus, vitae facilisis ante est vitae dolor. Donec feugiat non est eget elementum. Nullam in erat et arcu tincidunt maximus. Nullam nibh orci, egestas eu ex non, viverra pretium magna. Proin convallis, risus eu condimentum luctus, ante dui mattis eros, a varius risus diam sed nisl. Ut malesuada ipsum in augue accumsan ullamcorper. Phasellus efficitur augue in venenatis sollicitudin. Integer at consectetur arcu.</p></blockquote>
<pre><code>Vivamus tincidunt dolor quis consectetur dapibus.
Ut metus risus, lobortis non venenatis in, ultricies a orci.
In suscipit ante et aliquet pretium.
Integer diam dui, rutrum vitae risus ultricies, varius vulputate magna.
In id suscipit elit.</code></pre>
<p id="1">[1] : Sed et odio volutpat, convallis est et, interdum sapien.</p>
</article>
<section class="share-buttons align-right">
<a href="#" class="btn btn-facebook"><i class="fa fa-fw fa-facebook"></i></a>
<a href="#" class="btn btn-twitter"><i class="fa fa-fw fa-twitter"></i></a>
<a href="#" class="btn btn-googleplus"><i class="fa fa-fw fa-google-plus"></i></a>
<a href="#" class="btn btn-diaspora"><i class="fa fa-fw fa-diaspora"></i></a>
<a href="#" class="btn btn-mastodon"><i class="fa fa-fw fa-mastodon"></i></a>
<a href="#" class="btn btn-light"><i class="fa fa-fw fa-envelope"></i></a>
</section>
<section class="card card-noheader">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
</div>
</section>
</article>
<div class="previews-section">
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p class="p-img"><img src="img/wmap.png" alt="Card image cap"></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
<div class="container-blog" id="page-content">
<main class="mainpane">
<article class="maintext">
<h1>Bienvenue sur kazhnuz.space !</h1>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<section>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<h1>Derniers articles sur le blog</h1>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<div class="card card-primary">
<div class="card-header"><h1>Test article de blog</h1></div>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p>
</div>
<section class="commentaires">
<h1>Commentaires :</h1>
<article class="card comment">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p>
<p class="align-center"> <a href="#" class="btn btn-readmore">Lire l'article</a> </p>
</div>
<div class="card-body">
<p><em>Lorem ipsum dolor sit amet<sup><a href="#1">[1]</a></sup>, consectetur adipiscing elit. Praesent varius ullamcorper diam, non sagittis lectus rutrum id. Integer eros urna, egestas et libero a, finibus egestas odio. Nunc vel hendrerit quam, eget malesuada sem. Sed hendrerit ligula pharetra leo aliquam volutpat. Integer auctor urna ac convallis laoreet. Nunc vestibulum ipsum sed tortor aliquam porta. Cras nunc est, lobortis in est at, rhoncus auctor nunc. Sed dignissim erat non sollicitudin ultricies. Integer vel consectetur urna. Etiam fermentum ligula vitae nunc viverra, a fringilla sem aliquam. Suspendisse potenti. Morbi sem mi, malesuada quis odio vitae, suscipit congue metus. Sed ut ullamcorper urna, eget molestie est. Sed pulvinar justo ac urna consectetur fringilla. Donec tristique eget leo sit amet mollis.</em></p>
<p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. <mark>Sed posuere lectus eu orci tristique maximus</mark>. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p>
</div>
</article>
</div>
<aside class="sidebar column col-3">
<section class="card card-primary">
<div class="card-header"><i class="fa fa-folder"></i> Catégories</div>
<div class="card-menu">
<a href="#" class="menu-element">Images <span class="menu-label label-primary">2</span></a>
<a href="#" class="menu-element">Images <span class="menu-label label-primary">2</span></a>
<a href="#" class="menu-element">Images <span class="menu-label label-primary">2</span></a>
<div class="menu-divider">LIENS</div>
<a href="#" class="menu-element">Images <span class="menu-label label-primary">2</span></a>
</section>
<div class="previews-section">
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p class="p-img"><img src="img/wmap.png" alt="Card image cap"></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
</div>
<img src="https://kazhnuz.space/data/medias/incoming____by_kazhnuz-d5o055l.gif" alt="Une armée de cochon regarde de manière menaçante." class="pigimg" />
</main>
<section class="sidebar">
<div class="card card-primary">
<div class="card-header">Cémwha</div>
<p class="mwarea"><img src="https://kazhnuz.space/data/medias/spritemwah.png" alt="Une armée de cochon regarde de manière menaçante." class="mwaimg" /></p>
<table style="width:100%" class="table-primary">
<tr>
<th>PSEUDO</th>
<td>Kazhnuz</td>
</tr>
<tr>
<th>Age</th>
<td>26</td>
</tr>
<tr>
<th>Pronoms</th>
<td>iel/il</td>
</tr>
<tr>
<th>OS</th>
<td>Fedora</td>
</tr>
<tr>
<th>Outils</th>
<td>LibreOffice & Krita</td>
</tr>
</table>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-rss"></i> Publications</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">Petite histoire uchronique du système solaire (4)</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-folder"></i> Catégories</div>
<div class="card-menu">
<a href="#" class="menu-element">Nouvelles et formats courts <span class="menu-label label-secondary">40</span></a>
<a href="#" class="menu-element">Contes et légendes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Poèmes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Romans <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Logo et Design <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Mapping et Pixel Art <span class="menu-label label-secondary">0</span></a>
<div class="menu-divider">FICHES</div>
<a href="#" class="menu-element">Univers <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Personnages <span class="menu-label label-secondary">uwu</span></a>
<div class="menu-divider">BLOG</div>
<a href="#" class="menu-element">Niouzes site et perso <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">Réflexions et pensées <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Militantisme <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Conseils et partages <span class="menu-label label-secondary">-1</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-calendar-o"></i> Archives</div>
<div class="card-menu">
<a href="#" class="menu-element">Octobre 2019 <span class="menu-label label-secondary">1</span></a>
<a href="#" class="menu-element">2018 <span class="menu-label label-secondary">3</span></a>
<a href="#" class="menu-element">2017 <span class="menu-label label-secondary">50</span></a>
<a href="#" class="menu-element">2016 <span class="menu-label label-secondary">8</span></a>
<a href="#" class="menu-element">2015 <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">2010 - 2014 <span class="menu-label label-secondary">27</span></a>
</div>
</div>
</section>
</aside>
</div>
</section>
</div>
</div>
@ -254,11 +240,8 @@ In id suscipit elit.</code></pre>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="js/trim.js"></script>
</body>
</html>

14
js/trim.js Normal file
View file

@ -0,0 +1,14 @@
var length = 35;
var texts = document.getElementsByClassName('trim-that');
for (var i = 0; i < texts.length; i++) {
var text = texts[i];
var string = text.innerHTML
var trimmedString = string.length > length ?
string.substring(0, length - 3) + "..." :
string
text.innerHTML = trimmedString
console.log(text.innerHTML);
}

View file

@ -45,167 +45,141 @@
</div>
</header>
<section class="container-big">
<div class="columns">
<div class="container-preview">
<main class="mainpane">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Accueil</a></li><li class="breadcrumb-item"><a href="#">Contenus</a></li><li class="breadcrumb-item" aria-current="page"><span class="active">Article exemple</span></li>
</ol>
</nav>
<aside class="sidebar column col-3">
<section class="card card-info">
<div class="card-header">
<i class="fa fa-fw fa-info"></i>&nbsp; #Inktober2017
</div>
<div class="card-body">
<p>Toutes les publications contenant le mot-clé « <a href="">Inktober2017</a> »</p>
<p>Un mot-clé peut servir à désigner soit l'univers dans laquelle la création se déroule, soit l'objectif dans lequel a été fait la publication (tel que le 100 Thème Challenge)</p>
</div>
</section>
<section class="card card-green">
<div class="card-header bg-green">
<i class="fa fa-fw fa-feed"></i>&nbsp; Dernières publications
</div>
<div class="card-menu">
<a href="#" class="menu-element">#Inktober2017 - Test</a>
<a href="#" class="menu-element">#Inktober2017 - Test</a>
<a href="#" class="menu-element">#Inktober2017 - Test</a>
</div>
</section>
<section class="card card-secondary">
<div class="card-header">
<i class="fa fa-fw fa-folder-open"></i>&nbsp; Catégories
</div>
<div class="card-menu">
<a href="#" class="menu-element">
Cras justo odio
<span class="menu-label label-primary">14</span>
</a>
<a href="#" class="menu-element">Images</a>
<a href="#" class="menu-element">Canard</a>
<a href="#" class="menu-element">Test</a>
<a href="#" class="menu-element">Fak u garon</a>
</div>
</section>
<section class="card menu-orange">
<div class="card-header">
<i class="fa fa-fw fa-calendar-o"></i>&nbsp; Archive
</div>
<div class="card-menu">
<a href="#" class="menu-element">
2017 <span class="menu-label label-primary">14</span>
</a>
<a href="#" class="menu-element">
2016
<span class="menu-label label-primary">2</span>
</a>
<a href="#" class="menu-element">
2015
<span class="menu-label label-primary">3</span>
</a>
</div>
</section>
</aside>
<div class="column col-9">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#"><i class="fa fa-fw fa-home"></i>&nbsp; Accueil</a></li>
<li class="breadcrumb-item active" aria-current="page">Catégorie</li>
</ol>
</nav>
<div class="previews-section prev-col-3">
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
<div class="previews-section">
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p class="p-img"><img src="img/wmap.png" alt="Card image cap"></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</div>
</a>
</article>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
</div>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
</main>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
<section class="sidebar">
<div class="card card-info">
<div class="card-header">
<i class="fa fa-fw fa-info"></i>&nbsp; #Inktober2017
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="#" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<div class="card-body">
<p>Toutes les publications contenant le mot-clé « <a href="">Inktober2017</a> »</p>
<p>Un mot-clé peut servir à désigner soit l'univers dans laquelle la création se déroule, soit l'objectif dans lequel a été fait la publication (tel que le 100 Thème Challenge)</p>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-rss"></i> Publications</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">Petite histoire uchronique du système solaire (4)</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-folder"></i> Catégories</div>
<div class="card-menu">
<a href="#" class="menu-element">Nouvelles et formats courts <span class="menu-label label-secondary">40</span></a>
<a href="#" class="menu-element">Contes et légendes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Poèmes <span class="menu-label label-secondary">11</span></a>
<a href="#" class="menu-element">Romans <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Logo et Design <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Mapping et Pixel Art <span class="menu-label label-secondary">0</span></a>
<div class="menu-divider">FICHES</div>
<a href="#" class="menu-element">Univers <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Personnages <span class="menu-label label-secondary">uwu</span></a>
<div class="menu-divider">BLOG</div>
<a href="#" class="menu-element">Niouzes site et perso <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">Réflexions et pensées <span class="menu-label label-secondary">0</span></a>
<a href="#" class="menu-element">Militantisme <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Conseils et partages <span class="menu-label label-secondary">-1</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-calendar-o"></i> Archives</div>
<div class="card-menu">
<a href="#" class="menu-element">Octobre 2019 <span class="menu-label label-secondary">1</span></a>
<a href="#" class="menu-element">2018 <span class="menu-label label-secondary">3</span></a>
<a href="#" class="menu-element">2017 <span class="menu-label label-secondary">50</span></a>
<a href="#" class="menu-element">2016 <span class="menu-label label-secondary">8</span></a>
<a href="#" class="menu-element">2015 <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">2010 - 2014 <span class="menu-label label-secondary">27</span></a>
</div>
</div>
</section>
</div>
</div>
</div>
</section>
</div>
@ -242,6 +216,6 @@
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/trim.js"></script>
</body>
</html>

View file

@ -24,8 +24,11 @@ $button_small: 0.375rem;
@include border-radius();
font-weight: $fontweight_base;
background-color:transparent;
&:hover, &:active, &:focus, a:hover > &, a:active > &, a:focus > & {
text-decoration:none;
background-color:transparent;
}
@include biseau($size);
@ -91,6 +94,10 @@ $button_small: 0.375rem;
@include button-fullcontrol(transparent, rgba(0,0,0,0.2), $color-light)
}
.btn-readmore {
@include button-fullcontrol(transparent, rgba(0,0,0,0.2), $color-primary);
}
// BUTTONS GROUPS
$grouped-test: $button-large/1.5 - 0.05rem ;

View file

@ -36,6 +36,7 @@ $card-smallpad: 0.75rem;
@include biseau($size);
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 {
font-family:$basefont;
font-size:1rem;
padding:0px;
margin:0px;

View file

@ -11,11 +11,11 @@
$preview-height: 8*1.5rem;
.previews-section {
display: grid;
display: grid;
grid-template-columns: auto auto auto;
grid-template-rows: auto;
grid-gap: 1.5rem;
padding-bottom: 1.5rem;
}
.preview-container {
@ -143,8 +143,6 @@ $preview-height: 8*1.5rem;
color: $color-light;
}
.comment-text {
margin-top:0.8em;
}
@ -184,4 +182,22 @@ $preview-height: 8*1.5rem;
&:not(:last-child) {
margin-bottom:1.5rem;
}
}
.pigimg {
display:block;
max-width: 100%;
height:auto;
margin:auto;
}
.mwarea {
height:5*1.5rem;
}
.mwaimg {
width:auto;
height:auto;
display:block;
margin:auto;
}

View file

@ -64,9 +64,49 @@ header h1 {
}
/* ------------------ CONTAINERS ------------------- */
@mixin container-big() {
padding-left: 3*1.5rem;
padding-right: 3*1.5rem;
}
.container-big {
padding-left:64px;
padding-right:64px;
@include container-big();
}
.container-blog {
@include container-big();
display: grid;
grid-template-columns: auto 360px;
grid-template-rows: auto;
row-gap: 1.5rem;
column-gap: 3rem;
grid-template-areas: "main sidebar";
}
main.mainpane {
grid-area: main;
}
section.sidebar {
grid-area: sidebar;
}
.container-preview {
@include container-big();
display: grid;
grid-template-columns: 360px auto;
grid-template-rows: auto;
row-gap: 1.5rem;
column-gap: 3rem;
grid-template-areas: "sidebar main";
}
.container-onecolumn {
max-width:1280px;
margin: auto;
padding-bottom: 1.5rem;
}
/* ------------------ PAGE ------------------- */
@ -75,11 +115,6 @@ header h1 {
background-color: $color-light;
}
#page-content {
padding-left:30px;
padding-right:30px;
}
/* ------------------ FOOTER ------------------- */
$color-footer-back: $color-dark2;

View file

@ -111,6 +111,10 @@ ul, ol {
}
}
article.maintext {
padding-bottom: 1.5rem;
}
/* 2.3 - Titles */
@mixin newTitle($font, $size, $weight) {
@ -286,3 +290,38 @@ mark {
&-info { @include text-color($color-info); }
&-success { @include text-color($color-success); }
}
/* Table elements */
@mixin table-color($text-color) {
th {
color: $text-color;
}
}
th {
font-weight: $fontweight_hyper;
}
.table {
&-blue { @include table-color($color-blue); }
&-violet { @include table-color($color-violet); }
&-purple { @include table-color($color-purple); }
&-red { @include table-color($color-red); }
&-orange { @include table-color($color-orange); }
&-green { @include table-color($color-green); }
&-skyblue { @include table-color($color-skyblue); }
&-dark { @include table-color($color-dark); }
&-light { @include table-color($color-light); }
&-turquoise { @include table-color($color-turquoise); }
&-yellow { @include table-color($color-yellow); }
&-brown { @include table-color($color-brown); }
&-grey { @include table-color($color-grey); }
&-primary { @include table-color($color-primary); }
&-secondary { @include table-color($color-secondary); }
&-warning { @include table-color($color-warning); }
&-danger { @include table-color($color-danger); }
&-info { @include table-color($color-info); }
&-success { @include table-color($color-success); }
}

View file

@ -45,7 +45,7 @@
</div>
</header>
<section class="container">
<section class="container-onecolumn">
<article class="container-typographic">
<h1 class="page-title">Nom de l'article :</h1>
@ -89,6 +89,43 @@
<p id="1">[1] : Sed et odio volutpat, convallis est et, interdum sapien.</p>
</article>
<div class="share-buttons align-right">
<a href="#" class="btn btn-facebook"><i class="fa fa-fw fa-facebook"></i></a>
<a href="#" class="btn btn-twitter"><i class="fa fa-fw fa-twitter"></i></a>
<a href="#" class="btn btn-googleplus"><i class="fa fa-fw fa-google-plus"></i></a>
<a href="#" class="btn btn-diaspora"><i class="fa fa-fw fa-diaspora"></i></a>
<a href="#" class="btn btn-mastodon"><i class="fa fa-fw fa-mastodon"></i></a>
<a href="#" class="btn btn-light"><i class="fa fa-fw fa-envelope"></i></a>
</div>
<section class="card card-noheader">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
</div>
</section>
<section class="commentaires">
<h1>Commentaires :</h1>
<article class="card comment">
<div class="author-area">
<img src="img/avatar.png" class="author-avatar" alt="...">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="" >Pseudo</a></div>
<small class="author-date">Le vendredi 19 septembre 2014 à 07:16</small>
</div>
</div>
<div class="card-body">
<p><em>Lorem ipsum dolor sit amet<sup><a href="#1">[1]</a></sup>, consectetur adipiscing elit. Praesent varius ullamcorper diam, non sagittis lectus rutrum id. Integer eros urna, egestas et libero a, finibus egestas odio. Nunc vel hendrerit quam, eget malesuada sem. Sed hendrerit ligula pharetra leo aliquam volutpat. Integer auctor urna ac convallis laoreet. Nunc vestibulum ipsum sed tortor aliquam porta. Cras nunc est, lobortis in est at, rhoncus auctor nunc. Sed dignissim erat non sollicitudin ultricies. Integer vel consectetur urna. Etiam fermentum ligula vitae nunc viverra, a fringilla sem aliquam. Suspendisse potenti. Morbi sem mi, malesuada quis odio vitae, suscipit congue metus. Sed ut ullamcorper urna, eget molestie est. Sed pulvinar justo ac urna consectetur fringilla. Donec tristique eget leo sit amet mollis.</em></p>
<p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. <mark>Sed posuere lectus eu orci tristique maximus</mark>. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p>
</div>
</article>
</section>
</section>