monitoring-jekyll-theme 0.3.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98517cd09ffe603ca25610d44008bf604bc600565d8a8a395992ed2422b673c3
4
- data.tar.gz: c611b05083286283e59273ec9d1540c24c246cd5ef31e289f94a526a5b7404ac
3
+ metadata.gz: 60e2fd234be392f665f947ae7ae0799603d6b79972c7b14f238c33412793b04e
4
+ data.tar.gz: 515ad49f276c0635d172ab952f118e0407e70b8a68385d7d0347e091c9e9610e
5
5
  SHA512:
6
- metadata.gz: 5443a809cefc8cf632030ed42dcf1c4a009c0665dc2e4c5c3a8cfcb278bbcc5705d015704fea0a39b967416388efe559ac84020c8c7ace04d3edd2a15b8c48be
7
- data.tar.gz: 9157c59f04cf3275d7b88a8e9531486da170d3834eaae4396a92454be9d68fa5d4ec50d224252d9bd29fb1651a80dd930017009a8d9ad317a3587783e9ad72e5
6
+ metadata.gz: 805a7907ef5cbd0e130c2b40e7a3736195a39702109d7b20cea0688d07ab3250b17cd7bf05b24aaee83e5a77259aab7112db9649c08c3784db43f5e53ba45afe
7
+ data.tar.gz: e16aad467d4e06c3b43e5da14a7a3ed3b58b979c1a6a4621f8716ddcc093f5684612f2ed7c637fd83c70f612a6a46a62fc2aa2383ed61e0fe52ef617a8c2ee66
data/README.md CHANGED
@@ -15,8 +15,7 @@
15
15
  - <https://codepen.io/pbakaus/pen/OJLNNvm>
16
16
  - <https://www.npmjs.com/package/google>
17
17
  - <https://raphaelfabeni.com/ui-interactions/>
18
- - https://www.ekopedia.fr/wiki/H%C3%A9bergement_Internet
19
-
18
+ - <https://www.ekopedia.fr/wiki/H%C3%A9bergement_Internet>
20
19
 
21
20
  ## Annuaires Immobilier
22
21
 
@@ -43,6 +42,8 @@ replace \\/ => / seocli
43
42
  - <https://moz.com/free-seo-tools>
44
43
  - <https://developers.google.com/webmaster-tools/search-console-api-original/v3/searchanalytics/query>
45
44
  - <https://ahrefs.com/fr/website-authority-checker>
45
+ - <https://web.dev/measure>
46
+ - https://www.thinkwithgoogle.com/intl/fr-fr/feature/testmysite/
46
47
 
47
48
  ## Ressources
48
49
 
@@ -274,7 +274,7 @@
274
274
  </div>
275
275
  <div class="box score">
276
276
  <span class="title">TTI</span>
277
- <span class="number">{{ yellowlabtools.toolsResults.phantomas.metrics.domContentLoadedEnd | round }}</span>
277
+ <span class="number">{{ yellowlabtools.toolsResults.phantomas.metrics.domContentLoadedEnd | round }}</span>
278
278
  <i>ms</i>
279
279
  {% if forloop.index != 1 %}<span
280
280
  class="score-difference{% if timeToFirstByte > yellowlabtools.toolsResults.phantomas.metrics.domContentLoadedEnd %} score-down{% endif %}{% if timeToFirstByte < yellowlabtools.toolsResults.phantomas.metrics.domContentLoadedEnd %} score-up{% endif %}"></span>{% endif %}
@@ -283,6 +283,45 @@ a {
283
283
  font-variant-numeric: tabular-nums;
284
284
  }
285
285
 
286
+ .list-stats {
287
+ display: flex;
288
+ flex-direction: column-reverse;
289
+ }
290
+
291
+ .list-rank {
292
+ margin: 2em auto;
293
+ padding: 1em 3em 2em;
294
+ max-width: 30rem;
295
+ background: #fff;
296
+ }
297
+
298
+ .list-rank ul {
299
+ display: flex;
300
+ flex-direction: column-reverse;
301
+ margin: auto;
302
+ padding: 0;
303
+ list-style: none;
304
+ border-top: 1px solid #ccc;
305
+ }
306
+
307
+ .list-rank li {
308
+ display: flex;
309
+ align-items: center;
310
+ justify-content: space-between;
311
+ padding: 0.25em 0.25em;
312
+ list-style: none;
313
+ border-bottom: 1px solid #ccc;
314
+ }
315
+
316
+ .list-rank b {
317
+ padding: 0.25em 0.4em;
318
+ font-family: optiker;
319
+ font-size: 1.3rem;
320
+ color: #fefefe;
321
+ border-radius: 50%;
322
+ background: #333;
323
+ }
324
+
286
325
  .grid:not(:nth-last-child(-n+3)) ul li {
287
326
  padding: 0.3em 0 0.3em 1em;
288
327
  max-width: 95%;
@@ -790,28 +829,47 @@ a {
790
829
 
791
830
  .progress {
792
831
  display: grid;
793
- grid-template-columns: 20% 1fr;
794
832
  align-items: stretch;
795
833
  margin: 0;
796
834
  padding: 1rem 1.5rem;
797
835
  background: #fff;
798
836
  }
799
837
 
800
- .progress ~ .progress {
838
+ @media screen and (min-width: 1024px) {
839
+ grid-template-columns: 20% 1fr;
840
+ }
841
+
842
+ .progress + .progress {
801
843
  padding-top: 0;
802
844
  }
803
845
 
846
+ .progress ul {
847
+ display: flex;
848
+ flex-wrap: wrap;
849
+ justify-content: space-around;
850
+ width: 90%;
851
+ margin: auto;
852
+ padding: 0;
853
+ }
854
+ .progress li {
855
+ min-width: 8rem;
856
+ list-style: none;
857
+ }
858
+
804
859
  .progress > * {
805
860
  display: flex;
806
861
  align-items: center;
807
862
  margin: 0;
808
863
  padding: 1em 0;
809
864
  max-width: 100%;
810
- min-height: 7em;
811
865
  border: 1px solid rgba(0, 0, 0, 0.3);
812
866
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
813
867
  }
814
868
 
869
+ .progress > *:not(:first-child) {
870
+ min-height: 7em;
871
+ }
872
+
815
873
  .progress > div:first-child {
816
874
  display: flex;
817
875
  align-items: center;
@@ -830,6 +888,26 @@ a {
830
888
  word-break: break-all;
831
889
  }
832
890
 
891
+ /*-------------------------
892
+ NUMBER PROGRESS
893
+ -------------------------*/
894
+
895
+ .progress.progress-number li {
896
+ text-align: center;
897
+ font-weight: bold;
898
+ font-family: Optiker;
899
+ }
900
+
901
+ .progress.progress-number li b {
902
+ font-size: 2rem;
903
+ }
904
+
905
+ @media screen and (min-width: 1024px) {
906
+ .progress.progress-number li b {
907
+ font-size: 4rem;
908
+ }
909
+ }
910
+
833
911
  /*-------------------------
834
912
  CIRCULAR PROGRESS BAR
835
913
  -------------------------*/
@@ -856,6 +934,7 @@ a {
856
934
  height: 100%;
857
935
  font-weight: 100;
858
936
  text-align: center;
937
+ margin-bottom: 4.5em;
859
938
  }
860
939
 
861
940
  .progress-circular ul > li:before {
@@ -887,7 +966,7 @@ a {
887
966
 
888
967
  .progress-circular svg {
889
968
  width: 100%;
890
- height: 7em;
969
+ height: 10em;
891
970
  }
892
971
 
893
972
  .progress-circular svg:nth-child(2) {
@@ -927,17 +1006,31 @@ a {
927
1006
  background: linear-gradient(90deg, rgba(34, 150, 30, 1) 0%, rgba(48, 212, 42, 1) 20%, rgba(214, 129, 0, 1) 70%, rgba(176, 2, 2, 1) 100%);
928
1007
  }
929
1008
 
1009
+ .progress-bar-element::before {
1010
+ position: absolute;
1011
+ content: '';
1012
+ top: -1px;
1013
+ left: -10%;
1014
+ width: 100%;
1015
+ width: 120%;
1016
+ height: 1em;
1017
+ border-top: 1px solid #ccc;
1018
+ border-bottom: 1px solid #ccc;
1019
+ }
1020
+
930
1021
  .progress-bar-score, .progress-bar-tooltip {
931
1022
  position: absolute;
932
1023
  padding: 0 1em;
933
1024
  min-width: 1em;
934
- line-height: 2;
1025
+ line-height: 1.3;
935
1026
  transform: translate(-50%, -50%);
1027
+ font-size: 1.3em;
1028
+ font-family: optiker;
936
1029
  text-align: center;
937
1030
  }
938
1031
 
939
1032
  .progress-bar-score:first-child, .progress-bar-score:last-child {
940
- top: -110%;
1033
+ top: -45%;
941
1034
  right: calc(100% + 2em);
942
1035
  height: 2em;
943
1036
  text-align: left;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bertrandkeller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2019-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll