From 573a75833d1c0d0034d10f92862abd6b787cf6ec Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 25 Mar 2020 19:22:08 +0100 Subject: [PATCH] improvement(static): optimize static sites --- dist/admin/style.css | 73 +----------------- dist/apropos.html | 4 +- dist/img/kochon.gif | Bin 0 -> 266839 bytes dist/index.html | 2 +- dist/personnage.html | 72 ++++++------------ dist/style.css | 3 + gulpfile.js | 3 +- package-lock.json | 36 +++++++++ src/assets/img/kochon.gif | Bin 0 -> 266839 bytes src/scss/_drawing.scss | 4 + src/static/apropos.html | 4 +- src/static/basic.html | 20 ----- src/static/blog-article.html | 123 ------------------------------- src/static/blog-category.html | 49 ------------ src/static/blog.html | 56 -------------- src/static/color-test.html | 130 -------------------------------- src/static/crea-category.html | 70 ------------------ src/static/crea-ecrit.html | 115 ----------------------------- src/static/crea-image.html | 77 ------------------- src/static/crea.html | 65 ---------------- src/static/index.html | 2 +- src/static/personnage.html | 135 ---------------------------------- 22 files changed, 76 insertions(+), 967 deletions(-) create mode 100644 dist/img/kochon.gif create mode 100644 src/assets/img/kochon.gif delete mode 100644 src/static/basic.html delete mode 100644 src/static/blog-article.html delete mode 100644 src/static/blog-category.html delete mode 100644 src/static/blog.html delete mode 100644 src/static/color-test.html delete mode 100644 src/static/crea-category.html delete mode 100644 src/static/crea-ecrit.html delete mode 100644 src/static/crea-image.html delete mode 100644 src/static/crea.html delete mode 100644 src/static/personnage.html diff --git a/dist/admin/style.css b/dist/admin/style.css index 1330350..9d6be9a 100644 --- a/dist/admin/style.css +++ b/dist/admin/style.css @@ -1,72 +1 @@ -@charset "UTF-8"; -body { - background-color: #f8f9fa; - display: flex; - flex-direction: row; } - -#main-area { - flex: 1; - display: flex; - flex-direction: column; - min-height: 100vh; } - #main-area > .container { - flex: 1; } - -.admin-sidebar { - min-height: 100vh; - width: 300px; } - .admin-sidebar ul { - margin: 0; - padding: 0; - margin-bottom: 3rem; } - .admin-sidebar a { - padding: 1.5rem; - padding-top: 1rem; - padding-bottom: 1rem; - display: block; - color: white; } - .admin-sidebar a:hover { - background-color: rgba(255, 255, 255, 0.2); - text-decoration: none; } - .admin-sidebar a i.fa { - display: inline-block; - width: 1.5rem; } - -.card-connection { - margin: auto; - max-width: 360px; } - -.container-password { - flex: 1; - display: flex; - justify-content: center; - width: 100%; } - -/* Composant de la page d'accueil */ -.nav-link.nav-title { - border: 0; } - .nav-link.nav-title:hover { - border: 0; } - -.card-header .nav-tabs { - border-bottom: 0; } - -.card-stats tr:first-child td, .card-stats tr:first-child th { - border-top: 0; } - -.modifier-listelement-line { - display: flex; } - -/* Fonctionnalités globale : tableau dont la première ligne est fusionné à un card-header */ -tr.card-header td, tr.card-header th { - border: 0; } - -tr.card-tablebody td, tr.card-tablebody th { - /* on va plutôt gérer les border au niveau des tr pour éviter les soucis */ - border: 0; } - -tr.card-tablebody:not(:last-child) { - border-bottom: 1px solid #dee2e6; } - -.td-id { - font-weight: 700; } +body{background-color:#f8f9fa;display:flex;flex-direction:row}#main-area{flex:1;display:flex;flex-direction:column;min-height:100vh}#main-area>.container{flex:1}.admin-sidebar{min-height:100vh;width:300px}.admin-sidebar ul{margin:0;padding:0;margin-bottom:3rem}.admin-sidebar a{padding:1.5rem;padding-top:1rem;padding-bottom:1rem;display:block;color:white}.admin-sidebar a:hover{background-color:rgba(255,255,255,0.2);text-decoration:none}.admin-sidebar a i.fa{display:inline-block;width:1.5rem}.card-connection{margin:auto;max-width:360px}.container-password{flex:1;display:flex;justify-content:center;width:100%}.nav-link.nav-title{border:0}.nav-link.nav-title:hover{border:0}.card-header .nav-tabs{border-bottom:0}.card-stats tr:first-child td,.card-stats tr:first-child th{border-top:0}.modifier-listelement-line{display:flex}tr.card-header td,tr.card-header th{border:0}tr.card-tablebody td,tr.card-tablebody th{border:0}tr.card-tablebody:not(:last-child){border-bottom:1px solid #dee2e6}.td-id{font-weight:700} diff --git a/dist/apropos.html b/dist/apropos.html index 4a3a5ce..e8ff26b 100644 --- a/dist/apropos.html +++ b/dist/apropos.html @@ -3,7 +3,7 @@ - Blue Sky, by Kazhnuz + Kazhnuz Space - À Propos @@ -106,7 +106,7 @@ - + - Une armée de cochon regarde de manière menaçante. + Une armée de cochon regarde de manière menaçante. - Une armée de cochon regarde de manière menaçante. + Une armée de cochon regarde de manière menaçante.